~unifield-team/unifield-wm/us-826

238 by jf
[IMP] Purchase double validation: limit_amount = 0
1
<?xml version="1.0" encoding="utf-8"?>
2
<openerp>
3
    <data>
4
5
         <record id="purchase.trans_confirmed_router" model="workflow.transition">
6
            <field name="condition">amount_total &gt;= 0</field>
892.7.13 by chloups208
uf-1050 corrected signal for original translation + implementation of po workflow function for condition
7
            <field name="signal">purchase_approve</field>
238 by jf
[IMP] Purchase double validation: limit_amount = 0
8
            <field name="group_id" ref="purchase.group_purchase_manager"/>
9
        </record>
10
11
        <record id="purchase_double_validation.trans_waiting_confirmed" model="workflow.transition">
12
            <field name="act_from" ref="purchase.act_confirmed"/>
13
            <field name="act_to" ref="purchase.act_router"/>
14
            <field name="condition">amount_total &lt; 0</field>
15
        </record>
16
17
    </data>
18
</openerp>