c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #28790
[Bug 812322] Re: stock workflow - duplicated transitions
Hello,
Thanks For Reporting,
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-812322-ksa
Revision No :4888
Revision ID :ksa@xxxxxxxxxxxxx-20110719060750-jjc277dpufkxgher
Thanks.
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/812322
Title:
stock workflow - duplicated transitions
Status in OpenERP Modules (addons):
Fix Committed
Bug description:
The workflow for stock.picking (addons/stock/stock_workflow.xml)
contains the following duplicated transitions in the xml file:
<record id="trans_assigned_cancel_auto" model="workflow.transition">
<field name="act_from" ref="act_assigned"/>
<field name="act_to" ref="act_cancel"/>
<field name="condition">test_cancel()</field>
</record>
<record id="trans_confirmed_cancel_auto" model="workflow.transition">
<field name="act_from" ref="act_confirmed"/>
<field name="act_to" ref="act_cancel"/>
<field name="condition">test_cancel()</field>
</record>
It also has two different transitions with the same id:
<record id="trans_draft_cancel" model="workflow.transition">
<field name="act_from" ref="act_draft"/>
<field name="act_to" ref="act_cancel"/>
<field name="signal">button_cancel</field>
</record>
and:
<record id="trans_draft_cancel" model="workflow.transition">
<field name="act_from" ref="act_draft"/>
<field name="act_to" ref="act_cancel_inv"/>
<field name="signal">button_cancel</field>
</record>
With the only difference is that one uses a different cancel node.
Probably one instance of the records with id
trans_assigned_cancel_auto and trans_confirmed_cancel_auto should be
removed.
One of the trans_draft_cancel should be removed too. If the one
removed is the one that goes to act_cancel_inv, the activity
act_cancel_inv should be removed too as it is no longer used.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/812322/+subscriptions
References