mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
account_fiscal_position_vat_check: remove field from warning banner
Remove <field name="property_account_position_id"> from warning banner because other modules inherit the partner form view and put fields after property_account_position_id (example : OCA module intrastat_product) and we don't want those fields to be displayed in the warning banner!
This commit is contained in:
@@ -20,11 +20,8 @@
|
||||
role="alert"
|
||||
attrs="{'invisible': [('show_warning_vat_required', '=', False)]}"
|
||||
>
|
||||
<b>Missing VAT number</b>: this partner has the fiscal position <em
|
||||
><field
|
||||
name="property_account_position_id"
|
||||
readonly="1"
|
||||
/></em> that require to know the VAT number of the partner.
|
||||
<b
|
||||
>Missing VAT number</b>: this partner has a fiscal position that requires to know the VAT number of the partner.
|
||||
</div>
|
||||
</div>
|
||||
<group name="fiscal_information" position="inside">
|
||||
|
||||
Reference in New Issue
Block a user