From ff067f9a7a126afc9c39731df8d0510499aa500b Mon Sep 17 00:00:00 2001 From: David Tran Date: Wed, 7 Jan 2026 15:05:49 +0700 Subject: [PATCH 001/168] apply Viindoo standard manifest --- .../default/__manifest__.py.template | 92 +++++++++++++++++-- 1 file changed, 86 insertions(+), 6 deletions(-) diff --git a/odoo/cli/templates/default/__manifest__.py.template b/odoo/cli/templates/default/__manifest__.py.template index a6e2f3b06a6cfa..93a006cf698619 100644 --- a/odoo/cli/templates/default/__manifest__.py.template +++ b/odoo/cli/templates/default/__manifest__.py.template @@ -1,20 +1,76 @@ { 'name': "{{ name }}", + 'name_vi_VN': "{{ name }}", - 'summary': "Short (1 phrase/line) summary of the module's purpose", + 'summary': """Short (1 phrase/line) summary of the module's purpose, used as subtitle and meta description for listing on https://viindoo.com/apps""", + 'summary_vi_VN': """Mô tả ngắn gọn bằng tiếng Việt (1 câu, 1 dòng) về mục đích của module, được sử dụng là tiêu đề phụ và meta description ở https://viindoo.com/apps""", 'description': """ +What it does +============ Long description of module's purpose + +Key Features +============ +#. Feature 1 + + * Sub-Feature 1 + * Sub-Feature 2 + + * Sub-sub-feature 1 + * Sub-sub-feature 2 + +#. Feature 2 + + * Sub-Feature 1 + * Sub-Feature 2 + +Editions Supported +================== +1. Community Edition +2. Enterprise Edition + """, + 'description_vi_VN': """ +Ứng dụng này làm gì +=================== +Mô tả chi tiết về module + +Tính năng chính +=============== +#. Tính năng 1 + + * Tính năng Phụ 1 + * Tính năng Phụ 2 + + * Tính năng Phụ Chi tiết 1 + * Tính năng Phụ Chi tiết 2 - 'author': "My Company", - 'website': "https://www.yourcompany.com", +#. Tính năng 2 + + * Tính năng Phụ 1 + * Tính năng Phụ 2 + +Ấn bản được Hỗ trợ +================== +1. Ấn bản Community +2. Ấn bản Enterprise + + """, + + 'author': "Viindoo", + 'website': "https://viindoo.com/apps/app/19.0/{{ name }}", + 'live_test_url': "https://v19demo-int.viindoo.com", + 'live_test_url_vi_VN': "https://v19demo-vn.viindoo.com", + # 'demo_video_url': "https://www.youtube.com/watch?v=xa8pxRnZpWs", + # 'demo_video_url_vi_VN': "https://www.youtube.com/watch?v=xa8pxRnZpWs", + 'support': "apps.support@viindoo.com", # Categories can be used to filter modules in modules listing - # Check https://github.com/odoo/odoo/blob/15.0/odoo/addons/base/data/ir_module_category_data.xml + # Check https://github.com/odoo/odoo/blob/19.0/odoo/addons/base/data/ir_module_category_data.xml # for the full list 'category': 'Uncategorized', - 'version': '0.1', + 'version': '0.1.0', # any module necessary for this one to work correctly 'depends': ['base'], @@ -29,5 +85,29 @@ Long description of module's purpose 'demo': [ 'demo/demo.xml', ], -} + 'images': [ + # 'static/description/main_screenshot.png', + # 'static/description/another_screenshot_1.png', + # 'static/description/another_screenshot_2.png', + ], + + # The list of IDs of the project tasks in Viindoo Company's database that require + # this module development. + 'task_ids': [ + # 1292, 1294, + ], + + 'installable': True, + # If this module is a bridge module that integrates 2 or more other modules, + # auto_install must be set to True. + # In case this module is a module that provides additional functions / features, + # it should be activated via a setting directive of the main application related + # to these new functions / features. + 'auto_install': False, + # 99.9 EURO is a good start for an application while bridge modules should be free of charge + # as we usually have pricing for the others that are bridged by this module. + 'price': 99.9, + 'currency': 'EUR', + 'license': 'OPL-1', +} From a34fd432335bd1d90d81dd813b7b544d3d03bd54 Mon Sep 17 00:00:00 2001 From: Viinbot <68988903+viinbot@users.noreply.github.com> Date: Fri, 27 Feb 2026 13:51:43 +0700 Subject: [PATCH 002/168] [I18N] account*: fix i18n (#1198) * [I18N] account*: fix i18n Forward-Port-Of: #1196 * Update vi.po --------- Co-authored-by: quyen Co-authored-by: Roy Le <43790414+royle-vietnam@users.noreply.github.com> --- addons/account/i18n/vi.po | 4 ++-- addons/stock_account/i18n/vi.po | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/account/i18n/vi.po b/addons/account/i18n/vi.po index 434464df27352b..f86ff3f6890151 100644 --- a/addons/account/i18n/vi.po +++ b/addons/account/i18n/vi.po @@ -2945,7 +2945,7 @@ msgstr "Kế toán" #: model_terms:ir.ui.view,arch_db:account.view_invoice_tree #: model_terms:ir.ui.view,arch_db:account.view_move_form msgid "Accounting Date" -msgstr "Ngày hạch toán" +msgstr "Ngày kế toán" #. module: account #: model_terms:ir.ui.view,arch_db:account.res_config_settings_view_form @@ -15143,7 +15143,7 @@ msgstr "" #. module: account #: model:ir.model.fields.selection,name:account.selection__account_resequence_wizard__ordering__date msgid "Reorder by accounting date" -msgstr "Sắp xếp lại theo ngày hạch toán" +msgstr "Sắp xếp lại theo ngày kế toán" #. module: account #: model:ir.model.fields,field_description:account.field_account_tax__repartition_lines_str diff --git a/addons/stock_account/i18n/vi.po b/addons/stock_account/i18n/vi.po index 9faeddbb95ca65..5b591f8d08065d 100644 --- a/addons/stock_account/i18n/vi.po +++ b/addons/stock_account/i18n/vi.po @@ -85,7 +85,7 @@ msgstr "Mẫu sơ đồ tài khoản" #: model:ir.model.fields,field_description:stock_account.field_stock_inventory_adjustment_name__accounting_date #: model:ir.model.fields,field_description:stock_account.field_stock_quant__accounting_date msgid "Accounting Date" -msgstr "Ngày hạch toán" +msgstr "Ngày kế toán" #. module: stock_account #: model_terms:ir.ui.view,arch_db:stock_account.view_location_form_inherit From 101541db0b67521d03e94080d37ae75e2678499a Mon Sep 17 00:00:00 2001 From: David Tran Date: Thu, 12 Mar 2026 10:28:28 +0700 Subject: [PATCH 003/168] [FIX] stock: 'stock.move.line' object has no attribute 'outermost_result_package_id' --- addons/stock/tests/test_packing.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/stock/tests/test_packing.py b/addons/stock/tests/test_packing.py index d046153ce08d6f..067ba25a4d11ff 100644 --- a/addons/stock/tests/test_packing.py +++ b/addons/stock/tests/test_packing.py @@ -2064,8 +2064,6 @@ def test_package_shipping_weight(self): self.assertEqual(delivery.move_line_ids.result_package_id, pallet | box) self.assertEqual(delivery2.move_line_ids.result_package_id, box2) - self.assertEqual(delivery.move_line_ids.outermost_result_package_id, pallet) - self.assertEqual(delivery2.move_line_ids.outermost_result_package_id, pallet2) self.assertEqual(delivery.shipping_weight, 31) self.assertEqual(delivery2.shipping_weight, 17) From 0b4f598b33b6001107a036294e4b2e201413fa1b Mon Sep 17 00:00:00 2001 From: David Tran Date: Thu, 16 Apr 2026 22:04:23 +0700 Subject: [PATCH 004/168] [I18N] *: correct translations --- addons/account/i18n/vi.po | 86 +++++++++---------- addons/account_fleet/i18n/vi.po | 2 +- addons/account_update_tax_tags/i18n/vi.po | 2 +- addons/hr_expense/i18n/vi.po | 2 +- addons/mrp_account/i18n/vi.po | 2 +- addons/mrp_subcontracting_purchase/i18n/vi.po | 2 +- addons/point_of_sale/i18n/vi.po | 6 +- addons/project_sale_expense/i18n/vi.po | 2 +- addons/purchase/i18n/vi.po | 2 +- addons/purchase_mrp/i18n/vi.po | 2 +- addons/purchase_stock/i18n/vi.po | 2 +- addons/sale/i18n/vi.po | 2 +- addons/sale_expense/i18n/vi.po | 2 +- addons/sale_expense_margin/i18n/vi.po | 2 +- addons/sale_mrp/i18n/vi.po | 2 +- addons/sale_project/i18n/vi.po | 2 +- addons/sale_stock/i18n/vi.po | 2 +- addons/sale_timesheet/i18n/vi.po | 2 +- addons/stock_account/i18n/vi.po | 6 +- addons/stock_landed_costs/i18n/vi.po | 2 +- odoo/addons/base/i18n/vi.po | 2 +- 21 files changed, 67 insertions(+), 67 deletions(-) diff --git a/addons/account/i18n/vi.po b/addons/account/i18n/vi.po index f86ff3f6890151..9eb42cc8b7314c 100644 --- a/addons/account/i18n/vi.po +++ b/addons/account/i18n/vi.po @@ -2332,7 +2332,7 @@ msgid "" "A journal entry consists of several journal items, each of\n" " which is either a debit or a credit transaction." msgstr "" -"Một bút toán chứa một số hạng mục bút toán, mỗi hạng mục\n" +"Một bút toán chứa một số phát sinh kế toán, mỗi hạng mục\n" " có thể là một giao dịch phát sinh nợ hoặc phát sinh có." #. module: account @@ -3944,7 +3944,7 @@ msgstr "" msgid "" "Any journal item on a payable account must have a due date and vice versa." msgstr "" -"Bất kỳ hạng mục bút toán nào trên khoản phải trả đều phải có ngày đến hạn " +"Bất kỳ phát sinh kế toán nào trên khoản phải trả đều phải có ngày đến hạn " "thanh toán và ngược lại." #. module: account @@ -3953,7 +3953,7 @@ msgstr "" msgid "" "Any journal item on a receivable account must have a due date and vice versa." msgstr "" -"Bất kỳ hạng mục bút toán nào trên khoản phải thu đều phải có ngày đến hạn " +"Bất kỳ phát sinh kế toán nào trên khoản phải thu đều phải có ngày đến hạn " "thanh toán và ngược lại." #. module: account @@ -5442,7 +5442,7 @@ msgid "" "journal items." msgstr "" "Chọn ô này nếu tài khoản này cho phép đối chiếu các hoá đơn và khoản thanh " -"toán với hạng mục bút toán." +"toán với phát sinh kế toán." #. module: account #: model:ir.model.fields,help:account.field_account_journal__refund_sequence @@ -6499,7 +6499,7 @@ msgstr "Thẻ" #. module: account #: model:ir.model.fields,help:account.field_account_move_line__matched_credit_ids msgid "Credit journal items that are matched with this journal item." -msgstr "Bút toán ghi có có khớp với hạng mục bút toán này." +msgstr "Bút toán ghi có có khớp với phát sinh kế toán này." #. module: account #: model:ir.model.fields,help:account.field_res_partner__credit_limit @@ -6588,12 +6588,12 @@ msgstr "Tiền tệ phải luôn được cung cấp để tạo mã QR" #. module: account #: model:ir.model.fields,field_description:account.field_account_partial_reconcile__credit_currency_id msgid "Currency of the credit journal item." -msgstr "Tiền tệ của hạng mục bút toán ghi có." +msgstr "Tiền tệ của phát sinh kế toán ghi có." #. module: account #: model:ir.model.fields,field_description:account.field_account_partial_reconcile__debit_currency_id msgid "Currency of the debit journal item." -msgstr "Tiền tệ của hạng mục bút toán ghi nợ." +msgstr "Tiền tệ của phát sinh kế toán ghi nợ." #. module: account #: model:ir.model.fields,help:account.field_account_bank_statement_line__invoice_currency_rate @@ -6976,7 +6976,7 @@ msgstr "Bút toán ghi nợ" #. module: account #: model:ir.model.fields,help:account.field_account_move_line__matched_debit_ids msgid "Debit journal items that are matched with this journal item." -msgstr "Hạng mục bút toán ghi nợ khớp với hạng mục bút toán này." +msgstr "Phát sinh kế toán ghi nợ khớp với phát sinh kế toán này." #. module: account #: model:ir.model.fields.selection,name:account.selection__res_company__fiscalyear_last_month__12 @@ -8241,7 +8241,7 @@ msgstr "Cho phép sử dụng hạn mức tín dụng đối với đối tác." #: model:ir.model.fields,help:account.field_res_config_settings__restrictive_audit_trail msgid "Enable this option to prevent deletion of journal item related logs" msgstr "" -"Bật tùy chọn này để ngăn việc xóa các nhật ký liên quan đến hạng mục bút toán" +"Bật tùy chọn này để ngăn việc xóa các nhật ký liên quan đến phát sinh kế toán" #. module: account #: model:ir.model.fields.selection,name:account.selection__account_report__filter_hide_0_lines__by_default @@ -9032,7 +9032,7 @@ msgid "" "Forces all journal items in this account to have a specific currency (i.e. " "bank journals). If no currency is set, entries can use any currency." msgstr "" -"Buộc tất cả hạng mục bút toán trong tài khoản này phải có một loại tiền tệ " +"Buộc tất cả phát sinh kế toán trong tài khoản này phải có một loại tiền tệ " "cụ thể (ví dụ: sổ nhật ký ngân hàng). Nếu không có loại tiền tệ nào được cài " "đặt, các bút toán có thể sử dụng bất kỳ loại tiền tệ nào." @@ -9787,7 +9787,7 @@ msgid "" "If activated, user-defined filters on journal items can be selected on this " "report" msgstr "" -"Nếu được kích hoạt, những bộ lọc người dùng tạo trên các hạng mục bút toán " +"Nếu được kích hoạt, những bộ lọc người dùng tạo trên các phát sinh kế toán " "có thể được chọn trên báo cáo này" #. module: account @@ -10057,7 +10057,7 @@ msgstr "Nhập mẫu cho hóa đơn" #. odoo-python #: code:addons/account/models/account_move_line.py:0 msgid "Import Template for Journal Items" -msgstr "Nhập mẫu hạng mục bút toán" +msgstr "Nhập mẫu phát sinh kế toán" #. module: account #. odoo-python @@ -10283,7 +10283,7 @@ msgstr "" #. module: account #: model:ir.model.fields,help:account.field_account_move_line__tax_line_id msgid "Indicates that this journal item is a tax line" -msgstr "Cho biết hạng mục bút toán này là một dòng thuế" +msgstr "Cho biết phát sinh kế toán này là một dòng thuế" #. module: account #. odoo-javascript @@ -11199,30 +11199,30 @@ msgstr "Thông tin bút toán" #: model_terms:ir.ui.view,arch_db:account.view_account_move_line_payment_filter #: model_terms:ir.ui.view,arch_db:account.view_move_line_form msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: account #. odoo-python #: code:addons/account/models/account_move_line.py:0 msgid "Journal Item %s created" -msgstr "Hạng mục bút toán %s đã được tạo" +msgstr "Phát sinh kế toán %s đã được tạo" #. module: account #. odoo-python #: code:addons/account/models/account_move_line.py:0 msgid "Journal Item %s deleted" -msgstr "Hạng mục bút toán %s đã bị xoá" +msgstr "Phát sinh kế toán %s đã bị xoá" #. module: account #. odoo-python #: code:addons/account/models/account_move_line.py:0 msgid "Journal Item %s updated" -msgstr "Hạng mục bút toán %s đã được cập nhật" +msgstr "Phát sinh kế toán %s đã được cập nhật" #. module: account #: model:ir.model.fields,field_description:account.field_account_payment_register__writeoff_label msgid "Journal Item Label" -msgstr "Nhãn hạng mục bút toán" +msgstr "Nhãn phát sinh kế toán" #. module: account #. odoo-python @@ -11240,13 +11240,13 @@ msgstr "Nhãn hạng mục bút toán" #: model_terms:ir.ui.view,arch_db:account.view_move_line_pivot #: model_terms:ir.ui.view,arch_db:account.view_move_line_tree msgid "Journal Items" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: account #: model:ir.model.fields,field_description:account.field_account_bank_statement_line__journal_line_ids #: model:ir.model.fields,field_description:account.field_account_move__journal_line_ids msgid "Journal Items (DEPRECATED)" -msgstr "Hạng mục bút toán (NGỪNG SỬ DỤNG)" +msgstr "Phát sinh kế toán (NGỪNG SỬ DỤNG)" #. module: account #: model:ir.model.fields,field_description:account.field_account_journal__name @@ -11272,12 +11272,12 @@ msgstr "Mã sổ nhật ký trong mỗi công ty phải là duy nhất." #. module: account #: model:ir.model.fields,field_description:account.field_account_payment_register__line_ids msgid "Journal items" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: account #: model_terms:ir.ui.view,arch_db:account.view_account_move_line_filter msgid "Journal items where matching number isn't set" -msgstr "Hạng mục bút toán không có số đối chiếu" +msgstr "Phát sinh kế toán không có số đối chiếu" #. module: account #: model_terms:ir.ui.view,arch_db:account.view_account_move_line_filter @@ -12103,7 +12103,7 @@ msgstr "Khoản nợ đã khớp" #: model:ir.model.fields,field_description:account.field_account_full_reconcile__reconciled_line_ids #: model_terms:ir.ui.view,arch_db:account.view_full_reconcile_form msgid "Matched Journal Items" -msgstr "Hạng mục bút toán đã khớp" +msgstr "Phát sinh kế toán đã khớp" #. module: account #: model:ir.model.fields,field_description:account.field_account_bank_statement_line__matched_payment_ids @@ -14307,7 +14307,7 @@ msgstr "Bút toán đã vào sổ" #: model_terms:ir.ui.view,arch_db:account.view_account_move_line_filter #: model_terms:ir.ui.view,arch_db:account.view_account_move_line_payment_filter msgid "Posted Journal Items" -msgstr "Hạng mục bút toán đã vào sổ" +msgstr "Phát sinh kế toán đã vào sổ" #. module: account #: model:ir.model.fields,field_description:account.field_account_tax_group__preceding_subtotal @@ -15744,7 +15744,7 @@ msgstr "Tìm kiếm hóa đơn" #: model_terms:ir.ui.view,arch_db:account.view_account_move_line_filter #: model_terms:ir.ui.view,arch_db:account.view_account_move_line_payment_filter msgid "Search Journal Items" -msgstr "Tìm kiếm hạng mục bút toán" +msgstr "Tìm kiếm phát sinh kế toán" #. module: account #: model_terms:ir.ui.view,arch_db:account.view_account_move_filter @@ -16833,7 +16833,7 @@ msgstr "" msgid "" "Tags to be set on the base and tax journal items created for this product." msgstr "" -"Thẻ được thiết lập trên các hạng mục bút toán thuế và cơ sở được tạo cho sản " +"Thẻ được thiết lập trên các phát sinh kế toán thuế và cơ sở được tạo cho sản " "phẩm này." #. module: account @@ -17339,7 +17339,7 @@ msgid "" "item if they share some tag." msgstr "" "Không thể trộn lẫn các khoản thuế có hiệu lực trong thanh toán và hóa đơn " -"trên cùng một hạng mục bút toán nếu chúng có chung thẻ." +"trên cùng một phát sinh kế toán nếu chúng có chung thẻ." #. module: account #: model:ir.model.fields,field_description:account.field_res_company__display_invoice_tax_company_currency @@ -18172,7 +18172,7 @@ msgstr "Sổ để tải hóa đơn lên chưađược chỉ định. " #: code:addons/account/models/account_analytic_line.py:0 msgid "The journal item is not linked to the correct financial account" msgstr "" -"Hạng mục bút toán này không được liên kết với tài khoản tài chính chính xác" +"Phát sinh kế toán này không được liên kết với tài khoản tài chính chính xác" #. module: account #: model:ir.model.fields,help:account.field_account_financial_year_op__fiscalyear_last_day @@ -18255,7 +18255,7 @@ msgstr "Số tiền thanh toán không thể là số âm." #: model:ir.model.fields,help:account.field_account_bank_statement_line__payment_reference #: model:ir.model.fields,help:account.field_account_move__payment_reference msgid "The payment reference to set on journal items." -msgstr "Thông tin thanh toán hiển thị trên hạng mục bút toán." +msgstr "Thông tin thanh toán hiển thị trên phát sinh kế toán." #. module: account #: model:ir.model.fields,help:account.field_account_move_line__payment_id @@ -18358,7 +18358,7 @@ msgid "" "The residual amount on a journal item expressed in its currency (possibly " "not the company currency)." msgstr "" -"Số tiền còn lại trên hạng mục bút toán được biểu thị bằng loại tiền tệ của " +"Số tiền còn lại trên phát sinh kế toán được biểu thị bằng loại tiền tệ của " "nó (có thể không phải là tiền tệ của công ty)." #. module: account @@ -18366,7 +18366,7 @@ msgstr "" msgid "" "The residual amount on a journal item expressed in the company currency." msgstr "" -"Số tiền còn lại trên hạng mục bút toán được biểu thị bằng loại tiền tệ của " +"Số tiền còn lại trên phát sinh kế toán được biểu thị bằng loại tiền tệ của " "công ty." #. module: account @@ -18612,7 +18612,7 @@ msgstr "" #: code:addons/account/models/account_move.py:0 #: code:addons/account/wizard/account_validate_account_move.py:0 msgid "There are no journal items in the draft state to post." -msgstr "Không có hạng mục bút toán nào ở trạng thái nháp để vào sổ." +msgstr "Không có phát sinh kế toán nào ở trạng thái nháp để vào sổ." #. module: account #. odoo-python @@ -18730,7 +18730,7 @@ msgid "" "registration is necessary. You've got your finances under control like a " "boss!" msgstr "" -"Không còn khoản nào cần thanh toán cho các hạng mục bút toán đã chọn, nên " +"Không còn khoản nào cần thanh toán cho các phát sinh kế toán đã chọn, nên " "không cần ghi nhận thanh toán. Bạn đang kiểm soát nguồn tài chính của mình " "như một chuyên gia thực thụ!" @@ -18825,7 +18825,7 @@ msgstr "Chỉ có thể sử dụng trên tài khoản." #. odoo-python #: code:addons/account/wizard/account_automatic_entry_wizard.py:0 msgid "This can only be used on journal items" -msgstr "Chỉ có thể sử dụng cho hạng mục bút toán" +msgstr "Chỉ có thể sử dụng cho phát sinh kế toán" #. module: account #. odoo-python @@ -19060,7 +19060,7 @@ msgid "" "Those can be used to quickly create a journal items when reconciling\n" " a bank statement or an account." msgstr "" -"Tính năng này được dùng để tạo nhanh các hạng mục bút toán khi đối chiếu\n" +"Tính năng này được dùng để tạo nhanh các phát sinh kế toán khi đối chiếu\n" " một sao kê ngân hàng hoặc một tài khoản." #. module: account @@ -19408,7 +19408,7 @@ msgstr "Ngày luân chuyển" #. module: account #: model:ir.actions.act_window,name:account.account_automatic_entry_wizard_action msgid "Transfer Journal Items" -msgstr "Chuyển hạng mục bút toán" +msgstr "Chuyển phát sinh kế toán" #. module: account #. odoo-python @@ -19642,7 +19642,7 @@ msgstr "Bút toán chưa vào sổ" #. module: account #: model_terms:ir.ui.view,arch_db:account.view_account_move_line_filter msgid "Unposted Journal Items" -msgstr "Hạng mục bút toán chưa vào sổ" +msgstr "Phát sinh kế toán chưa vào sổ" #. module: account #. odoo-javascript @@ -20571,7 +20571,7 @@ msgid "" "You can't change the company of your tax since there are some journal items " "linked to it." msgstr "" -"Bạn không thể thay đổi công ty của thuế vì có một số hạng mục bút toán được " +"Bạn không thể thay đổi công ty của thuế vì có một số phát sinh kế toán được " "liên kết với nó." #. module: account @@ -20620,8 +20620,8 @@ msgid "" "You can't delete a posted journal item. Don’t play games with your " "accounting records; reset the journal entry to draft before deleting it." msgstr "" -"Bạn không thể xóa một hạng mục bút toán đã ghi sổ. Hãy cẩn thận với hồ sơ kế " -"toán; đặt lại hạng mục bút toán thành nháp trước khi xóa nó." +"Bạn không thể xóa một phát sinh kế toán đã ghi sổ. Hãy cẩn thận với hồ sơ kế " +"toán; đặt lại phát sinh kế toán thành nháp trước khi xóa nó." #. module: account #. odoo-python @@ -20727,7 +20727,7 @@ msgid "" "You cannot change the currency of the company since some journal items " "already exist" msgstr "" -"Bạn không thể thay đổi tiền tệ của công ty vì một số hạng mục bút toán đã " +"Bạn không thể thay đổi tiền tệ của công ty vì một số phát sinh kế toán đã " "tồn tại" #. module: account @@ -20977,7 +20977,7 @@ msgid "" "You cannot modify the taxes related to a posted journal item, you should " "reset the journal entry to draft to do so." msgstr "" -"Bạn không thể sửa đổi các loại thuế liên quan đến một hạng mục bút toán đã " +"Bạn không thể sửa đổi các loại thuế liên quan đến một phát sinh kế toán đã " "vào sổ, bạn nên cài lại bút toán về nháp rồi chỉnh sửa." #. module: account @@ -20986,7 +20986,7 @@ msgstr "" msgid "" "You cannot perform this action on an account that contains journal items." msgstr "" -"Bạn không thể thực hiện thao tác này trên một tài khoản có hạng mục bút toán." +"Bạn không thể thực hiện thao tác này trên một tài khoản có phát sinh kế toán." #. module: account #. odoo-python diff --git a/addons/account_fleet/i18n/vi.po b/addons/account_fleet/i18n/vi.po index ac5eb7eb681b23..14d8d78eb4e76e 100644 --- a/addons/account_fleet/i18n/vi.po +++ b/addons/account_fleet/i18n/vi.po @@ -101,7 +101,7 @@ msgstr "Bút toán" #. module: account_fleet #: model:ir.model,name:account_fleet.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: account_fleet #: model:ir.model.fields,field_description:account_fleet.field_account_move_line__need_vehicle diff --git a/addons/account_update_tax_tags/i18n/vi.po b/addons/account_update_tax_tags/i18n/vi.po index f2263ff53defba..9d2185e28c3d52 100644 --- a/addons/account_update_tax_tags/i18n/vi.po +++ b/addons/account_update_tax_tags/i18n/vi.po @@ -37,7 +37,7 @@ msgstr "Được tạo vào" #. module: account_update_tax_tags #: model:ir.model.fields,help:account_update_tax_tags.field_account_update_tax_tags_wizard__date_from msgid "Date from which journal items will be updated." -msgstr "Ngày mà các hạng mục bút toán sẽ được cập nhật." +msgstr "Ngày mà các phát sinh kế toán sẽ được cập nhật." #. module: account_update_tax_tags #: model_terms:ir.ui.view,arch_db:account_update_tax_tags.view_account_update_tax_tags_wizard_form diff --git a/addons/hr_expense/i18n/vi.po b/addons/hr_expense/i18n/vi.po index 611e480872d606..d90596bdef1cd8 100644 --- a/addons/hr_expense/i18n/vi.po +++ b/addons/hr_expense/i18n/vi.po @@ -1078,7 +1078,7 @@ msgstr "Đặt lại bút toán thành nháp" #. module: hr_expense #: model:ir.model,name:hr_expense.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: hr_expense #. odoo-python diff --git a/addons/mrp_account/i18n/vi.po b/addons/mrp_account/i18n/vi.po index 2e7f8f7c3a64e0..f91cf05e9bc30f 100644 --- a/addons/mrp_account/i18n/vi.po +++ b/addons/mrp_account/i18n/vi.po @@ -299,7 +299,7 @@ msgstr "Bút toán" #. module: mrp_account #: model:ir.model,name:mrp_account.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: mrp_account #: model:ir.model.fields,field_description:mrp_account.field_mrp_account_wip_accounting_line__label diff --git a/addons/mrp_subcontracting_purchase/i18n/vi.po b/addons/mrp_subcontracting_purchase/i18n/vi.po index 5ab49350e262c7..db83a8e8c317af 100644 --- a/addons/mrp_subcontracting_purchase/i18n/vi.po +++ b/addons/mrp_subcontracting_purchase/i18n/vi.po @@ -88,7 +88,7 @@ msgstr "ID" #. module: mrp_subcontracting_purchase #: model:ir.model,name:mrp_subcontracting_purchase.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: mrp_subcontracting_purchase #. odoo-python diff --git a/addons/point_of_sale/i18n/vi.po b/addons/point_of_sale/i18n/vi.po index 2e74addd85b011..15a54b3b432e59 100644 --- a/addons/point_of_sale/i18n/vi.po +++ b/addons/point_of_sale/i18n/vi.po @@ -326,7 +326,7 @@ msgstr "Máy tính tiền" #. module: point_of_sale #: model_terms:ir.ui.view,arch_db:point_of_sale.view_pos_session_form msgid "Journal Items" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: point_of_sale #: model_terms:ir.ui.view,arch_db:point_of_sale.res_config_settings_view_form @@ -4622,13 +4622,13 @@ msgstr "Bút toán" #. module: point_of_sale #: model:ir.model,name:point_of_sale.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: point_of_sale #. odoo-python #: code:addons/point_of_sale/models/pos_session.py:0 msgid "Journal Items" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: point_of_sale #. odoo-javascript diff --git a/addons/project_sale_expense/i18n/vi.po b/addons/project_sale_expense/i18n/vi.po index 26664cd6fb8dce..f92dea896df200 100644 --- a/addons/project_sale_expense/i18n/vi.po +++ b/addons/project_sale_expense/i18n/vi.po @@ -42,7 +42,7 @@ msgstr "ID" #. module: project_sale_expense #: model:ir.model,name:project_sale_expense.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: project_sale_expense #: model:ir.model,name:project_sale_expense.model_project_project diff --git a/addons/purchase/i18n/vi.po b/addons/purchase/i18n/vi.po index 61fe60b61db6dd..111d95307bab8a 100644 --- a/addons/purchase/i18n/vi.po +++ b/addons/purchase/i18n/vi.po @@ -1715,7 +1715,7 @@ msgstr "Bút toán" #. module: purchase #: model:ir.model,name:purchase.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: purchase #: model:ir.model.fields,field_description:purchase.field_bill_to_po_wizard__write_uid diff --git a/addons/purchase_mrp/i18n/vi.po b/addons/purchase_mrp/i18n/vi.po index 4bfa13730b96fe..ee07b04cfeb671 100644 --- a/addons/purchase_mrp/i18n/vi.po +++ b/addons/purchase_mrp/i18n/vi.po @@ -161,7 +161,7 @@ msgid "The total cost share for a BoM's component have to be 100" msgstr "Tổng tỷ lệ chi phí cho các phụ phẩm của BoM không thể vượt quá 100." #~ msgid "Journal Item" -#~ msgstr "Hạng mục bút toán" +#~ msgstr "Phát sinh kế toán" #~ msgid "Production Order" #~ msgstr "Lệnh sản xuất" diff --git a/addons/purchase_stock/i18n/vi.po b/addons/purchase_stock/i18n/vi.po index 4a2a26b5239ded..c7672677db27db 100644 --- a/addons/purchase_stock/i18n/vi.po +++ b/addons/purchase_stock/i18n/vi.po @@ -552,7 +552,7 @@ msgstr "Bút toán" #. module: purchase_stock #: model:ir.model,name:purchase_stock.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: purchase_stock #. odoo-javascript diff --git a/addons/sale/i18n/vi.po b/addons/sale/i18n/vi.po index b821c368d6b9a2..290e5b504b9401 100644 --- a/addons/sale/i18n/vi.po +++ b/addons/sale/i18n/vi.po @@ -3043,7 +3043,7 @@ msgstr "Bút toán" #. module: sale #: model:ir.model,name:sale.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: sale #: model_terms:ir.ui.view,arch_db:sale.sale_order_portal_content diff --git a/addons/sale_expense/i18n/vi.po b/addons/sale_expense/i18n/vi.po index 0f57fae80051b9..97421b436b25ff 100644 --- a/addons/sale_expense/i18n/vi.po +++ b/addons/sale_expense/i18n/vi.po @@ -132,7 +132,7 @@ msgstr "Bút toán" #. module: sale_expense #: model:ir.model,name:sale_expense.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: sale_expense #: model:ir.model,name:sale_expense.model_product_template diff --git a/addons/sale_expense_margin/i18n/vi.po b/addons/sale_expense_margin/i18n/vi.po index b75776e3b44301..52d60b1c3959dd 100644 --- a/addons/sale_expense_margin/i18n/vi.po +++ b/addons/sale_expense_margin/i18n/vi.po @@ -40,7 +40,7 @@ msgstr "ID" #. module: sale_expense_margin #: model:ir.model,name:sale_expense_margin.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: sale_expense_margin #: model:ir.model,name:sale_expense_margin.model_sale_order_line diff --git a/addons/sale_mrp/i18n/vi.po b/addons/sale_mrp/i18n/vi.po index bd003283a69f8c..6f1ac2c195515f 100644 --- a/addons/sale_mrp/i18n/vi.po +++ b/addons/sale_mrp/i18n/vi.po @@ -112,7 +112,7 @@ msgstr "ID" #. module: sale_mrp #: model:ir.model,name:sale_mrp.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: sale_mrp #: model_terms:ir.ui.view,arch_db:sale_mrp.sale_order_form_mrp diff --git a/addons/sale_project/i18n/vi.po b/addons/sale_project/i18n/vi.po index 4d3f4c0b99dd30..968235610cae34 100644 --- a/addons/sale_project/i18n/vi.po +++ b/addons/sale_project/i18n/vi.po @@ -501,7 +501,7 @@ msgstr "Bút toán" #. module: sale_project #: model:ir.model,name:sale_project.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: sale_project #. odoo-javascript diff --git a/addons/sale_stock/i18n/vi.po b/addons/sale_stock/i18n/vi.po index 6f9e9ffd41e757..54950e08584852 100644 --- a/addons/sale_stock/i18n/vi.po +++ b/addons/sale_stock/i18n/vi.po @@ -441,7 +441,7 @@ msgstr "Bút toán" #. module: sale_stock #: model:ir.model,name:sale_stock.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: sale_stock #: model_terms:ir.ui.view,arch_db:sale_stock.sale_order_portal_content_inherit_sale_stock diff --git a/addons/sale_timesheet/i18n/vi.po b/addons/sale_timesheet/i18n/vi.po index d2bcc7cd79c3f8..cd0ce8cbe62452 100644 --- a/addons/sale_timesheet/i18n/vi.po +++ b/addons/sale_timesheet/i18n/vi.po @@ -796,7 +796,7 @@ msgstr "Bút toán" #. module: sale_timesheet #: model:ir.model,name:sale_timesheet.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: sale_timesheet #: model:product.template,name:sale_timesheet.product_service_deliver_timesheet_2_product_template diff --git a/addons/stock_account/i18n/vi.po b/addons/stock_account/i18n/vi.po index 5b591f8d08065d..846f632b4ac6e6 100644 --- a/addons/stock_account/i18n/vi.po +++ b/addons/stock_account/i18n/vi.po @@ -601,13 +601,13 @@ msgstr "Bút toán" #. module: stock_account #: model:ir.model,name:stock_account.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: stock_account #. odoo-python #: code:addons/stock_account/models/res_company.py:0 msgid "Journal Items" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: stock_account #: model:ir.model.fields,field_description:stock_account.field_stock_avco_report__justification @@ -1550,7 +1550,7 @@ msgstr "đơn vị" #~ "category.\n" #~ " It can also directly be set on each product." #~ msgstr "" -#~ "Khi thực hiện định giá tồn kho tự động, các hạng mục bút toán đối ứng cho " +#~ "Khi thực hiện định giá tồn kho tự động, các phát sinh kế toán đối ứng cho " #~ "tất cả dịch chuyển tồn kho xuất đi sẽ được ghi sổ trong tài khoản này,\n" #~ " trừ khi có một tài khoản định giá cụ thể được thiết lập " #~ "trên vị trí đích. Đây là giá trị mặc định cho tất cả sản phẩm trong danh " diff --git a/addons/stock_landed_costs/i18n/vi.po b/addons/stock_landed_costs/i18n/vi.po index a34ffb91c1a065..0c08d7c8d19ee5 100644 --- a/addons/stock_landed_costs/i18n/vi.po +++ b/addons/stock_landed_costs/i18n/vi.po @@ -408,7 +408,7 @@ msgstr "Bút toán" #. module: stock_landed_costs #: model:ir.model,name:stock_landed_costs.model_account_move_line msgid "Journal Item" -msgstr "Hạng mục bút toán" +msgstr "Phát sinh kế toán" #. module: stock_landed_costs #: model:ir.model.fields,field_description:stock_landed_costs.field_stock_landed_cost_lines__cost_id diff --git a/odoo/addons/base/i18n/vi.po b/odoo/addons/base/i18n/vi.po index 66e2fe98f7bea1..e95a070d85a648 100644 --- a/odoo/addons/base/i18n/vi.po +++ b/odoo/addons/base/i18n/vi.po @@ -33360,7 +33360,7 @@ msgstr "Hóa đơn Điện tử của Jordan" #. module: base #: model:ir.model.fields,field_description:base.field_base_partner_merge_automatic_wizard__exclude_journal_item msgid "Journal Items associated to the contact" -msgstr "Hạng mục bút toán liên quan tới liên hệ" +msgstr "Phát sinh kế toán liên quan tới liên hệ" #. module: base #. odoo-python From 7f02793e0896dbd2481877c2e6657270049dfb1f Mon Sep 17 00:00:00 2001 From: bhna-odoo Date: Mon, 27 Apr 2026 13:18:57 +0000 Subject: [PATCH 005/168] [FIX] account, purchase, sale: prevent error on removing date Currently, error occurs when user removes date on Accrued Expense Entry wizard. Steps to replicate: - Install `purchase` and `accountant` with demo. - Open any Purchase Order > Click on cog menu > Accrued Expense Entry. - Remove value from `date` and click else where. Error: ``` File '/home/odoo/odoo19/community/addons/account/wizard/accrued_orders.py', line 67, in _compute_reversal_date if not record.reversal_date or record.reversal_date <= record.date: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: '<=' not supported between instances of 'datetime.date' and 'bool' ``` Cause: - As the user removed value from `date`, [here] `record.date` is received as False. - As a result the comparison `record.reversal_date <= record.date` causes this error to occur. Solution: - Added a conditional check for `date` before the date comparison. [here]: https://github.com/odoo/odoo/blob/8791cdcd89ea3cb56b1fac63b3e2ffbd2956a912/addons/account/wizard/accrued_orders.py#L67 No ID closes odoo/odoo#265997 X-original-commit: 9a17bf185a4afd1635800ba8a8411e102146554e Signed-off-by: Julien Alardot (jual) Signed-off-by: Bhavya Ashesh Nanavati (bhna) --- addons/account/wizard/accrued_orders.py | 2 +- addons/purchase/models/purchase_order_line.py | 2 +- addons/purchase/tests/test_accrued_purchase_orders.py | 8 +++++++- addons/sale/models/sale_order_line.py | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/addons/account/wizard/accrued_orders.py b/addons/account/wizard/accrued_orders.py index ffae86bb5e9275..791cb08f9e57d4 100644 --- a/addons/account/wizard/accrued_orders.py +++ b/addons/account/wizard/accrued_orders.py @@ -66,7 +66,7 @@ def _compute_display_amount(self): @api.depends('date') def _compute_reversal_date(self): for record in self: - if not record.reversal_date or record.reversal_date <= record.date: + if record.date and (not record.reversal_date or record.reversal_date <= record.date): record.reversal_date = record.date + relativedelta(days=1) else: record.reversal_date = record.reversal_date diff --git a/addons/purchase/models/purchase_order_line.py b/addons/purchase/models/purchase_order_line.py index 7df14d0397958a..bd87b92e2a3cf2 100644 --- a/addons/purchase/models/purchase_order_line.py +++ b/addons/purchase/models/purchase_order_line.py @@ -705,7 +705,7 @@ def _date_in_the_past(self): if not 'accrual_entry_date' in self.env.context: return False accrual_date = fields.Date.from_string(self.env.context['accrual_entry_date']) - return accrual_date < fields.Date.today() + return accrual_date and accrual_date < fields.Date.today() def _update_date_planned(self, updated_date): self.date_planned = updated_date diff --git a/addons/purchase/tests/test_accrued_purchase_orders.py b/addons/purchase/tests/test_accrued_purchase_orders.py index d3590cd635289f..e2f34abb6e739d 100644 --- a/addons/purchase/tests/test_accrued_purchase_orders.py +++ b/addons/purchase/tests/test_accrued_purchase_orders.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from odoo import fields, Command from odoo.addons.account.tests.common import AccountTestInvoicingCommon -from odoo.tests import tagged +from odoo.tests import Form, tagged from odoo.exceptions import UserError @@ -258,3 +258,9 @@ def test_accrual_entry_date_as_string_from_context(self): {'account_id': self.alt_exp_account.id, 'debit': 1000.0, 'credit': 0.0}, {'account_id': self.account_revenue.id, 'debit': 0.0, 'credit': 6000.0}, ]) + + def test_accrued_entries_with_no_date(self): + wizard_form = Form(self.wizard) + wizard_form.date = False + with self.assertRaises(AssertionError): + wizard_form.save() diff --git a/addons/sale/models/sale_order_line.py b/addons/sale/models/sale_order_line.py index a43cfe1fe960d5..a0d192fd749461 100644 --- a/addons/sale/models/sale_order_line.py +++ b/addons/sale/models/sale_order_line.py @@ -1759,7 +1759,7 @@ def _date_in_the_past(self): if not 'accrual_entry_date' in self.env.context: return False accrual_date = fields.Date.from_string(self.env.context['accrual_entry_date']) - return accrual_date < fields.Date.today() + return accrual_date and accrual_date < fields.Date.today() def _get_discounted_price(self): self.ensure_one() From 4fd97343f482450cfb41e16c274981d7f6735165 Mon Sep 17 00:00:00 2001 From: abhk-odoo Date: Wed, 10 Jun 2026 17:38:53 +0530 Subject: [PATCH 006/168] [IMP] pos_{ ,self_order}: improve feedback screen with processing state and checkmark In this commit : - Show "Processing..." text while payment finalization is running - Show animated success checkmark and "Amount Paid" once processing completes - Remove warning notification when clicking during processing - Extract shared checkmark animation into reusable template - Update tour tests to verify the success state Task:6246377 closes odoo/odoo#267635 Signed-off-by: David Monnom (moda) --- .../validation_animation.scss | 69 +++++++++++++++++++ .../validation_animation.xml | 13 ++++ .../feedback_screen/feedback_screen.js | 7 -- .../feedback_screen/feedback_screen.scss | 5 -- .../feedback_screen/feedback_screen.xml | 22 +++--- .../tests/pos/tours/feedback_screen_tour.js | 1 + .../pos/tours/utils/feedback_screen_util.js | 7 ++ addons/pos_self_order/__manifest__.py | 1 + .../confirmation_page/confirmation_page.scss | 63 ----------------- .../confirmation_page/confirmation_page.xml | 9 +-- 10 files changed, 105 insertions(+), 92 deletions(-) create mode 100644 addons/point_of_sale/static/src/app/components/validation_animation/validation_animation.scss create mode 100644 addons/point_of_sale/static/src/app/components/validation_animation/validation_animation.xml diff --git a/addons/point_of_sale/static/src/app/components/validation_animation/validation_animation.scss b/addons/point_of_sale/static/src/app/components/validation_animation/validation_animation.scss new file mode 100644 index 00000000000000..34de765d763b1d --- /dev/null +++ b/addons/point_of_sale/static/src/app/components/validation_animation/validation_animation.scss @@ -0,0 +1,69 @@ +.o_validation_animation { + .check-group { + animation: 0.32s ease-in-out 1.03s check-group; + transform-origin: center; + + .check { + animation: 0.34s cubic-bezier(0.65, 0, 1, 1) 0.8s forwards check; + stroke-dasharray: 0, 75px; + stroke-linecap: round; + stroke-linejoin: round; + } + + .outline { + animation: 0.38s ease-in outline; + transform: rotate(0deg); + transform-origin: center; + } + + .white-circle { + animation: 0.35s ease-in 0.35s forwards circle; + transform: none; + transform-origin: center; + } + } +} + +@keyframes outline { + from { + stroke-dasharray: 0, 345.576px; + } + + to { + stroke-dasharray: 345.576px, 345.576px; + } +} + +@keyframes circle { + from { + transform: scale(1); + } + + to { + transform: scale(0); + } +} + +@keyframes check { + from { + stroke-dasharray: 0, 75px; + } + + to { + stroke-dasharray: 75px, 75px; + } +} + +@keyframes check-group { + from { + transform: scale(1); + } + + 50% { + transform: scale(1.09); + } + + to { + transform: scale(1); + } +} diff --git a/addons/point_of_sale/static/src/app/components/validation_animation/validation_animation.xml b/addons/point_of_sale/static/src/app/components/validation_animation/validation_animation.xml new file mode 100644 index 00000000000000..d3b1e797b675ce --- /dev/null +++ b/addons/point_of_sale/static/src/app/components/validation_animation/validation_animation.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/addons/point_of_sale/static/src/app/screens/feedback_screen/feedback_screen.js b/addons/point_of_sale/static/src/app/screens/feedback_screen/feedback_screen.js index f263a040c45f0a..98deba96b3ec2c 100644 --- a/addons/point_of_sale/static/src/app/screens/feedback_screen/feedback_screen.js +++ b/addons/point_of_sale/static/src/app/screens/feedback_screen/feedback_screen.js @@ -2,7 +2,6 @@ import { registry } from "@web/core/registry"; import { Component, useRef, onMounted, onWillStart, useState, onWillUnmount } from "@odoo/owl"; import { usePos } from "@point_of_sale/app/hooks/pos_hook"; import { PriceFormatter } from "@point_of_sale/app/components/price_formatter/price_formatter"; -import { _t } from "@web/core/l10n/translation"; import { useService } from "@web/core/utils/hooks"; export class FeedbackScreen extends Component { @@ -64,12 +63,6 @@ export class FeedbackScreen extends Component { onClick() { if (this.state.loading) { - this.notification.add( - _t("A request is still being processed in the background. Please wait."), - { - type: "warning", - } - ); return; } clearTimeout(this.timeout); diff --git a/addons/point_of_sale/static/src/app/screens/feedback_screen/feedback_screen.scss b/addons/point_of_sale/static/src/app/screens/feedback_screen/feedback_screen.scss index 4cdd5ae9ca33df..dbc92cc08556af 100644 --- a/addons/point_of_sale/static/src/app/screens/feedback_screen/feedback_screen.scss +++ b/addons/point_of_sale/static/src/app/screens/feedback_screen/feedback_screen.scss @@ -6,9 +6,4 @@ .amount { font-size: clamp(10rem, 25vw, 30rem); } - - .loading { - bottom: 1rem; - left: 1rem; - } } diff --git a/addons/point_of_sale/static/src/app/screens/feedback_screen/feedback_screen.xml b/addons/point_of_sale/static/src/app/screens/feedback_screen/feedback_screen.xml index 0f216dc4f85f3a..61b4e5e8cc8d5d 100644 --- a/addons/point_of_sale/static/src/app/screens/feedback_screen/feedback_screen.xml +++ b/addons/point_of_sale/static/src/app/screens/feedback_screen/feedback_screen.xml @@ -2,17 +2,21 @@