Skip to content

Commit

Permalink
Merge pull request #40 from rdeheele/fix_draft_to_cancel
Browse files Browse the repository at this point in the history
[FIX] avoid to replace draft to cancel transition
  • Loading branch information
yvaucher committed Feb 6, 2015
2 parents b8d7d31 + eef6c54 commit d53a4fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion invoice_validation_wkfl/invoice_wkf.xml
Expand Up @@ -33,13 +33,14 @@
<field name="act_to" ref="account.act_proforma2"/>
<field name="signal">invoice_proforma2</field>
</record>

<record model="workflow.transition" id="account.t4">
<field name="act_from" ref="act_to_send"/>
<field name="act_to" ref="account.act_open"/>
<field name="signal">invoice_open</field>
</record>

<record model="workflow.transition" id="account.t9">
<record model="workflow.transition" id="t_send_to_cancel">
<field name="act_from" ref="act_to_send"/>
<field name="act_to" ref="account.act_cancel"/>
<field name="signal">invoice_cancel</field>
Expand Down

0 comments on commit d53a4fd

Please sign in to comment.