diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-10-24 08:09:02 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-10-24 09:31:47 +0000 |
| commit | 7fc3e56bb2a250f55efca6d0ced46a6fbd566044 (patch) | |
| tree | 86301188dfe7b1b32d4f07a2c3ffab9f2a425666 | |
| parent | 745f5f951f078fdfca33b16468daa01919d09b55 (diff) | |
[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>
| -rw-r--r-- | addons/l10n_cn_small_business/data/account.account.template.csv | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/l10n_cn_small_business/data/account.account.template.csv b/addons/l10n_cn_small_business/data/account.account.template.csv index 2039599434d..a8cc51a4b4c 100644 --- a/addons/l10n_cn_small_business/data/account.account.template.csv +++ b/addons/l10n_cn_small_business/data/account.account.template.csv @@ -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"
\ No newline at end of file +"l10n_cn_5801","所得税费用","5801","account.data_account_type_direct_costs","l10n_cn_small_business.l10n_chart_china_small_business","False" |
