fix permissions
This commit is contained in:
parent
b321965515
commit
b47517c4d8
2 changed files with 4 additions and 1 deletions
|
@ -7,6 +7,7 @@ full copyright notices and license terms. -->
|
||||||
|
|
||||||
<record model="res.group" id="group_planner">
|
<record model="res.group" id="group_planner">
|
||||||
<field name="name">Cashbook - Scheduled Bookings</field>
|
<field name="name">Cashbook - Scheduled Bookings</field>
|
||||||
|
<field name="parent" ref="cashbook.group_cashbook"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="res.user-res.group" id="user_admin-group_planner">
|
<record model="res.user-res.group" id="user_admin-group_planner">
|
||||||
|
|
4
ir.py
4
ir.py
|
@ -14,7 +14,9 @@ class Rule(metaclass=PoolMeta):
|
||||||
""" list of models to add 'user_id' to context
|
""" list of models to add 'user_id' to context
|
||||||
"""
|
"""
|
||||||
result = super(Rule, cls)._context_modelnames()
|
result = super(Rule, cls)._context_modelnames()
|
||||||
result.append('cashbook.planner')
|
result.extend([
|
||||||
|
'cashbook.planner',
|
||||||
|
'cashbook.planner.nextrun'])
|
||||||
return result
|
return result
|
||||||
|
|
||||||
# end Rule
|
# end Rule
|
||||||
|
|
Loading…
Reference in a new issue