[FIX] account: ir.mode.access on products
When the 'Invoicing' or 'Accounting' module is installed without the module 'Sales', only the admin user can create products in the database. The expected behavior is that any 'Accounting Adviser' should be able to manage some products in Odoo. To allow 'Accounting Advisers' to manage products, we add them the CRUD rights on 'product.product', 'product.template' and 'product.price.history' opw-703610
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_product_product_account_user,product.product.account.user,product.model_product_product,group_account_user,1,0,0,0
|
||||
access_product_product_account_manager,product.product.account.manager,product.model_product_product,group_account_manager,1,1,1,1
|
||||
access_product_template_account_manager,product.template.account.manager,product.model_product_template,group_account_manager,1,1,1,1
|
||||
access_product_price_history_account_manager,prices.history.account.manager,product.model_product_price_history,group_account_manager,1,1,1,1
|
||||
access_account_payment_term,account.payment.term,model_account_payment_term,account.group_account_user,1,0,0,0
|
||||
access_account_payment_term_line,account.payment.term.line,model_account_payment_term_line,account.group_account_user,1,0,0,0
|
||||
access_account_account_type_manager,account.account.type,model_account_account_type,account.group_account_manager,1,1,1,1
|
||||
|
||||
|
Reference in New Issue
Block a user