forked from OCA/sale-workflow
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathautomatic_workflow_data.xml
49 lines (45 loc) · 2.18 KB
/
automatic_workflow_data.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="utf-8"?>
<!--
sale_automatic_workflow for OpenERP
Copyright (C) 2011 Akretion Sébastien BEAU <[email protected]>
The licence is in the file __openerp__.py
-->
<openerp>
<data noupdate="1">
<record id="automatic_validation" model="sale.workflow.process">
<field name="name">Automatic</field>
<field name="picking_policy">one</field>
<field name="order_policy">manual</field>
<field name="invoice_quantity">order</field>
<field name="validate_order" eval="1"/>
<field name="create_invoice_on">on_picking_done</field>
<field name="validate_invoice" eval="1" />
<field name="invoice_date_is_order_date" eval="0" />
<field name="validate_picking" eval="0" />
<field name="warning">Be careful, if you save the order with this setting, it could be auto-confirmed, even if you are editing it.</field>
</record>
<record id="manual_validation" model="sale.workflow.process">
<field name="name">Manual</field>
<field name="picking_policy">one</field>
<field name="order_policy">manual</field>
<field name="invoice_quantity">order</field>
<field name="validate_order" eval="0"/>
<field name="create_invoice_on">manual</field>
<field name="validate_invoice" eval="0" />
<field name="invoice_date_is_order_date" eval="0" />
<field name="validate_picking" eval="0" />
</record>
<record forcecreate="True" id="ir_cron_automatic_workflow_job" model="ir.cron">
<field name="name">Automatic Workflow Job</field>
<field eval="True" name="active"/>
<field name="user_id" ref="base.user_root"/>
<field name="interval_number">1</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field eval="False" name="doall"/>
<field eval="'automatic.workflow.job'" name="model"/>
<field eval="'run'" name="function"/>
<field eval="'()'" name="args"/>
</record>
</data>
</openerp>