Skip to content

Commit

Permalink
[FIX] l10n_pt_vat: Fiscal zone invisible if country is not Portugal
Browse files Browse the repository at this point in the history
@moduon MT-9204
  • Loading branch information
EmilioPascual committed Feb 26, 2025
1 parent dc80489 commit b3c6087
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion l10n_pt_vat/views/account_tax_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
<field name="inherit_id" ref="account.view_tax_form" />
<field name="arch" type="xml">
<field name="tax_group_id" position="after">
<field name="l10n_pt_fiscal_zone" />
<field
name="l10n_pt_fiscal_zone"
attrs="{'invisible': [('country_code', '!=', 'PT')]}"
/>
</field>
</field>
</record>
Expand Down

0 comments on commit b3c6087

Please sign in to comment.