Hardik Sanchawat (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-acl-mrp-access-rights-hsa into 
lp:~openerp-dev/openobject-addons/trunk-acl-mrp.

Requested reviews:
  Bharat Devnani (Open ERP) (bde-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-acl-mrp-access-rights-hsa/+merge/129864

Hello,

I Fixed Access Rights for MRP Module.
1. User and Manager can’t delete and duplicate manufacturing order.
2. MRP Manager should have access to following menus Manufacturing > 
Configuration
3. MRP User and Manger can Confirm Production.
4. MRP User can see Manufacturing menu under Reporting.

Thanks
- HSA
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-acl-mrp-access-rights-hsa/+merge/129864
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-acl-mrp.
=== modified file 'mrp/board_manufacturing_view.xml'
--- mrp/board_manufacturing_view.xml	2012-09-13 05:17:06 +0000
+++ mrp/board_manufacturing_view.xml	2012-10-16 12:08:23 +0000
@@ -31,7 +31,7 @@
                   id="menu_board_manufacturing"
                   parent="base.menu_reporting_dashboard"
                   sequence="30"
-                  groups="group_mrp_manager"/>
+                  groups="group_mrp_user"/>
 
     </data>
 </openerp>

=== modified file 'mrp/mrp_view.xml'
--- mrp/mrp_view.xml	2012-10-15 05:03:20 +0000
+++ mrp/mrp_view.xml	2012-10-16 12:08:23 +0000
@@ -130,18 +130,18 @@
         <menuitem name="Master Bill of Materials"
             id="menu_mrp_property"
             parent="menu_mrp_configuration"
-            groups="mrp.group_mrp_routings,product.group_mrp_properties"
+            groups="mrp.group_mrp_routings,product.group_mrp_properties,group_mrp_manager"
             sequence="20"/>
         <menuitem
             action="mrp_property_action"
             id="menu_mrp_property_action"
-            groups="product.group_mrp_properties"
+            groups="product.group_mrp_properties,group_mrp_manager"
             parent="menu_mrp_configuration"
             sequence="30"/>
         <menuitem
             action="mrp_property_group_action"
             parent="menu_mrp_configuration"
-            groups="base.group_no_one,product.group_mrp_properties"
+            groups="base.group_no_one,product.group_mrp_properties,group_mrp_manager"
             id="menu_mrp_property_group_action"
             sequence="35"/>
 

=== modified file 'mrp/security/ir.model.access.csv'
--- mrp/security/ir.model.access.csv	2012-10-03 06:42:45 +0000
+++ mrp/security/ir.model.access.csv	2012-10-16 12:08:23 +0000
@@ -21,8 +21,9 @@
 access_stock_warehouse,stock.warehouse mrp_worker,stock.model_stock_warehouse,mrp.group_mrp_user,1,0,0,0
 access_account_analytic_journal_mrp_worker,account.analytic.journal mrp_worker,account.model_account_analytic_journal,mrp.group_mrp_user,1,0,0,0
 access_account_account,account.account mrp_worker,account.model_account_account,mrp.group_mrp_user,1,0,0,0
-access_purchase_order_mrp_worker,purchase.order mrp_worker,purchase.model_purchase_order,mrp.group_mrp_user,1,0,0,0
+access_purchase_order_mrp_worker,purchase.order mrp_worker,purchase.model_purchase_order,mrp.group_mrp_user,1,1,1,0
 access_purchase_order_line_mrp_worker,purchase.order.line mrp_worker,purchase.model_purchase_order_line,mrp.group_mrp_user,1,0,0,0
+access_purchase_order_line_mrp_worker_manager,purchase.order.line mrp_worker_manager,purchase.model_purchase_order_line,mrp.group_mrp_manager,1,1,1,0
 access_hr_timesheet_group_mrp_worker,resource.calendar mrp_manager,resource.model_resource_calendar,mrp.group_mrp_manager,1,1,1,1
 access_procurement_stock_worker,procurement.order stock_worker,model_procurement_order,stock.group_stock_user,1,1,1,1
 access_procurement_user,procurement.order.user,model_procurement_order,base.group_user,1,1,1,1
@@ -47,7 +48,7 @@
 access_account_sequence_fiscalyear_manager,account.sequence.fiscalyear,account.model_account_sequence_fiscalyear,mrp.group_mrp_manager,1,0,0,0
 access_product_supplierinfo_manager,product.supplierinfo user,product.model_product_supplierinfo,mrp.group_mrp_manager,1,0,0,0
 access_stock_tracking_manager,stock.tracking,stock.model_stock_tracking,mrp.group_mrp_manager,1,0,0,0
-access_mrp_production_manager,mrp.production manager,model_mrp_production,mrp.group_mrp_manager,1,1,1,1
+access_mrp_production_manager,mrp.production manager,model_mrp_production,mrp.group_mrp_manager,1,1,1,0
 access_procurement_manager,procurement.order,model_procurement_order,mrp.group_mrp_manager,1,0,0,0
 access_workcenter_manager,mrp.production.workcenter.line,model_mrp_production_workcenter_line,mrp.group_mrp_manager,1,1,1,1
 access_stock_move_mrp_manager,stock.move mrp_manager,stock.model_stock_move,mrp.group_mrp_manager,1,0,0,0

=== modified file 'mrp_operations/security/ir.model.access.csv'
--- mrp_operations/security/ir.model.access.csv	2012-10-03 06:42:45 +0000
+++ mrp_operations/security/ir.model.access.csv	2012-10-16 12:08:23 +0000
@@ -4,7 +4,7 @@
 access_mrp_operations_operation,operations.operation,model_mrp_operations_operation,mrp.group_mrp_user,1,1,1,1
 access_mrp_operations_operation_manager,operations.operation.manager,model_mrp_operations_operation,mrp.group_mrp_manager,1,0,0,0
 access_mrp_production_user,mrp_production_user,model_mrp_production,mrp.group_mrp_user,1,1,1,0
-access_mrp_production_manager,mrp_production_manager,model_mrp_production,mrp.group_mrp_manager,1,1,1,1
+access_mrp_production_manager,mrp_production_manager,model_mrp_production,mrp.group_mrp_manager,1,1,1,0
 access_mrp_production_workcenter_line,mrp.production.workcenter.line,mrp.model_mrp_production_workcenter_line,mrp.group_mrp_user,1,1,1,0
 access_mrp_production_workcenter_line_manager,mrp.production.workcenter.line.manager,mrp.model_mrp_production_workcenter_line,mrp.group_mrp_manager,1,1,1,1
 access_mrp_workorder_manager,mrp.workorder.manager,model_mrp_workorder,mrp.group_mrp_manager,1,1,1,1

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to