Skip to content
Snippets Groups Projects
Commit 964f42fb authored by Denis Ledoux's avatar Denis Ledoux
Browse files

[FIX] purchase_double_validation: from waiting approval to cancel

It wasn't possible to cancel a purchase order
within the state "Waiting for Approval", despite
the fact the button cancel is displayed.

Clicking on the cancel button just did nothing.

This is now properly working, thanks to the additional
path added by this revision, between the workflow states
`CheckForApproval` and `cancel`.

opw-688685
parent 3d55aff1
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,12 @@
<field name="kind">dummy</field>
</record>
<record id="trans_double_check_cancel" model="workflow.transition">
<field name="act_from" ref="act_double_check"/>
<field name="act_to" ref="purchase.act_cancel"/>
<field name="signal">purchase_cancel</field>
</record>
<record id="trans_confirmed_double_check" model="workflow.transition">
<field name="act_from" ref="purchase.act_confirmed"/>
<field name="act_to" ref="act_double_check"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment