The purpose of this partner is that we do not need to report to AFIP the identification number. Since this partner identification was configured as DNI it was throwing an error when validate an invoice for that partner in AFIP, AFIP was requesting us to sent the DNI number. Now we activate the Sigd "Sin identificar/venta global diaria" identification type (code 99), proper configure the it to Anonymous Final Consumer partner, with this change AFIP validate the invoice directly and does not request us the identification number. Now we set this partner sequence to the biggest one so far to show this identification type as the last in the list of identifications types closes odoo/odoo#42981 X-original-commit: 842306b06984f4357f9e3cfdbb58bad828a1a627 Signed-off-by: Josse Colpaert <jco@openerp.com>
24 lines
956 B
XML
24 lines
956 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo noupdate="True">
|
|
|
|
<record model='res.partner' id='par_cfa'>
|
|
<field name='name'>Consumidor Final Anónimo</field>
|
|
<field name='l10n_latam_identification_type_id' ref='l10n_ar.it_Sigd'/>
|
|
<field name='l10n_ar_afip_responsibility_type_id' ref="res_CF"/>
|
|
</record>
|
|
|
|
<record model='res.partner' id='par_iibb_pagar'>
|
|
<field name='name'>IIBB a pagar</field>
|
|
</record>
|
|
|
|
<record id="partner_afip" model="res.partner">
|
|
<field name="name">AFIP</field>
|
|
<field name="is_company" eval="True"/>
|
|
<field name='l10n_latam_identification_type_id' ref="l10n_ar.it_cuit"/>
|
|
<field name='vat'>33693450239</field>
|
|
<field name='l10n_ar_afip_responsibility_type_id' ref="res_IVANR"/>
|
|
<field name='l10n_ar_special_purchase_document_type_ids' eval='[(4, ref("dc_desp_imp"), False), (4, ref("dc_imp_serv"), False)]'/>
|
|
</record>
|
|
|
|
</odoo>
|