1
<?xml version="1.0" encoding="utf-8" ?>
5
<record id="act_sale_loan" model="workflow.activity">
6
<field name="wkf_id" ref="sale.wkf_sale"/>
7
<field name="name">loan</field>
8
<field name="kind">subflow</field>
9
<field name="subflow_id" search="[('osv','=','purchase.order')]" type="int"/>
10
<field name="action">action_purchase_order_create()</field>
12
<record id="act_sale_loan_done" model="workflow.activity">
13
<field name="wkf_id" ref="sale.wkf_sale" />
14
<field name="name">loan_done</field>
17
<record id="trans_sale_router_loan" model="workflow.transition">
18
<field name="act_from" ref="sale.act_router" />
19
<field name="act_to" ref="act_sale_loan" />
20
<field name="condition">order_type=='loan' and not loan_id</field>
22
<record id="trans_sale_router_loan_done" model="workflow.transition">
23
<field name="act_from" ref="sale.act_router" />
24
<field name="act_to" ref="act_sale_loan_done" />
25
<field name="condition">order_type!='loan' or loan_id</field>
27
<record id="trans_sale_loan_done" model="workflow.transition">
28
<field name="act_from" ref="act_sale_loan"/>
29
<field name="act_to" ref="act_sale_loan_done"/>
30
<field name="signal">subflow.done</field>
32
<record id="trans_sale_loand_done_end" model="workflow.transition">
33
<field name="act_from" ref="act_sale_loan_done" />
34
<field name="act_to" ref="sale.act_done" />
36
<record id="sale.trans_router_wait_invoice_shipping" model="workflow.transition">
37
<field name="act_from" ref="sale.act_wait_invoice"/>
38
<field name="act_to" ref="sale.act_invoice_end"/>
39
<field name="condition">(order_policy=='picking') or order_type!='regular' or (order_type=='regular' and partner_id.partner_type=='internal')</field>
b'\\ No newline at end of file'