Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
danypr92 committed Sep 25, 2024
1 parent 2605516 commit 2b57abc
Show file tree
Hide file tree
Showing 3 changed files with 1,147 additions and 3 deletions.
15 changes: 14 additions & 1 deletion l10n_es_extra_data/data/account_data.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="tax_group_iva_5" model="account.tax.group">
<field name="name">IVA 5%</field>
Expand All @@ -9,4 +9,17 @@
<record id="tax_group_recargo_0-62" model="account.tax.group">
<field name="name">Recargo de Equivalencia 0.62%</field>
</record>

<record id="tax_group_iva_2" model="account.tax.group">
<field name="name">IVA 2%</field>
</record>
<record id="tax_group_iva_7-5" model="account.tax.group">
<field name="name">IVA 7.5%</field>
</record>
<record id="tax_group_recargo_0-26" model="account.tax.group">
<field name="name">Recargo de Equivalencia 0.26%</field>
</record>
<record id="tax_group_recargo_1" model="account.tax.group">
<field name="name">Recargo de Equivalencia 1%</field>
</record>
</odoo>
164 changes: 163 additions & 1 deletion l10n_es_extra_data/data/account_fiscal_position_template_data.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="fptt_extra_0a" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_extra"/>
Expand Down Expand Up @@ -166,4 +166,166 @@
<field name="tax_src_id" ref="account_tax_template_p_iva5_a"/>
<field name="tax_dest_id" ref="l10n_es.account_tax_template_p_irpf2"/>
</record>

