1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="purchase.trans_confirmed_router" model="workflow.transition">
<field name="condition">amount_total >= 0</field>
<field name="signal">purchase_approve</field>
<field name="group_id" ref="purchase.group_purchase_manager"/>
</record>
<record id="purchase_double_validation.trans_waiting_confirmed" model="workflow.transition">
<field name="act_from" ref="purchase.act_confirmed"/>
<field name="act_to" ref="purchase.act_router"/>
<field name="condition">amount_total < 0</field>
</record>
</data>
</openerp>
|