<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data noupdate="0">

      <!--
      Definición de posiciones fiscales Régimen Nacional, Recargo de Equivalencia,
      Extracomunitario, Intracomunitario y Retención de IRPF 18%, 15%, 7%, 1%

      Basado en fiscal_templates.xml, con los siguientes cambios:

      - Se sustituyen los códigos:
            vat_code_chart_root => vat_code_chart_pymes_root
            l10nES_chart_template => l10nES_chart_template_pymes
            pgc_* => pgc_pymes_*
            iva_* => iva_pymes_*
            re_* => re_pymes_*
            irpf_* => irpf_pymes_*
            fp_* => fp_pymes_*
            fptt_* => fptt_pymes_*
            fpat_* => fpat_pymes_*
            irpf_sale => irpf_pymes_sale_*

      Borja López Soilán (Pexego) - borjals@pexego.es (2009-09-09)

      Jordi Esteve (Zikzakmedia) - jesteve@zikzakmedia.com (2009-11-21)
        Corrección: El mapeo de cuentas de las posiciones fiscales Régimen Extracomunitario y Intracomunitario
        no se diferenciaban entre el plan general y el plan pyme (fpat_* => fpat_pymes_*)

      Jordi Esteve (Zikzakmedia) - jesteve@zikzakmedia.com (2009-11-21)
        Añadidas posiciones fiscales Retención de IRPF 18%, 15%, 7%, 1% :

      Borja López Soilán (Pexego) - borjals@pexego.es (2009-09-09)
        Corrección: Las nuevas posiciones fiscales de retención IRPF tenían
        referencias incorrectas:
            iva_* => iva_pymes_*
            irpf_* => irpf_pymes_*

         Añadidas posiciones fiscales Retención de IRPF 19%, 2% :
           Jordi Esteve (Zikzakmedia) - jesteve@zikzakmedia.com 2010-02-18 -->

	<!-- Fiscal Position Templates -->
        <record id="fp_pymes_nacional" model="account.fiscal.position.template">
            <field name="name">Régimen Nacional</field>
            <field name="chart_template_id" ref="l10nES_chart_template_pymes"/>
        </record>

        <record id="fp_pymes_recargo" model="account.fiscal.position.template">
            <field name="name">Recargo de Equivalencia</field>
            <field name="chart_template_id" ref="l10nES_chart_template_pymes"/>
        </record>

        <record id="fp_pymes_extra" model="account.fiscal.position.template">
            <field name="name">Régimen Extracomunitario</field>
            <field name="chart_template_id" ref="l10nES_chart_template_pymes"/>
        </record>

        <record id="fp_pymes_intra" model="account.fiscal.position.template">
            <field name="name">Régimen Intracomunitario</field>
            <field name="chart_template_id" ref="l10nES_chart_template_pymes"/>
        </record>

        <record id="fp_pymes_irpf19" model="account.fiscal.position.template">
            <field name="name">Retención IRPF 19%</field>
            <field name="chart_template_id" ref="l10nES_chart_template_pymes"/>
        </record>

        <record id="fp_pymes_irpf18" model="account.fiscal.position.template">
            <field name="name">Retención IRPF 18%</field>
            <field name="chart_template_id" ref="l10nES_chart_template_pymes"/>
        </record>

        <record id="fp_pymes_irpf15" model="account.fiscal.position.template">
            <field name="name">Retención IRPF 15%</field>
            <field name="chart_template_id" ref="l10nES_chart_template_pymes"/>
        </record>

        <record id="fp_pymes_irpf7" model="account.fiscal.position.template">
            <field name="name">Retención IRPF 7%</field>
            <field name="chart_template_id" ref="l10nES_chart_template_pymes"/>
        </record>

        <record id="fp_pymes_irpf2" model="account.fiscal.position.template">
            <field name="name">Retención IRPF 2%</field>
            <field name="chart_template_id" ref="l10nES_chart_template_pymes"/>
        </record>

        <record id="fp_pymes_irpf1" model="account.fiscal.position.template">
            <field name="name">Retención IRPF 1%</field>
            <field name="chart_template_id" ref="l10nES_chart_template_pymes"/>
        </record>


	<!-- Fiscal Position Tax Templates -->
	<!-- ************************************************************* -->

	<!-- Extracomunitarios fiscal.position.tax.template-->

        <record id="fptt_pymes_extra_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="iva_pymes_X16_compras_bc" />
        </record>
        <record id="fptt_pymes_extra_16_inv" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_16_inv" />
            <field name="tax_dest_id" ref="iva_pymes_X16_compras_bi" />
        </record>
        <record id="fptt_pymes_extra_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="iva_pymes_X18_compras_bc" />
        </record>
        <record id="fptt_pymes_extra_18_inv" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_18_inv" />
            <field name="tax_dest_id" ref="iva_pymes_X18_compras_bi" />
        </record>

        <record id="fptt_pymes_extra_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="iva_pymes_X7_compras_bc" />
        </record>
        <record id="fptt_pymes_extra_7_inv" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_7_inv" />
            <field name="tax_dest_id" ref="iva_pymes_X7_compras_bi" />
        </record>
        <record id="fptt_pymes_extra_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="iva_pymes_X8_compras_bc" />
        </record>
        <record id="fptt_pymes_extra_8_inv" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_8_inv" />
            <field name="tax_dest_id" ref="iva_pymes_X8_compras_bi" />
        </record>
        <record id="fptt_pymes_extra_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="iva_pymes_X4_compras_bc" />
        </record>
        <record id="fptt_pymes_extra_4_inv" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_4_inv" />
            <field name="tax_dest_id" ref="iva_pymes_X4_compras_bi" />
        </record>

        <record id="fptt_pymes_extra_ventas_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="iva_pymes_X0" />
        </record>

        <record id="fptt_pymes_extra_ventas_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="iva_pymes_X0" />
        </record>
        <record id="fptt_pymes_extra_ventas_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="iva_pymes_X0" />
        </record>

        <record id="fptt_pymes_extra_ventas_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="iva_pymes_X0" />
        </record>
        <record id="fptt_pymes_extra_ventas_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="iva_pymes_X0" />
        </record>

	<!-- Intracomunitarios fiscal.position.tax.template-->

        <record id="fptt_pymes_intra_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="iva_pymes_IC_compras_16_bc" />
        </record>
        <record id="fptt_pymes_intra_16_inv" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_16_inv" />
            <field name="tax_dest_id" ref="iva_pymes_IC_compras_16_bi" />
        </record>
        <record id="fptt_pymes_intra_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="iva_pymes_IC_compras_18_bc" />
        </record>
        <record id="fptt_pymes_intra_18_inv" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_18_inv" />
            <field name="tax_dest_id" ref="iva_pymes_IC_compras_18_bi" />
        </record>

        <record id="fptt_pymes_intra_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="iva_pymes_IC_compras_7_bc" />
        </record>
        <record id="fptt_pymes_intra_7_inv" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_7_inv" />
            <field name="tax_dest_id" ref="iva_pymes_IC_compras_7_bi" />
        </record>
        <record id="fptt_pymes_intra_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="iva_pymes_IC_compras_8_bc" />
        </record>
        <record id="fptt_pymes_intra_8_inv" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_8_inv" />
            <field name="tax_dest_id" ref="iva_pymes_IC_compras_8_bi" />
        </record>
        <record id="fptt_pymes_intra_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="iva_pymes_IC_compras_4_bc" />
        </record>
        <record id="fptt_pymes_intra_4_inv" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_sop_4_inv" />
            <field name="tax_dest_id" ref="iva_pymes_IC_compras_4_bi" />
        </record>

        <record id="fptt_pymes_intra_ventas_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="iva_pymes_IO" />
        </record>

        <record id="fptt_pymes_intra_ventas_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="iva_pymes_IO" />
        </record>
        <record id="fptt_pymes_intra_ventas_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="iva_pymes_IO" />
        </record>

        <record id="fptt_pymes_intra_ventas_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="iva_pymes_IO" />
        </record>
        <record id="fptt_pymes_intra_ventas_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="iva_pymes_IO" />
        </record>

	<!-- Recargo de equivalencia fiscal.position.tax.template-->

        <record id="fptt_pymes_recargo_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_recargo"  />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="iva_pymes_rep_16" />
        </record>

        <record id="fptt_pymes_recargo_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_recargo"  />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="re_pymes_4" />
        </record>
	
        <record id="fptt_pymes_recargo_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_recargo"  />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="iva_pymes_rep_18" />
        </record>

        <record id="fptt_pymes_recargo_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_recargo"  />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="re_pymes_4" />
        </record>

        <record id="fptt_pymes_recargo_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_recargo"  />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="iva_pymes_rep_7" />
        </record>

        <record id="fptt_pymes_recargo_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_recargo"  />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="re_pymes_1" />
        </record>
	
        <record id="fptt_pymes_recargo_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_recargo"  />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="iva_pymes_rep_8" />
        </record>

        <record id="fptt_pymes_recargo_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_recargo"  />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="re_pymes_1" />
        </record>

        <record id="fptt_pymes_recargo_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_recargo"  />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="iva_pymes_rep_4" />
        </record>

        <record id="fptt_pymes_recargo_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_recargo"  />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="re_pymes_05" />
        </record>

	<!-- Extracomunitarios fiscal.position.account.template-->

        <record id="fpat_pymes_extra_acc_1" model="account.fiscal.position.account.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="account_src_id" ref="pgc_pymes_7000" />
            <field name="account_dest_id" ref="pgc_pymes_7002" />
        </record>

        <record id="fpat_pymes_extra_acc_2" model="account.fiscal.position.account.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="account_src_id" ref="pgc_pymes_7010" />
            <field name="account_dest_id" ref="pgc_pymes_7012" />
        </record>

        <record id="fpat_pymes_extra_acc_3" model="account.fiscal.position.account.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="account_src_id" ref="pgc_pymes_7020" />
            <field name="account_dest_id" ref="pgc_pymes_7022" />
        </record>

        <record id="fpat_pymes_extra_acc_4" model="account.fiscal.position.account.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="account_src_id" ref="pgc_pymes_7030" />
            <field name="account_dest_id" ref="pgc_pymes_7032" />
        </record>

        <record id="fpat_pymes_extra_acc_5" model="account.fiscal.position.account.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="account_src_id" ref="pgc_pymes_7040" />
            <field name="account_dest_id" ref="pgc_pymes_7042" />
        </record>

        <record id="fpat_pymes_extra_acc_6" model="account.fiscal.position.account.template">
            <field name="position_id" ref="fp_pymes_extra"  />
            <field name="account_src_id" ref="pgc_pymes_7050" />
            <field name="account_dest_id" ref="pgc_pymes_7052" />
        </record>

	<!-- Intracomunitarios fiscal.position.account.template-->

        <record id="fpat_pymes_intra_acc_1" model="account.fiscal.position.account.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="account_src_id" ref="pgc_pymes_7000" />
            <field name="account_dest_id" ref="pgc_pymes_7001" />
        </record>

        <record id="fpat_pymes_intra_acc_2" model="account.fiscal.position.account.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="account_src_id" ref="pgc_pymes_7010" />
            <field name="account_dest_id" ref="pgc_pymes_7011" />
        </record>

        <record id="fpat_pymes_intra_acc_3" model="account.fiscal.position.account.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="account_src_id" ref="pgc_pymes_7020" />
            <field name="account_dest_id" ref="pgc_pymes_7021" />
        </record>

        <record id="fpat_pymes_intra_acc_4" model="account.fiscal.position.account.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="account_src_id" ref="pgc_pymes_7030" />
            <field name="account_dest_id" ref="pgc_pymes_7031" />
        </record>

        <record id="fpat_pymes_intra_acc_5" model="account.fiscal.position.account.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="account_src_id" ref="pgc_pymes_7040" />
            <field name="account_dest_id" ref="pgc_pymes_7041" />
        </record>

        <record id="fpat_pymes_intra_acc_6" model="account.fiscal.position.account.template">
            <field name="position_id" ref="fp_pymes_intra"  />
            <field name="account_src_id" ref="pgc_pymes_7050" />
            <field name="account_dest_id" ref="pgc_pymes_7051" />
        </record>


	<!-- Retenciones IRPF 19% fiscal.position.tax.template-->

        <record id="fptt_pymes_irpf19sale_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="iva_pymes_rep_18" />
        </record>

        <record id="fptt_pymes_irpf19sale_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_19" />
        </record>

        <record id="fptt_pymes_irpf19sale_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="iva_pymes_rep_8" />
        </record>

        <record id="fptt_pymes_irpf19sale_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_19" />
        </record>

        <record id="fptt_pymes_irpf19sale_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="iva_pymes_rep_16" />
        </record>

        <record id="fptt_pymes_irpf19sale_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_19" />
        </record>

        <record id="fptt_pymes_irpf19sale_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="iva_pymes_rep_7" />
        </record>

        <record id="fptt_pymes_irpf19sale_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_19" />
        </record>

        <record id="fptt_pymes_irpf19sale_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="iva_pymes_rep_4" />
        </record>

        <record id="fptt_pymes_irpf19sale_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_19" />
        </record>

        <record id="fptt_pymes_irpf19_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="iva_pymes_sop_18" />
        </record>

        <record id="fptt_pymes_irpf19_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="irpf_pymes_19" />
        </record>

        <record id="fptt_pymes_irpf19_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="iva_pymes_sop_8" />
        </record>

        <record id="fptt_pymes_irpf19_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="irpf_pymes_19" />
        </record>

        <record id="fptt_pymes_irpf19_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="iva_pymes_sop_16" />
        </record>

        <record id="fptt_pymes_irpf19_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="irpf_pymes_19" />
        </record>

        <record id="fptt_pymes_irpf19_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="iva_pymes_sop_7" />
        </record>

        <record id="fptt_pymes_irpf19_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="irpf_pymes_19" />
        </record>

        <record id="fptt_pymes_irpf19_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="iva_pymes_sop_4" />
        </record>

        <record id="fptt_pymes_irpf19_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf19" />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="irpf_pymes_19" />
        </record>

	<!-- Retenciones IRPF 18% fiscal.position.tax.template-->

        <record id="fptt_pymes_irpf18sale_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="iva_pymes_rep_18" />
        </record>

        <record id="fptt_pymes_irpf18sale_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_18" />
        </record>

        <record id="fptt_pymes_irpf18sale_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="iva_pymes_rep_8" />
        </record>

        <record id="fptt_pymes_irpf18sale_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_18" />
        </record>

        <record id="fptt_pymes_irpf18sale_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="iva_pymes_rep_16" />
        </record>

        <record id="fptt_pymes_irpf18sale_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_18" />
        </record>

        <record id="fptt_pymes_irpf18sale_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="iva_pymes_rep_7" />
        </record>

        <record id="fptt_pymes_irpf18sale_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_18" />
        </record>

        <record id="fptt_pymes_irpf18sale_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="iva_pymes_rep_4" />
        </record>

        <record id="fptt_pymes_irpf18sale_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_18" />
        </record>

        <record id="fptt_pymes_irpf18_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="iva_pymes_sop_18" />
        </record>

        <record id="fptt_pymes_irpf18_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="irpf_pymes_18" />
        </record>

        <record id="fptt_pymes_irpf18_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="iva_pymes_sop_8" />
        </record>

        <record id="fptt_pymes_irpf18_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="irpf_pymes_18" />
        </record>

        <record id="fptt_pymes_irpf18_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="iva_pymes_sop_16" />
        </record>

        <record id="fptt_pymes_irpf18_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="irpf_pymes_18" />
        </record>

        <record id="fptt_pymes_irpf18_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="iva_pymes_sop_7" />
        </record>

        <record id="fptt_pymes_irpf18_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="irpf_pymes_18" />
        </record>

        <record id="fptt_pymes_irpf18_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="iva_pymes_sop_4" />
        </record>

        <record id="fptt_pymes_irpf18_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf18" />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="irpf_pymes_18" />
        </record>

	<!-- Retenciones IRPF 15% fiscal.position.tax.template-->

        <record id="fptt_pymes_irpf15sale_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="iva_pymes_rep_18" />
        </record>

        <record id="fptt_pymes_irpf15sale_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_15" />
        </record>

        <record id="fptt_pymes_irpf15sale_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="iva_pymes_rep_8" />
        </record>

        <record id="fptt_pymes_irpf15sale_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_15" />
        </record>

        <record id="fptt_pymes_irpf15sale_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="iva_pymes_rep_16" />
        </record>

        <record id="fptt_pymes_irpf15sale_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_15" />
        </record>

        <record id="fptt_pymes_irpf15sale_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="iva_pymes_rep_7" />
        </record>

        <record id="fptt_pymes_irpf15sale_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_15" />
        </record>

        <record id="fptt_pymes_irpf15sale_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="iva_pymes_rep_4" />
        </record>

        <record id="fptt_pymes_irpf15sale_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_15" />
        </record>

        <record id="fptt_pymes_irpf15_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="iva_pymes_sop_18" />
        </record>

        <record id="fptt_pymes_irpf15_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="irpf_pymes_15" />
        </record>

        <record id="fptt_pymes_irpf15_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="iva_pymes_sop_8" />
        </record>

        <record id="fptt_pymes_irpf15_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="irpf_pymes_15" />
        </record>

        <record id="fptt_pymes_irpf15_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="iva_pymes_sop_16" />
        </record>

        <record id="fptt_pymes_irpf15_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="irpf_pymes_15" />
        </record>

        <record id="fptt_pymes_irpf15_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="iva_pymes_sop_7" />
        </record>

        <record id="fptt_pymes_irpf15_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="irpf_pymes_15" />
        </record>

        <record id="fptt_pymes_irpf15_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="iva_pymes_sop_4" />
        </record>

        <record id="fptt_pymes_irpf15_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf15" />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="irpf_pymes_15" />
        </record>

	<!-- Retenciones IRPF 7% fiscal.position.tax.template-->

        <record id="fptt_pymes_irpf7sale_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="iva_pymes_rep_18" />
        </record>

        <record id="fptt_pymes_irpf7sale_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_7" />
        </record>

        <record id="fptt_pymes_irpf7sale_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="iva_pymes_rep_8" />
        </record>

        <record id="fptt_pymes_irpf7sale_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_7" />
        </record>

        <record id="fptt_pymes_irpf7sale_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="iva_pymes_rep_16" />
        </record>

        <record id="fptt_pymes_irpf7sale_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_7" />
        </record>

        <record id="fptt_pymes_irpf7sale_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="iva_pymes_rep_7" />
        </record>

        <record id="fptt_pymes_irpf7sale_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_7" />
        </record>

        <record id="fptt_pymes_irpf7sale_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="iva_pymes_rep_4" />
        </record>

        <record id="fptt_pymes_irpf7sale_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_7" />
        </record>

        <record id="fptt_pymes_irpf7_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="iva_pymes_sop_18" />
        </record>

        <record id="fptt_pymes_irpf7_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="irpf_pymes_7" />
        </record>

        <record id="fptt_pymes_irpf7_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="iva_pymes_sop_8" />
        </record>

        <record id="fptt_pymes_irpf7_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="irpf_pymes_7" />
        </record>

        <record id="fptt_pymes_irpf7_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="iva_pymes_sop_16" />
        </record>

        <record id="fptt_pymes_irpf7_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="irpf_pymes_7" />
        </record>

        <record id="fptt_pymes_irpf7_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="iva_pymes_sop_7" />
        </record>

        <record id="fptt_pymes_irpf7_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="irpf_pymes_7" />
        </record>

        <record id="fptt_pymes_irpf7_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="iva_pymes_sop_4" />
        </record>

        <record id="fptt_pymes_irpf7_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf7" />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="irpf_pymes_7" />
        </record>

	<!-- Retenciones IRPF 2% fiscal.position.tax.template-->

        <record id="fptt_pymes_irpf2sale_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="iva_pymes_rep_18" />
        </record>

        <record id="fptt_pymes_irpf2sale_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_2" />
        </record>

        <record id="fptt_pymes_irpf2sale_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="iva_pymes_rep_8" />
        </record>

        <record id="fptt_pymes_irpf2sale_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_2" />
        </record>

        <record id="fptt_pymes_irpf2sale_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="iva_pymes_rep_16" />
        </record>

        <record id="fptt_pymes_irpf2sale_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_2" />
        </record>

        <record id="fptt_pymes_irpf2sale_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="iva_pymes_rep_7" />
        </record>

        <record id="fptt_pymes_irpf2sale_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_2" />
        </record>

        <record id="fptt_pymes_irpf2sale_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="iva_pymes_rep_4" />
        </record>

        <record id="fptt_pymes_irpf2sale_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_2" />
        </record>

        <record id="fptt_pymes_irpf2_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="iva_pymes_sop_18" />
        </record>

        <record id="fptt_pymes_irpf2_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="irpf_pymes_2" />
        </record>

        <record id="fptt_pymes_irpf2_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="iva_pymes_sop_8" />
        </record>

        <record id="fptt_pymes_irpf2_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="irpf_pymes_2" />
        </record>

        <record id="fptt_pymes_irpf2_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="iva_pymes_sop_16" />
        </record>

        <record id="fptt_pymes_irpf2_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="irpf_pymes_2" />
        </record>

        <record id="fptt_pymes_irpf2_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="iva_pymes_sop_7" />
        </record>

        <record id="fptt_pymes_irpf2_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="irpf_pymes_2" />
        </record>

        <record id="fptt_pymes_irpf2_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="iva_pymes_sop_4" />
        </record>

        <record id="fptt_pymes_irpf2_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf2" />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="irpf_pymes_2" />
        </record>

	<!-- Retenciones IRPF 1% fiscal.position.tax.template-->

        <record id="fptt_pymes_irpf1sale_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="iva_pymes_rep_18" />
        </record>

        <record id="fptt_pymes_irpf1sale_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_rep_18" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_1" />
        </record>

        <record id="fptt_pymes_irpf1sale_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="iva_pymes_rep_8" />
        </record>

        <record id="fptt_pymes_irpf1sale_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_rep_8" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_1" />
        </record>

        <record id="fptt_pymes_irpf1sale_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="iva_pymes_rep_16" />
        </record>

        <record id="fptt_pymes_irpf1sale_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_rep_16" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_1" />
        </record>

        <record id="fptt_pymes_irpf1sale_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="iva_pymes_rep_7" />
        </record>

        <record id="fptt_pymes_irpf1sale_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_rep_7" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_1" />
        </record>

        <record id="fptt_pymes_irpf1sale_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="iva_pymes_rep_4" />
        </record>

        <record id="fptt_pymes_irpf1sale_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_rep_4" />
            <field name="tax_dest_id" ref="irpf_pymes_sale_1" />
        </record>

        <record id="fptt_pymes_irpf1_18" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="iva_pymes_sop_18" />
        </record>

        <record id="fptt_pymes_irpf1_18_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_sop_18" />
            <field name="tax_dest_id" ref="irpf_pymes_1" />
        </record>

        <record id="fptt_pymes_irpf1_8" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="iva_pymes_sop_8" />
        </record>

        <record id="fptt_pymes_irpf1_8_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_sop_8" />
            <field name="tax_dest_id" ref="irpf_pymes_1" />
        </record>

        <record id="fptt_pymes_irpf1_16" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="iva_pymes_sop_16" />
        </record>

        <record id="fptt_pymes_irpf1_16_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_sop_16" />
            <field name="tax_dest_id" ref="irpf_pymes_1" />
        </record>

        <record id="fptt_pymes_irpf1_7" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="iva_pymes_sop_7" />
        </record>

        <record id="fptt_pymes_irpf1_7_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_sop_7" />
            <field name="tax_dest_id" ref="irpf_pymes_1" />
        </record>

        <record id="fptt_pymes_irpf1_4" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="iva_pymes_sop_4" />
        </record>

        <record id="fptt_pymes_irpf1_4_2" model="account.fiscal.position.tax.template">
            <field name="position_id" ref="fp_pymes_irpf1" />
            <field name="tax_src_id" ref="iva_pymes_sop_4" />
            <field name="tax_dest_id" ref="irpf_pymes_1" />
        </record>

    </data>
</openerp>
