[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
This commit is contained in:
parent
3d55aff1c8
commit
964f42fb86
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue