[FIX] l10n_ch,l10n_dk,l10n_fi: 0% tax fix

Every tax should have a tax repartition line even 0% tax

closes odoo/odoo#85990

X-original-commit: 17e3bd58e519bd40fdc0c7fd431cd1a8f90cf33e
Signed-off-by: Laurent Smet <las@odoo.com>
Signed-off-by: Brice Bartoletti <bib@odoo.com>
This commit is contained in:
Brice bib Bartoletti
2022-03-07 19:15:03 +00:00
parent 2712bf5891
commit 57346c85f8
3 changed files with 89 additions and 2 deletions
@@ -848,6 +848,10 @@
'repartition_type': 'base',
'plus_report_line_ids': [ref('account_tax_report_line_chtax_900')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
@@ -855,6 +859,10 @@
'repartition_type': 'base',
'minus_report_line_ids': [ref('account_tax_report_line_chtax_900')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
</record>
@@ -872,6 +880,10 @@
'repartition_type': 'base',
'plus_report_line_ids': [ref('account_tax_report_line_chtax_910')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
@@ -879,6 +891,10 @@
'repartition_type': 'base',
'minus_report_line_ids': [ref('account_tax_report_line_chtax_910')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
</record>
</odoo>
@@ -83,6 +83,10 @@
'repartition_type': 'base',
'plus_report_line_ids': [ref('l10n_dk.account_tax_report_line_section_b_product_eu')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
@@ -90,6 +94,10 @@
'repartition_type': 'base',
'minus_report_line_ids': [ref('l10n_dk.account_tax_report_line_section_b_product_eu')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
</record>
<record id="tax220" model="account.tax.template">
@@ -105,6 +113,10 @@
'repartition_type': 'base',
'plus_report_line_ids': [ref('l10n_dk.account_tax_report_line_section_b_services')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
@@ -112,6 +124,10 @@
'repartition_type': 'base',
'minus_report_line_ids': [ref('l10n_dk.account_tax_report_line_section_b_services')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
</record>
@@ -129,6 +145,10 @@
'repartition_type': 'base',
'plus_report_line_ids': [ref('l10n_dk.account_tax_report_line_section_c')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
@@ -136,6 +156,10 @@
'repartition_type': 'base',
'minus_report_line_ids': [ref('l10n_dk.account_tax_report_line_section_c')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
</record>
@@ -564,6 +564,10 @@
'repartition_type': 'base',
'plus_report_line_ids': [ref('tax_report_base_sales_goods_eu')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
@@ -571,6 +575,10 @@
'repartition_type': 'base',
'minus_report_line_ids': [ref('tax_report_base_sales_goods_eu')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
</record>
@@ -589,6 +597,10 @@
'repartition_type': 'base',
'plus_report_line_ids': [ref('tax_report_base_sales_service_eu')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
@@ -596,6 +608,10 @@
'repartition_type': 'base',
'minus_report_line_ids': [ref('tax_report_base_sales_service_eu')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
</record>
@@ -887,7 +903,10 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'base',
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -895,6 +914,10 @@
'factor_percent': 100,
'repartition_type': 'base',
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
</record>
<record id="triangulation_purchase" model="account.tax.template">
@@ -944,6 +967,10 @@
'repartition_type': 'base',
'plus_report_line_ids': [ref('tax_report_base_sales_construct_service')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
@@ -951,6 +978,10 @@
'repartition_type': 'base',
'minus_report_line_ids': [ref('tax_report_base_sales_construct_service')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
</record>
<record id="tax_construct_purchase_24" model="account.tax.template">
@@ -1049,7 +1080,11 @@
'factor_percent': 100,
'repartition_type': 'base',
'plus_report_line_ids': [ref('tax_report_base_turnover_0_vat')],
})
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
@@ -1057,6 +1092,10 @@
'repartition_type': 'base',
'minus_report_line_ids': [ref('tax_report_base_turnover_0_vat')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
</record>
@@ -1215,6 +1254,10 @@
'repartition_type': 'base',
'plus_report_line_ids': [ref('tax_report_base_turnover_0_vat')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
(0,0, {
@@ -1222,6 +1265,10 @@
'repartition_type': 'base',
'minus_report_line_ids': [ref('tax_report_base_turnover_0_vat')],
}),
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
}),
]"/>
</record>
<record id="import_pay24" model="account.tax.template">