Skip to content

Commit

Permalink
Merge commit 'refs/pull/112460/head' of https://github.com/odoo/odoo
Browse files Browse the repository at this point in the history
…into 16.0-1454
  • Loading branch information
docker-odoo committed Feb 13, 2023
2 parents 7ec6ae3 + 1bd3e28 commit cec3f3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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
4 changes: 2 additions & 2 deletions addons/l10n_latam_base/views/res_partner_view.xml
Expand Up @@ -13,9 +13,9 @@
<field name="vat" position="after">
<label for="l10n_latam_identification_type_id" string="Identification Number"/>
<div>
<field name="l10n_latam_identification_type_id" options="{'no_open': True, 'no_create': True}" placeholder="Type" attrs="{'readonly': [('parent_id','!=',False)]}" class="oe_inline" domain="country_id and ['|', ('country_id', '=', False), ('country_id', '=', country_id)] or []" required="True"/>
<field name="l10n_latam_identification_type_id" options="{'no_open': True, 'no_create': True}" placeholder="Type" attrs="{'readonly': [('is_company','=',False),('parent_id','!=',False)]}" class="oe_inline" domain="country_id and ['|', ('country_id', '=', False), ('country_id', '=', country_id)] or []" required="True"/>
<span class="oe_read_only"> - </span>
<field name="vat" placeholder="Number" class="oe_inline" attrs="{'readonly': [('parent_id','!=',False)]}"/>
<field name="vat" placeholder="Number" class="oe_inline" attrs="{'readonly': [('is_company','=',False),('parent_id','!=',False)]}"/>
</div>
</field>
</field>
Expand Down
2 changes: 1 addition & 1 deletion odoo/addons/base/views/res_partner_views.xml
Expand Up @@ -211,7 +211,7 @@
attrs="{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False)]}"/>
</div>
</div>
<field name="vat" placeholder="e.g. BE0477472701" attrs="{'readonly': [('parent_id','!=',False)]}"/>
<field name="vat" placeholder="e.g. BE0477472701" attrs="{'readonly': [('is_company','=',False),('parent_id','!=',False)]}"/>
</group>
<group>
<field name="function" placeholder="e.g. Sales Director"
Expand Down

0 comments on commit cec3f3a

Please sign in to comment.