[MIG] account_fiscal_position_vat_check: Migration to 16.0
This commit is contained in:
parent
7324d041b4
commit
c930ca5889
@ -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",
|
||||||
|
@ -9,18 +9,15 @@
|
|||||||
<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
|
||||||
><field
|
><field
|
||||||
name="property_account_position_id"
|
name="property_account_position_id"
|
||||||
readonly="1"
|
readonly="1"
|
||||||
|
Loading…
Reference in New Issue
Block a user