diff --git a/models/__pycache__/res_users.cpython-312.pyc b/models/__pycache__/res_users.cpython-312.pyc index b7feec6..320b9bb 100644 Binary files a/models/__pycache__/res_users.cpython-312.pyc and b/models/__pycache__/res_users.cpython-312.pyc differ diff --git a/models/res_users.py b/models/res_users.py index 1b3c7d7..6a474c3 100644 --- a/models/res_users.py +++ b/models/res_users.py @@ -51,5 +51,6 @@ class ResUsers(models.Model): allowed_quality_checks = fields.Boolean( string="Is Allowed todo Quality Checks?", default=False, - help="If checked, this user can see the Quality Checks button on Manufacturing Orders." + help="If checked, this user can see the Quality Checks button on Manufacturing Orders.", + prefetch=False, ) diff --git a/views/mrp_production_views.xml b/views/mrp_production_v19.xml similarity index 82% rename from views/mrp_production_views.xml rename to views/mrp_production_v19.xml index b7194e2..bf9a355 100644 --- a/views/mrp_production_views.xml +++ b/views/mrp_production_v19.xml @@ -1,16 +1,21 @@ +<<<<<<< HEAD:views/mrp_production_views.xml <<<<<<< HEAD ======= >>>>>>> 3a96e90 (feat: Hide quality check buttons on manufacturing orders for specific user groups with exceptions for quality roles.) +======= + +>>>>>>> 5091c7f (feat: Update module to Odoo 19 by bumping version, adapting MRP and Stock Picking views, and removing stock valuation layer access rules.):views/mrp_production_v19.xml mrp.production.view.form.inherit.access.restriction mrp.production 99999 +<<<<<<< HEAD:views/mrp_production_views.xml <<<<<<< HEAD <<<<<<< HEAD @@ -38,8 +43,11 @@ ======= >>>>>>> 4a049d1 (feat: Implement user-specific control for quality check button visibility on manufacturing orders and inventory transfers via a new `allowed_quality_checks` field on users.) +======= + +>>>>>>> 5091c7f (feat: Update module to Odoo 19 by bumping version, adapting MRP and Stock Picking views, and removing stock valuation layer access rules.):views/mrp_production_v19.xml - + hide_quality_check_button diff --git a/views/stock_picking_views.xml b/views/stock_picking_v19.xml similarity index 91% rename from views/stock_picking_views.xml rename to views/stock_picking_v19.xml index f562e31..fd62f27 100644 --- a/views/stock_picking_views.xml +++ b/views/stock_picking_v19.xml @@ -1,5 +1,6 @@ +<<<<<<< HEAD:views/stock_picking_views.xml <<<<<<< HEAD @@ -35,6 +36,9 @@ ======= +======= + +>>>>>>> 5091c7f (feat: Update module to Odoo 19 by bumping version, adapting MRP and Stock Picking views, and removing stock valuation layer access rules.):views/stock_picking_v19.xml stock.picking.view.form.inherit.access.restriction stock.picking 1000