[Add] product_expiry: Add the security rules

bzr revid: sbh@tinyerp.com-20100622060108-vb39jarhk3uoulfv
This commit is contained in:
sbh (Open ERP)
2010-06-22 11:31:08 +05:30
parent 163cec1ada
commit 11a2a077af
2 changed files with 8 additions and 1 deletions
+5 -1
View File
@@ -31,7 +31,11 @@
- removal date
- alert date
Used, for example, in food industries.''',
"update_xml" : ["product_expiry_view.xml", "report/report_stock_view.xml", "wizard/stock_partial_view.xml"],
"update_xml" : [
'security/ir.model.access.csv',
"product_expiry_view.xml",
"report/report_stock_view.xml",
"wizard/stock_partial_view.xml"],
"active": False,
"installable": True
}
@@ -0,0 +1,3 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_stock_report_prodlots1_manager","stock.report.prodlots1","model_stock_report_prodlots1","product.group_product_manager",1,1,1,1
"access_stock_report_prodlots1_user","stock.report.prodlots1","model_stock_report_prodlots1","base.group_user",1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_stock_report_prodlots1_manager stock.report.prodlots1 model_stock_report_prodlots1 product.group_product_manager 1 1 1 1
3 access_stock_report_prodlots1_user stock.report.prodlots1 model_stock_report_prodlots1 base.group_user 1 0 0 0