[FIX] l10n_jp: fix tax accounts

Forward port of commit https://github.com/odoo/odoo/commit/084246a54ed68e2898e9c713345192b2a33ddd81 (10.0) into https://github.com/odoo/odoo/commit/5e9ebe86bae53f019981361bbcc2f03a5d49e0cb (11.0) had wrongly replaced account code A21809 by its old version, A21807, in tax templates. It made the module uninstallable, as A21807 does not exist anymore.

closes odoo/odoo#32252

Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
Olivier Colson
2019-03-29 14:01:19 +00:00
parent 14f893752a
commit b344c3c601
+2 -2
View File
@@ -1,6 +1,6 @@
id,name,description,chart_template_id/id,type_tax_use,amount_type,amount,price_include,sequence,include_base_amount,account_id/id,refund_account_id/id,tag_ids/id,tax_group_id/id
tax_in_e,仮受消費税(外),仮受消費税(外),l10n_jp1,sale,percent,8,FALSE,1,FALSE,A21807,A21807,"tag_jp_03,tag_jp_12",tax_group_8
tax_in_i,仮受消費税(内),仮受消費税(内),l10n_jp1,sale,percent,8,TRUE,1,FALSE,A21807,A21807,"tag_jp_03,tag_jp_12",tax_group_8
tax_in_e,仮受消費税(外),仮受消費税(外),l10n_jp1,sale,percent,8,FALSE,1,FALSE,A21809,A21809,"tag_jp_03,tag_jp_12",tax_group_8
tax_in_i,仮受消費税(内),仮受消費税(内),l10n_jp1,sale,percent,8,TRUE,1,FALSE,A21809,A21809,"tag_jp_03,tag_jp_12",tax_group_8
tax_in_x,輸出免税,輸出免税,l10n_jp1,sale,percent,,FALSE,1,FALSE,,,"tag_jp_04,tag_jp_13",tax_group_0
tax_in_o,非課税販売,非課税販売,l10n_jp1,sale,percent,,FALSE,1,FALSE,,,"tag_jp_09,tag_jp_14",tax_group_0
tax_out_e,仮払消費税(外),仮払消費税(外),l10n_jp1,purchase,percent,8,FALSE,1,FALSE,A11807,A11807,"tag_jp_07,tag_jp_16",tax_group_8
1 id name description chart_template_id/id type_tax_use amount_type amount price_include sequence include_base_amount account_id/id refund_account_id/id tag_ids/id tax_group_id/id
2 tax_in_e 仮受消費税(外) 仮受消費税(外) l10n_jp1 sale percent 8 FALSE 1 FALSE A21807 A21809 A21807 A21809 tag_jp_03,tag_jp_12 tax_group_8
3 tax_in_i 仮受消費税(内) 仮受消費税(内) l10n_jp1 sale percent 8 TRUE 1 FALSE A21807 A21809 A21807 A21809 tag_jp_03,tag_jp_12 tax_group_8
4 tax_in_x 輸出免税 輸出免税 l10n_jp1 sale percent FALSE 1 FALSE tag_jp_04,tag_jp_13 tax_group_0
5 tax_in_o 非課税販売 非課税販売 l10n_jp1 sale percent FALSE 1 FALSE tag_jp_09,tag_jp_14 tax_group_0
6 tax_out_e 仮払消費税(外) 仮払消費税(外) l10n_jp1 purchase percent 8 FALSE 1 FALSE A11807 A11807 tag_jp_07,tag_jp_16 tax_group_8