[FIX] l10n_es: ignore DUA (-100%) line on tax report

add l10n_es_type 'ignore' on Subtract Base (DUA) -100% tax so that it
can be ignored when creating Libros export

closes odoo/odoo#143314

Task-id: 3604971
Related: odoo/enterprise#51366
Signed-off-by: Josse Colpaert <jco@odoo.com>
This commit is contained in:
Yosua Nicolaus
2023-11-28 04:16:53 +00:00
parent c23ff3a833
commit fbfbd1b3f6
@@ -557,7 +557,7 @@
"","","","","","","","","","","","","","","","","tax","","invoice","account_common_4751","","",""
"","","","","","","","","","","","","","","","","base","","refund","","","",""
"","","","","","","","","","","","","","","","","tax","","refund","account_common_4751","","",""
"account_tax_template_p_iva_isub","","Tax Only","","none","Subtract Base","DUA No Base","-100.0","percent","tax_group_no_base","","","","","consu","","base","","invoice","","","",""
"account_tax_template_p_iva_isub","","Tax Only","","none","Subtract Base","DUA No Base","-100.0","percent","tax_group_no_base","","ignore","","","consu","","base","","invoice","","","",""
"","","","","","","","","","","","","","","","","tax","","invoice","","","",""
"","","","","","","","","","","","","","","","","base","","refund","","","",""
"","","","","","","","","","","","","","","","","tax","","refund","","","",""
1 id sequence description invoice_label type_tax_use name description@es amount amount_type tax_group_id analytic l10n_es_type l10n_es_exempt_reason l10n_es_bien_inversion tax_scope include_base_amount repartition_line_ids/repartition_type repartition_line_ids/tag_ids repartition_line_ids/document_type repartition_line_ids/account_id repartition_line_ids/factor_percent invoice_label@es children_tax_ids
557 tax invoice account_common_4751
558 base refund
559 tax refund account_common_4751
560 account_tax_template_p_iva_isub Tax Only none Subtract Base DUA No Base -100.0 percent tax_group_no_base ignore consu base invoice
561 tax invoice
562 base refund
563 tax refund