<!-- Añadido por Acysos en extra_data de la 13 -->
<record id="fptt_extra_2b" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_extra" />
<field name="tax_src_id" ref="account_tax_template_p_iva2_bc" />
<field name="tax_dest_id" ref="account_tax_template_p_iva2_ibc" />
</record>
<record id="fptt_extra_2s" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_extra" />
<field name="tax_src_id" ref="account_tax_template_p_iva2_sc" />
<field name="tax_dest_id" ref="account_tax_template_p_iva2_isc" />
</record>
<record id="fptt_extra_7-5b" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_extra" />
<field name="tax_src_id" ref="account_tax_template_p_iva7-5_bc" />
<field name="tax_dest_id" ref="account_tax_template_p_iva7-5_ibc" />
</record>
<record id="fptt_extra_7-5s" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_extra" />
<field name="tax_src_id" ref="account_tax_template_p_iva7-5_sc" />
<field name="tax_dest_id" ref="account_tax_template_p_iva7-5_isc" />
</record>
<record id="fptt_extra_ventas_2b" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_extra" />
<field name="tax_src_id" ref="account_tax_template_s_iva2b" />
<field name="tax_dest_id" ref="l10n_es.account_tax_template_s_iva0_e" />
</record>
<record id="fptt_extra_ventas_2s" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_extra" />
<field name="tax_src_id" ref="account_tax_template_s_iva2s" />
<field name="tax_dest_id" ref="l10n_es.account_tax_template_s_iva_e" />
</record>
<record id="fptt_extra_ventas_7-5b" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_extra" />
<field name="tax_src_id" ref="account_tax_template_s_iva7-5b" />
<field name="tax_dest_id" ref="l10n_es.account_tax_template_s_iva0_e" />
</record>
<record id="fptt_extra_ventas_7-5s" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_extra" />
<field name="tax_src_id" ref="account_tax_template_s_iva7-5s" />
<field name="tax_dest_id" ref="l10n_es.account_tax_template_s_iva_e" />
</record>
<record id="fptt_intra_2b" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_intra" />
<field name="tax_src_id" ref="account_tax_template_p_iva2_bc" />
<field name="tax_dest_id" ref="account_tax_template_p_iva2_ic_bc" />
</record>
<record id="fptt_intra_2s" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_intra" />
<field name="tax_src_id" ref="account_tax_template_p_iva2_sc" />
<field name="tax_dest_id" ref="account_tax_template_p_iva2_ic_sc" />
</record>
<record id="fptt_intra_7-5b" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_intra" />
<field name="tax_src_id" ref="account_tax_template_p_iva7-5_bc" />
<field name="tax_dest_id" ref="account_tax_template_p_iva7-5_ic_bc" />
</record>
<record id="fptt_intra_7-5s" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_intra" />
<field name="tax_src_id" ref="account_tax_template_p_iva7-5_sc" />
<field name="tax_dest_id" ref="account_tax_template_p_iva7-5_ic_sc" />
</record>
<record id="fptt_intra_ventas_2b" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_intra" />
<field name="tax_src_id" ref="account_tax_template_s_iva2b" />
<field name="tax_dest_id" ref="l10n_es.account_tax_template_s_iva0_ic" />
</record>
<record id="fptt_intra_ventas_2s" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_intra" />
<field name="tax_src_id" ref="account_tax_template_s_iva2s" />
<field name="tax_dest_id" ref="l10n_es.account_tax_template_s_iva0_sp_i" />
</record>
<record id="fptt_intra_ventas_7-5b" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_intra" />
<field name="tax_src_id" ref="account_tax_template_s_iva7-5b" />
<field name="tax_dest_id" ref="l10n_es.account_tax_template_s_iva0_ic" />
</record>
<record id="fptt_intra_ventas_7-5s" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_intra" />
<field name="tax_src_id" ref="account_tax_template_s_iva7-5s" />
<field name="tax_dest_id" ref="l10n_es.account_tax_template_s_iva0_sp_i" />
</record>
<record id="fptt_recargo_2b" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_s_iva2b" />
<field name="tax_dest_id" ref="account_tax_template_s_iva2b" />
</record>
<record id="fptt_recargo_2b_2" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_s_iva2b" />
<field name="tax_dest_id" ref="account_tax_template_s_req026" />
</record>
<record id="fptt_recargo_2s" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_s_iva2s" />
<field name="tax_dest_id" ref="account_tax_template_s_iva2s" />
</record>
<record id="fptt_recargo_2s_2" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_s_iva2s" />
<field name="tax_dest_id" ref="account_tax_template_s_req026" />
</record>
<record id="fptt_recargo7-5b" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_s_iva7-5b" />
<field name="tax_dest_id" ref="account_tax_template_s_iva7-5b" />
</record>
<record id="fptt_recargo_7-5b_2" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_s_iva7-5b" />
<field name="tax_dest_id" ref="account_tax_template_s_req1" />
</record>
<record id="fptt_recargo_7-5s" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_s_iva7-5s" />
<field name="tax_dest_id" ref="account_tax_template_s_iva7-5s" />
</record>
<record id="fptt_recargo_7-5s_2" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_s_iva7-5s" />
<field name="tax_dest_id" ref="account_tax_template_s_req1" />
</record>
<record id="fptt_recargo_buy_2b" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_p_iva2_bc" />
<field name="tax_dest_id" ref="account_tax_template_p_iva2_bc" />
</record>
<record id="fptt_recargo_buy_2b_2" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_p_iva2_bc" />
<field name="tax_dest_id" ref="account_tax_template_p_req026" />
</record>
<record id="fptt_recargo_buy_2s" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_p_iva2_sc" />
<field name="tax_dest_id" ref="account_tax_template_p_iva2_sc" />
</record>
<record id="fptt_recargo_buy_2s_2" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_p_iva2_sc" />
<field name="tax_dest_id" ref="account_tax_template_p_req026" />
</record>
<record id="fptt_recargo_buy_7-5b" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_p_iva7-5_bc" />
<field name="tax_dest_id" ref="account_tax_template_p_iva7-5_bc" />
</record>
<record id="fptt_recargo_buy_7-5b_2" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_p_iva7-5_bc" />
<field name="tax_dest_id" ref="account_tax_template_p_req1" />
</record>
<record id="fptt_recargo_buy_7-5s" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_p_iva7-5_sc" />
<field name="tax_dest_id" ref="account_tax_template_p_iva7-5_sc" />
</record>
<record id="fptt_recargo_buy_7-5s_2" model="account.fiscal.position.tax.template">
<field name="position_id" ref="l10n_es.fp_recargo" />
<field name="tax_src_id" ref="account_tax_template_p_iva7-5_sc" />
<field name="tax_dest_id" ref="account_tax_template_p_req1" />
</record>
</odoo>
Loading

0 comments on commit 2b57abc

Please sign in to comment.