From 3efadef3c3a2c28daf8c7b6444d73f8cd634106a Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Tue, 9 Jul 2013 16:27:06 +0200 Subject: [PATCH] [WIP] projecT_mrp: removed hack on procurement workflow bzr revid: qdp-launchpad@openerp.com-20130709142706-ggg2f14mxvkhmpa7 --- addons/project_mrp/__openerp__.py | 10 +++--- addons/project_mrp/project_mrp_workflow.xml | 34 --------------------- 2 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 addons/project_mrp/project_mrp_workflow.xml diff --git a/addons/project_mrp/__openerp__.py b/addons/project_mrp/__openerp__.py index 91212b92c1d..619b748a7c5 100644 --- a/addons/project_mrp/__openerp__.py +++ b/addons/project_mrp/__openerp__.py @@ -41,16 +41,16 @@ tab), then the new task will be created in that specific project. Otherwise, the new task will not belong to any project, and may be added to a project manually later. -When the project task is completed or cancelled, the workflow of the corresponding -procurement line is updated accordingly. For example, if this procurement corresponds -to a sale order line, the sale order line will be considered delivered when the -task is completed. +When the project task is completed or cancelled, the corresponding procurement +is updated accordingly. For example, if this procurement corresponds to a sale +order line, the sale order line will be considered delivered when the task is +completed. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', 'images': ['images/product.jpeg', 'images/task_from_SO.jpeg'], 'depends': ['project', 'procurement', 'sale', 'mrp_jit'], - 'data': ['project_mrp_workflow.xml', 'process/project_mrp_process.xml', 'project_mrp_view.xml'], + 'data': ['process/project_mrp_process.xml', 'project_mrp_view.xml'], 'demo': ['project_mrp_demo.xml'], 'test': ['test/project_task_procurement.yml'], 'installable': True, diff --git a/addons/project_mrp/project_mrp_workflow.xml b/addons/project_mrp/project_mrp_workflow.xml deleted file mode 100644 index f8decb98623..00000000000 --- a/addons/project_mrp/project_mrp_workflow.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - produce_service - function - action_produce_assign_service() - - - - - - check_produce() and not is_product() - - - - - - - - - subflow.cancel - - - - - action_check_finished() - project.task - task_id and [task_id.id] or [] - - - -