From 8efcaa7c9b56dbec00178ffe90c15640f48b19ec Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Wed, 7 Sep 2022 21:02:09 +0200 Subject: [PATCH] account_fiscal_position_vat_check: remove field from warning banner Remove 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! --- account_fiscal_position_vat_check/views/res_partner.xml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/account_fiscal_position_vat_check/views/res_partner.xml b/account_fiscal_position_vat_check/views/res_partner.xml index f805e58f7..e1d192eeb 100644 --- a/account_fiscal_position_vat_check/views/res_partner.xml +++ b/account_fiscal_position_vat_check/views/res_partner.xml @@ -20,11 +20,8 @@ role="alert" attrs="{'invisible': [('show_warning_vat_required', '=', False)]}" > - Missing VAT number: this partner has the fiscal position that require to know the VAT number of the partner. + Missing VAT number: this partner has a fiscal position that requires to know the VAT number of the partner.