Files
bank-payment/account_banking/workflow/account_invoice.xml
Stefan Rijnhart c043600d25 [FIX] Reopen invoice after canceling a bank transaction with voucher
[FIX] Apply correct residual sign
[FIX] Only calculate residual of transactions in draft state
2012-05-07 13:38:26 +02:00

19 lines
685 B
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!--
Transition to reopening the invoice, triggered by
cancelling a bank transaction with which the invoice
was paid.
the existing workflow contains a similar step
but without the test on being reconciled
-->
<record id="paid_to_open" model="workflow.transition">
<field name="act_from" ref="account.act_paid"/>
<field name="act_to" ref="account.act_open_test"/>
<field name="condition">test_undo_paid()</field>
<field name="signal">undo_paid</field>
</record>
</data>
</openerp>