2
0

[MIG] account_fiscal_position_vat_check: Migration to 16.0

This commit is contained in:
syera bonneaux 2022-10-20 15:53:05 +02:00
parent 7324d041b4
commit c930ca5889
2 changed files with 3 additions and 6 deletions

View File

@ -4,7 +4,7 @@
{ {
"name": "Account Fiscal Position VAT Check", "name": "Account Fiscal Position VAT Check",
"version": "15.0.1.0.1", "version": "16.0.1.0.0",
"category": "Invoices & Payments", "category": "Invoices & Payments",
"license": "AGPL-3", "license": "AGPL-3",
"summary": "Check VAT on invoice validation", "summary": "Check VAT on invoice validation",

View File

@ -9,15 +9,12 @@
<record id="view_partner_property_form" model="ir.ui.view"> <record id="view_partner_property_form" model="ir.ui.view">
<field name="model">res.partner</field> <field name="model">res.partner</field>
<field name="inherit_id" ref="account.view_partner_property_form" /> <field name="inherit_id" ref="account.view_partner_property_form" />
<field
name="groups_id"
eval="[(4, ref('account.group_account_invoice')), (4, ref('account.group_account_readonly'))]"
/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<div role="alert" position="after"> <div role="alert" position="after">
<div <div
class="alert alert-warning" class="alert alert-warning"
role="alert" role="alert"
groups="account.group_account_invoice,account.group_account_readonly"
attrs="{'invisible': [('show_warning_vat_required', '=', False)]}" attrs="{'invisible': [('show_warning_vat_required', '=', False)]}"
> >
<b>Missing VAT number</b>: this partner has the fiscal position <em <b>Missing VAT number</b>: this partner has the fiscal position <em