diff options
| author | Thibault Delavallée <tde@openerp.com> | 2014-01-06 14:57:00 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-01-06 14:57:00 +0100 |
| commit | 49c0b7a82003a889edc19cb189d0d6d0ebda2c5f (patch) | |
| tree | d24c9d3fe3baad3ba06f11d4bf334e2504fb6092 /addons/project_mrp/process/project_mrp_process.xml | |
| parent | c4c268c902a134efdf0f097053c9b28d6b14417c (diff) | |
| parent | ced63415b7319e12fb9d31a3e370850278f697c1 (diff) | |
[MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140106135700-rt0g44w5xmpbtxiu
Diffstat (limited to 'addons/project_mrp/process/project_mrp_process.xml')
| -rw-r--r-- | addons/project_mrp/process/project_mrp_process.xml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/addons/project_mrp/process/project_mrp_process.xml b/addons/project_mrp/process/project_mrp_process.xml index de2b2c1b4c8..ab0de03eee0 100644 --- a/addons/project_mrp/process/project_mrp_process.xml +++ b/addons/project_mrp/process/project_mrp_process.xml @@ -46,12 +46,15 @@ Process Transition --> - <!-- This "foreign" process node is duplicated here from the corresponding sale_stock node because + <!-- This process node is duplicated here from the corresponding sale_stock node because `project_mrp` implements a basic procurement system for services without actually using the - full-fledged procurement process from sale_stock, and without the dependency. So it stil - represents a "procurement system". + full-fledged procurement process from sale_stock, and without the dependency. So it still + represents a "procurement system". Sharing the external ID causes other problems, so + we duplicate it instead. + TODO: To cleanup this duplicate node, it should probably be moved to the + `sale` module directly, and removed from both `sale_stock` and `project_mrp`. --> - <record id="procurement.process_node_saleprocurement0" model="process.node"> + <record id="process_node_saleprocurement0" model="process.node"> <field name="menu_id" ref="procurement.menu_stock_procurement_action"/> <field name="model_id" ref="procurement.model_procurement_order"/> <field name="kind">subflow</field> @@ -66,7 +69,7 @@ <field eval=""""Procurement Task"""" name="name"/> <field eval=""""if product type is 'service' then it creates the task."""" name="note"/> <field name="target_node_id" ref="process_node_procuretasktask0"/> - <field name="source_node_id" ref="procurement.process_node_saleprocurement0"/> + <field name="source_node_id" ref="process_node_saleprocurement0"/> </record> <record id="process_transition_createtask0" model="process.transition"> |
