[FIX] stock_account security rules

bzr revid: qdp-launchpad@openerp.com-20131011084818-dmbmk9aw8kvae77g
This commit is contained in:
Quentin (OpenERP) 2013-10-11 10:48:18 +02:00
parent f9f881571b
commit 0b4d5b0fa6
3 changed files with 15 additions and 5 deletions

View File

@ -10,7 +10,7 @@
<record id="group_stock_manager" model="res.groups">
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_warehouse_management"/>
<field name="implied_ids" eval="[(4, ref('group_stock_user')), (4, ref('account.group_account_user'))]"/>
<field name="implied_ids" eval="[(4, ref('group_stock_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>

View File

@ -24,7 +24,7 @@
'version': '1.1',
'author': 'OpenERP SA',
'summary': 'Inventory, Logistic, Valuation, Accounting',
'description' : """
'description': """
TODO
======================
TODO
@ -47,12 +47,14 @@ Dashboard / Reports for Warehouse Management will include:
'stock_account_demo.xml'
],
'data': [
'stock_account_data.xml',
'security/stock_account_security.xml',
'security/ir.model.access.csv',
'stock_account_data.xml',
'wizard/stock_change_standard_price_view.xml',
'wizard/stock_invoice_onshipping_view.xml',
'product_data.xml',
'product_view.xml',
'stock_account_view.xml',
'stock_account_view.xml',
'valuationandcostmethod.yml',
],
'test': [
@ -62,4 +64,3 @@ Dashboard / Reports for Warehouse Management will include:
'application': True,
'auto_install': True,
}

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="0">
<record id="stock.group_stock_manager" model="res.groups">
<field name="implied_ids" eval="[(4, ref('account.group_account_user'))]"/>
</record>
</data>
</openerp>