[FIX] l10n_be_invoice_bba: group restricted fields in partner form

This module brands a view adding fields on the partner
form, after the field 'last_reconciliation_date'.

This field is added by the view
account.view_partner_property_form,
not by the view
base.view_partner_form

So, if the user do not have access to the view
account.view_partner_property_form, then
the field last_reconciliation_date wasn't in the view
and the inheriting view could be applied.

This inheritance worked only because
account.view_partner_property_form,
had no group applied, and the sequence
was lower.

opw-632454
This commit is contained in:
Denis Ledoux 2015-04-09 16:07:45 +02:00
parent aa15c1ffe6
commit 0a9e8898b7
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<record id="view_partner_inv_comm_type_form" model="ir.ui.view">
<field name="name">res.partner.inv_comm_type.form.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="inherit_id" ref="account.view_partner_property_form"/>
<field name="arch" type="xml">
<field name="last_reconciliation_date" position="after">
<field name="out_inv_comm_type"/>