Skip to content

Commit

Permalink
some minor corrections on account_tax_data
Browse files Browse the repository at this point in the history
  • Loading branch information
QuiJoQuim committed Sep 26, 2024
1 parent 57b4c8d commit d8bbcaf
Showing 1 changed file with 5 additions and 41 deletions.
46 changes: 5 additions & 41 deletions l10n_es_extra_data/data/account_tax_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@
<field name="tax_group_id" ref="tax_group_iva_2"/>
<field name="tag_ids" eval="[(6, False, [ref('mod_303_165'), ref('mod_303_167'), ref('l10n_es.mod_303_14_15_sale')])]"/>
</record>
<record id="account_tax_template_s_iva2_b" model="account.tax.template">
<record id="account_tax_template_s_iva2b" model="account.tax.template">
<field name="description">S_IVA2_B</field>
<field name="type_tax_use">sale</field>
<field name="account_id" ref="l10n_es.account_common_477"/>
Expand All @@ -529,43 +529,6 @@
<field name="tax_group_id" ref="tax_group_iva_2"/>
<field name="tag_ids" eval="[(6, False, [ref('mod_303_165'), ref('mod_303_167'), ref('l10n_es.mod_303_14_15_sale')])]"/>
</record>
<record id="account_tax_template_p_iva7-5_ic_sc_1" model="account.tax.template">
<field name="description">P_IVA7-5_ISC_1</field>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
<field name="name">IVA 7.5% Adquisición de servicios extracomunitarios (1)</field>
<field name="account_id" ref="l10n_es.account_common_472"/>
<field name="refund_account_id" ref="l10n_es.account_common_472"/>
<field name="chart_template_id" ref="l10n_es.account_chart_template_common"/>
<field name="amount" eval="7.5"/>
<field name="amount_type">percent</field>
<field name="tax_group_id" ref="tax_group_iva_7-5"/>
<field name="tag_ids" eval="[(6, False, [ref('l10n_es.mod_303_28_29'), ref('l10n_es.mod_303_40_41')])]"/>
</record>
<record id="account_tax_template_p_iva7-5_ic_sc_2" model="account.tax.template">
<field name="description">P_IVA7-5_ISC_2</field>
<field name="type_tax_use">purchase</field>
<field name="sequence" eval="20"/>
<field name="name">IVA 7.5% Adquisición de servicios extracomunitarios (2)</field>
<field name="account_id" ref="l10n_es.account_common_477"/>
<field name="refund_account_id" ref="l10n_es.account_common_477"/>
<field name="chart_template_id" ref="l10n_es.account_chart_template_common"/>
<field name="amount" eval="-5"/>
<field name="amount_type">percent</field>
<field name="tax_group_id" ref="tax_group_iva_7-5"/>
<field name="tag_ids" eval="[(6, False, [ref('l10n_es.mod_303_12_13'), ref('l10n_es.mod_303_14_15_purchase')])]"/>
</record>
<record id="account_tax_template_p_iva7-5_ic_sc" model="account.tax.template">
<field name="description">P_IVA7-5_ISC</field>
<field name="type_tax_use">purchase</field>
<field name="name">IVA 7.5% Adquisición de servicios extracomunitarios</field>
<field name="chart_template_id" ref="l10n_es.account_chart_template_common"/>
<field name="amount" eval="100"/>
<field name="amount_type">group</field>
<field name="children_tax_ids" eval="[(6, 0, [ref('account_tax_template_p_iva7-5_ic_sc_1'), ref('account_tax_template_p_iva7-5_ic_sc_2')])]"/>
<field name="tax_group_id" ref="tax_group_iva_7-5"/>
<field name="tag_ids" eval="[(6, False, [ref('l10n_es.mod_303_12_13'), ref('l10n_es.mod_303_14_15_purchase'), ref('l10n_es.mod_303_28_29'), ref('l10n_es.mod_303_40_41')])]"/>
</record>
<record id="account_tax_template_p_iva2_isc_1" model="account.tax.template">
<field name="description">P_IVA2_ISC_1</field>
<field name="sequence" eval="10"/>
Expand Down Expand Up @@ -636,7 +599,7 @@
<field name="chart_template_id" ref="l10n_es.account_chart_template_common"/>
<field name="amount" eval="100"/>
<field name="amount_type">group</field>
<field name="children_tax_ids" eval="[(6, 0, [ref('aaccount_tax_template_p_iva7-5_isc_1'), ref('account_tax_template_p_iva7-5_isc_2')])]"/>
<field name="children_tax_ids" eval="[(6, 0, [ref('account_tax_template_p_iva7-5_isc_1'), ref('account_tax_template_p_iva7-5_isc_2')])]"/>
<field name="tax_group_id" ref="tax_group_iva_7-5"/>
<field name="tag_ids" eval="[(6, False, [ref('l10n_es.mod_303_12_13'), ref('l10n_es.mod_303_14_15_purchase'), ref('l10n_es.mod_303_28_29'), ref('l10n_es.mod_303_40_41')])]"/>
</record>
Expand Down Expand Up @@ -897,14 +860,15 @@
<field name="tax_group_id" ref="tax_group_recargo_1"/>
<field name="tag_ids" eval="[(6, False, [ref('l10n_es.mod_303_28_29'), ref('l10n_es.mod_303_40_41')])]"/>
</record>

<record id="account_tax_template_p_iva2_nd" model="account.tax.template">
<field name="description"/> <!-- for resetting the value on existing DBs -->
<field name="type_tax_use">purchase</field>
<field name="name">2% IVA Soportado no deducible</field>
<field name="chart_template_id" ref="l10n_es.account_chart_template_common"/>
<field name="amount" eval="2"/>
<field name="amount_type">percent</field>
<field name="tax_group_id" ref="l10n_es.tax_group_iva_nd"/>
<field name="tax_group_id" ref="tax_group_iva_2"/>
</record>
<record id="account_tax_template_p_iva7-5_nd" model="account.tax.template">
<field name="description"/> <!-- for resetting the value on existing DBs -->
Expand All @@ -913,7 +877,7 @@
<field name="chart_template_id" ref="l10n_es.account_chart_template_common"/>
<field name="amount" eval="7.5"/>
<field name="amount_type">percent</field>
<field name="tax_group_id" ref="l10n_es.tax_group_iva_nd"/>
<field name="tax_group_id" ref="tax_group_iva_7-5"/>
</record>

</odoo>

0 comments on commit d8bbcaf

Please sign in to comment.