[FIX] account_followup: restrict an inherited view to a group.

This view causes an access right error in the web client, because the it
reads a field with followup lines, on which the user has no access right.

bzr revid: rco@openerp.com-20121218101049-nuzguzwcnokn118b
This commit is contained in:
Raphael Collet 2012-12-18 11:10:49 +01:00
parent 73980eba5f
commit 7955252259
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@
<field name="name">res.partner.followup.form.inherit</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="model">res.partner</field>
<field name="groups_id" eval="[(4, ref('account.group_account_invoice'))]"/>
<field name="arch" type="xml" >
<page string="Accounting" position="before" version="7.0">
<page string="Payment Follow-up" groups="account.group_account_invoice" name="followup_tab">