[FIX] base_vat: vat_vies_container view priority

`base_vat.view_partner_base_vat_form` creates a new div `vat_vies_container` referenced by other views such as `l10n_mx_edi_stock.mx_partner_operator_form`

All these extension views have the same priority and in this case the later is trying to access the div before it is even created.

We fix this issue by changing the priority of the view that creates the div from 16 to 15.

closes odoo/odoo#161902

X-original-commit: 67e7289296ea12e69cb07864a2974cd5d4e46cf2
Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
agrabsi
2024-04-15 18:41:49 +00:00
parent f0016849c1
commit 541251c79e
@@ -4,6 +4,7 @@
<record id="view_partner_base_vat_form" model="ir.ui.view">
<field name="model">res.partner</field>
<field name="name">view.partner.base.vat.form</field>
<field name="priority">15</field>
<field name="inherit_id" ref="base.view_partner_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='vat']" position="after">