mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[FIX] Add read access to purchase order and po line
This commit is contained in:
committed by
Chanakya Soni
parent
d2ea82d0f0
commit
f3e87e52fe
@@ -10,9 +10,12 @@
|
||||
'author': 'Eficent, Odoo Community Association (OCA)',
|
||||
'website': 'http://www.github.com/OCA/rma',
|
||||
'depends': ['rma_account', 'purchase'],
|
||||
'data': ['views/rma_order_view.xml',
|
||||
'views/rma_order_line_view.xml',
|
||||
'wizards/rma_add_purchase.xml'],
|
||||
'data': [
|
||||
'security/ir.model.access.csv',
|
||||
'views/rma_order_view.xml',
|
||||
'views/rma_order_line_view.xml',
|
||||
'wizards/rma_add_purchase.xml'
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
}
|
||||
|
||||
3
rma_purchase/security/ir.model.access.csv
Executable file
3
rma_purchase/security/ir.model.access.csv
Executable file
@@ -0,0 +1,3 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_purchase_order_supplier_user,access_purchase_order,purchase.model_purchase_order,rma.group_rma_supplier_user,1,0,0,0
|
||||
access_purchase_order_line_supplier_user,access_purchase_order_line,purchase.model_purchase_order_line,rma.group_rma_supplier_user,1,0,0,0
|
||||
|
Reference in New Issue
Block a user