[FIX] mrp: add read access on BOM to the purchase users
Steps to reproduce the bug: - Install mrp and purchase - Create a new user “U1” > give him only the “purchase” user access - Log in as “U1” - Go to purchase app > create a new PO - Try to select any product Problem: A user error is triggered because we check if the product has a BOM but since the user does not have access to MRP, an error is raised opw-2885982 closes odoo/odoo#94183 closes odoo/odoo#121371 Signed-off-by:Adrien Widart <awt@odoo.com> Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
Please register or sign in to comment