[FIX] l10n_ro: res.partner form inheritance

The field property_account_position is added by the view
account.view_partner_property_form which is restricted to users with accounting
rights. If tired to access the view, the inheritance made on l10n_ro would fail.

Fixes #6952
This commit is contained in:
stijnh92 2015-06-04 11:30:43 +02:00 committed by Martin Trigaux
parent 1bc4ed7c95
commit 436fc5b67c
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<data>
<record model="ir.ui.view" id="res_partner_form_ro">
<field name="name">res.partner.form.ro</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="inherit_id" ref="account.view_partner_property_form"/>
<field name="model">res.partner</field>
<field name="arch" type="xml">
<field name="property_account_position" position="after">