[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:
parent
73980eba5f
commit
7955252259
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue