summaryrefslogtreecommitdiff
path: root/addons/procurement/procurement_workflow.xml
diff options
context:
space:
mode:
authorHarry (OpenERP) <hmo@tinyerp.com>2011-12-14 16:01:44 +0530
committerHarry (OpenERP) <hmo@tinyerp.com>2011-12-14 16:01:44 +0530
commite5129e0316b1d6c4efa2001cd08baf2b49f02534 (patch)
treee094c92808253526dead1315ce2d462e4be9141b /addons/procurement/procurement_workflow.xml
parent1ca40d12ff53659369ab39998f873991ed26b88e (diff)
[FIX] procurement: procurement of service product should not go from act_produce_check to act_make_done step.
bzr revid: hmo@tinyerp.com-20111214103144-iadq4ee2gw5fwnhd
Diffstat (limited to 'addons/procurement/procurement_workflow.xml')
-rw-r--r--addons/procurement/procurement_workflow.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/procurement/procurement_workflow.xml b/addons/procurement/procurement_workflow.xml
index 8bf1e4f9e16..ed0aff2d4f5 100644
--- a/addons/procurement/procurement_workflow.xml
+++ b/addons/procurement/procurement_workflow.xml
@@ -183,6 +183,7 @@
<record id="trans_produce_make_done" model="workflow.transition">
<field name="act_from" ref="act_produce_check"/>
<field name="act_to" ref="procurement.act_make_done"/>
+ <field name="condition">check_product()</field>
</record>
<record id="trans_produce_service_make_done" model="workflow.transition">
<field name="act_from" ref="act_produce_service"/>