[FIX] l10n_cn_small_business: incorrect account type
- Create a customer invoice or a vendor bill - Add a product with any pre-defined tax The tax line is not added. This is because the account 2221 is set as 'Payable' instead of 'Current Liabilities', as it is the case in other localizations. For reference, the tax line is created then removed because: https://github.com/odoo/odoo/blob/db2e6bc600364c00e8a1d528d4b17ae052ecd41e/addons/account/models/account_move.py#L816 The line is part of `existing_terms_lines` instead of `others_lines`. opw-2089955 closes odoo/odoo#39309 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
"l10n_cn_2202","应付账款","2202","account.data_account_type_payable","l10n_cn_small_business.l10n_chart_china_small_business","True"
|
||||
"l10n_cn_2203","预收账款","2203","account.data_account_type_payable","l10n_cn_small_business.l10n_chart_china_small_business","True"
|
||||
"l10n_cn_2211","应付职工薪酬","2211","account.data_account_type_payable","l10n_cn_small_business.l10n_chart_china_small_business","True"
|
||||
"l10n_cn_2221","应交税费","2221","account.data_account_type_payable","l10n_cn_small_business.l10n_chart_china_small_business","True"
|
||||
"l10n_cn_2221","应交税费","2221","account.data_account_type_current_liabilities","l10n_cn_small_business.l10n_chart_china_small_business","True"
|
||||
"l10n_cn_2231","应付利息","2231","account.data_account_type_payable","l10n_cn_small_business.l10n_chart_china_small_business","True"
|
||||
"l10n_cn_2232","应付利润","2232","account.data_account_type_current_liabilities","l10n_cn_small_business.l10n_chart_china_small_business","True"
|
||||
"l10n_cn_2241","应付股利","2241","account.data_account_type_payable","l10n_cn_small_business.l10n_chart_china_small_business","True"
|
||||
@@ -66,4 +66,4 @@
|
||||
"l10n_cn_5602","管理费用","5602","account.data_account_type_expenses","l10n_cn_small_business.l10n_chart_china_small_business","False"
|
||||
"l10n_cn_5603","财务费用","5603","account.data_account_type_expenses","l10n_cn_small_business.l10n_chart_china_small_business","False"
|
||||
"l10n_cn_5711","营业外支出","5711","account.data_account_type_direct_costs","l10n_cn_small_business.l10n_chart_china_small_business","False"
|
||||
"l10n_cn_5801","所得税费用","5801","account.data_account_type_direct_costs","l10n_cn_small_business.l10n_chart_china_small_business","False"
|
||||
"l10n_cn_5801","所得税费用","5801","account.data_account_type_direct_costs","l10n_cn_small_business.l10n_chart_china_small_business","False"
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 60 and column 1.
|
Reference in New Issue
Block a user