317.1.5
by chloups208
improved-shipping-process--return processes |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
2 |
<openerp>
|
|
3 |
<data>
|
|
4 |
||
5 |
<!-- STOCK PICKING WORKFLOW -->
|
|
6 |
<record id="stock.act_return_cancel" model="workflow.activity"> |
|
7 |
<field name="wkf_id" ref="stock.wkf_picking"/> |
|
8 |
<field name="name">return_cancel</field> |
|
9 |
<field name="flow_stop">True</field> |
|
10 |
<field name="kind">function</field> |
|
11 |
<field name="action">write({'state':'cancel'})</field> |
|
12 |
</record>
|
|
13 |
||
14 |
<record id="trans_assigned_return_cancel" model="workflow.transition"> |
|
15 |
<field name="act_from" ref="stock.act_assigned"/> |
|
16 |
<field name="act_to" ref="stock.act_return_cancel"/> |
|
17 |
<field name="signal">return_cancel</field> |
|
18 |
</record>
|
|
19 |
||
1789.5.13
by Quentin THEURET
UTP-833 [FIX] When convert a simple OUT in picking ticket, reset the wkf |
20 |
<record id="trans_assigned_draft" model="workflow.transition"> |
21 |
<field name="act_from" ref="stock.act_assigned" /> |
|
22 |
<field name="act_to" ref="stock.act_draft" /> |
|
23 |
<field name="signal">convert_to_picking_ticket</field> |
|
24 |
</record>
|
|
25 |
||
26 |
<record id="trans_confiremd_draft" model="workflow.transition"> |
|
27 |
<field name="act_from" ref="stock.act_confirmed" /> |
|
28 |
<field name="act_to" ref="stock.act_draft" /> |
|
29 |
<field name="signal">convert_to_picking_ticket</field> |
|
30 |
</record>
|
|
31 |
||
317.1.5
by chloups208
improved-shipping-process--return processes |
32 |
</data>
|
33 |
</openerp>
|