[ADD]:Added Upstream Patch for l10n_es

This commit is contained in:
Rutuba Chavda 2018-07-09 17:44:59 +05:30
parent 33570932ce
commit f2c6e2fcca
3 changed files with 46 additions and 0 deletions

View File

@ -3,6 +3,7 @@
# List of contributors:
# Jordi Esteve <jesteve@zikzakmedia.com>
# Ignacio Ibeas <ignacio@acysos.com>
# Dpto. Consultoría Grupo Opentia <consultoria@opentia.es>
# Pedro M. Baeza <pedro.baeza@tecnativa.com>
# Carlos Liébana <carlos.liebana@factorlibre.com>

View File

@ -113,6 +113,16 @@
<field name="chart_template_id" ref="account_chart_template_common"/>
</record>
<record id="fp_reagyp_a" model="account.fiscal.position.template">
<field name="name">REAGYP - Agricultura</field>
<field name="chart_template_id" ref="l10n_es.account_chart_template_common"/>
</record>
<record id="fp_reagyp_gp" model="account.fiscal.position.template">
<field name="name">REAGYP - Ganadería y pesca</field>
<field name="chart_template_id" ref="l10n_es.account_chart_template_common"/>
</record>
<!-- ************************************************************* -->
<!-- Fiscal Position Tax Templates -->
<!-- ************************************************************* -->
@ -2889,6 +2899,28 @@
<field name="tax_dest_id" ref="account_tax_template_s_iva0_isp"/>
</record>
<!-- Régimen especial de Agricultura, Ganaderia y Pesca -->
<record id="fptt_reagyp_a_4b_1" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fp_reagyp_a"/>
<field name="tax_src_id" ref="l10n_es.account_tax_template_p_iva4_bc"/>
<field name="tax_dest_id" ref="l10n_es.account_tax_template_p_iva12_agr"/>
</record>
<record id="fptt_reagyp_a_4b_2" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fp_reagyp_a"/>
<field name="tax_src_id" ref="l10n_es.account_tax_template_p_iva4_bc"/>
<field name="tax_dest_id" ref="l10n_es.account_tax_template_p_irpf2"/>
</record>
<record id="fptt_reagyp_gp_4b_1" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fp_reagyp_gp"/>
<field name="tax_src_id" ref="l10n_es.account_tax_template_p_iva4_bc"/>
<field name="tax_dest_id" ref="account_tax_template_p_iva105_gan"/>
</record>
<record id="fptt_reagyp_gp_4b_2" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fp_reagyp_gp"/>
<field name="tax_src_id" ref="l10n_es.account_tax_template_p_iva4_bc"/>
<field name="tax_dest_id" ref="l10n_es.account_tax_template_p_irpf2"/>
</record>
<!-- ************************************************************* -->
<!-- Fiscal Position Account Templates -->
<!-- ************************************************************* -->

View File

@ -1044,6 +1044,18 @@
<field name="tax_group_id" ref="tax_group_iva_12"/>
<field name="tag_ids" eval="[(6, False, [ref('mod_303_42')])]"/>
</record>
<record id="account_tax_template_p_iva105_gan" model="account.tax.template">
<field name="description">P_IVA105_GAN</field>
<field name="type_tax_use">purchase</field>
<field name="account_id" ref="l10n_es.account_common_472"/>
<field name="name">10,5% IVA Soportado régimen ganadero o pesca</field>
<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="10.5"/>
<field name="amount_type">percent</field>
<field name="include_base_amount" eval="1"/>
<field name="tag_ids" eval="[(6, False, [ref('mod_303_42')])]"/>
</record>
<record id="account_tax_template_s_iva0_e" model="account.tax.template">
<field name="description">S_IVA0_E</field>
<field name="type_tax_use">sale</field>
@ -1330,6 +1342,7 @@
<field name="refund_account_id" ref="l10n_es.account_common_4751"/>
<field name="chart_template_id" ref="l10n_es.account_chart_template_common"/>
<field name="amount" eval="-2"/>
<field name="sequence" eval="2"/>
<field name="amount_type">percent</field>
<field name="tax_group_id" ref="tax_group_retenciones_2"/>
<field name="tag_ids" eval="[(6, False, [ref('mod_111_08'), ref('mod_111_09')])]"/>