summaryrefslogtreecommitdiff
path: root/addons/mrp/process/procurement_process.xml
diff options
context:
space:
mode:
authorsbh (Open ERP) <sbh@tinyerp.com>2010-08-16 18:09:58 +0530
committersbh (Open ERP) <sbh@tinyerp.com>2010-08-16 18:09:58 +0530
commite59183be7bd68acd58e2cef584063289e25ed983 (patch)
tree514fdd74e5cb5c2f1c8bb500e5557e9f148048f4 /addons/mrp/process/procurement_process.xml
parent0640bf43bd4e6e991d235886348117d633e8c1f3 (diff)
[Fix] mrp: Fix the process node
bzr revid: sbh@tinyerp.com-20100816123958-ldvfbfnd4jrvvct2
Diffstat (limited to 'addons/mrp/process/procurement_process.xml')
-rw-r--r--addons/mrp/process/procurement_process.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/addons/mrp/process/procurement_process.xml b/addons/mrp/process/procurement_process.xml
index a6d549c6dfc..449a99bc056 100644
--- a/addons/mrp/process/procurement_process.xml
+++ b/addons/mrp/process/procurement_process.xml
@@ -117,7 +117,16 @@
<!--
Process Transition
-->
-
+ <record id="process_node_procureproducts0" model="process.node">
+ <field name="menu_id" ref="base.menu_mrp_procurement_action"/>
+ <field name="model_id" ref="mrp.model_procurement_order"/>
+ <field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
+ <field eval="&quot;&quot;&quot;The way to procurement depends on the product type.&quot;&quot;&quot;" name="note"/>
+ <field eval="&quot;&quot;&quot;Procure Products&quot;&quot;&quot;" name="name"/>
+ <field name="process_id" ref="procurement.process_process_procurementprocess0"/>
+ <field eval="&quot;&quot;&quot;object.state in ('draft', 'confirmed', 'cancel', 'exception', 'running', 'done', 'waiting')&quot;&quot;&quot;" name="model_states"/>
+ <field eval="0" name="flow_start"/>
+ </record>
<record id="process_transition_servicemto0" model="process.transition">
<field eval="[(6,0,[])]" name="role_ids"/>
<field eval="[(6,0,[])]" name="transition_ids"/>