Skip to content

Commit

Permalink
[ADD] l10n_ar: contact vat field editable
Browse files Browse the repository at this point in the history
To let the user to set the vat field different from the partner when the
contact is set as is company.
  • Loading branch information
zaoral authored and jjscarafia committed Oct 19, 2021
1 parent 9f7b6e4 commit 42d13e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/l10n_ar/views/res_partner_view.xml
Expand Up @@ -7,7 +7,7 @@
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<field name="vat" position="after">
<field name="l10n_ar_afip_responsibility_type_id" string="AFIP Responsibility" options="{'no_open': True, 'no_create': True}" attrs="{'readonly': [('parent_id','!=',False)]}"/>
<field name="l10n_ar_afip_responsibility_type_id" string="AFIP Responsibility" options="{'no_open': True, 'no_create': True}" attrs="{'readonly': [('is_company','=',False),('parent_id','!=',False)]}"/>
</field>
</field>
</record>
Expand Down

0 comments on commit 42d13e9

Please sign in to comment.