From 67f8d94124082db7fb115b5646fa02682f17851c Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Wed, 7 Jul 2010 20:02:20 +0530 Subject: [PATCH] [Fix] the workflow of procurement and revert the changed of mrp properties bzr revid: sbh@tinyerp.com-20100707143220-fvws4qxruwhmm4qg --- addons/mrp/mrp_view.xml | 16 ---------------- addons/mrp/security/ir.model.access.csv | 4 ---- addons/procurement/procurement_view.xml | 4 ++++ addons/procurement/procurement_workflow.xml | 2 ++ addons/procurement/security/ir.model.access.csv | 5 +++++ 5 files changed, 11 insertions(+), 20 deletions(-) diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index 4e705502529..1bd0724a003 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -885,22 +885,6 @@ - - - - procurement.order.form.inherit - procurement.order - - form - - - - - - - - - + + + + diff --git a/addons/procurement/procurement_workflow.xml b/addons/procurement/procurement_workflow.xml index 17979868a03..d28b1a035f8 100644 --- a/addons/procurement/procurement_workflow.xml +++ b/addons/procurement/procurement_workflow.xml @@ -183,6 +183,8 @@ action_check_finnished() + stock.move + [move_id.id] diff --git a/addons/procurement/security/ir.model.access.csv b/addons/procurement/security/ir.model.access.csv index 18991cf9c90..03930c47407 100644 --- a/addons/procurement/security/ir.model.access.csv +++ b/addons/procurement/security/ir.model.access.csv @@ -1,3 +1,8 @@ "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" "access_procurement","procurement.order","model_procurement_order","base.group_user",1,0,0,0 "access_stock_warehouse_orderpoint","stock.warehouse.orderpoint","model_stock_warehouse_orderpoint","stock.group_stock_manager",1,1,1,1 +"access_mrp_property_group","mrp.property.group","model_mrp_property_group","stock.group_stock_manager",1,1,1,1 +"access_mrp_property","mrp.property","model_mrp_property","stock.group_stock_manager",1,1,1,1 +"access_mrp_property_group","mrp.property.group","model_mrp_property_group","base.group_user",1,0,0,0 +"access_mrp_property","mrp.property","model_mrp_property","base.group_user",1,0,0,0 +