<?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>
