forked from OCA/delivery-carrier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcarrier_file_demo.xml
36 lines (29 loc) · 1.32 KB
/
carrier_file_demo.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
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<!-- Carrier File -->
<record id="delivery_carrier_file" model="delivery.carrier.file">
<field name="name">Generic</field>
<field name="type">generic</field>
<field name="auto_export" eval="True"/>
<field name="group_pickings" eval="False"/>
<field name="write_mode">disk</field>
<field name="export_path">/tmp</field>
</record>
<record id="delivery_carrier_file_manual" model="delivery.carrier.file">
<field name="name">Generic Manual</field>
<field name="type">generic</field>
<field name="auto_export" eval="False"/>
<field name="group_pickings" eval="True"/>
<field name="write_mode">disk</field>
<field name="export_path">/tmp</field>
</record>
<!-- Assign the carrier files on the delivery method -->
<record id="delivery.delivery_carrier" model="delivery.carrier">
<field name="carrier_file_id" ref="delivery_carrier_file"/>
</record>
<record id="delivery.free_delivery_carrier" model="delivery.carrier">
<field name="carrier_file_id" ref="delivery_carrier_file_manual"/>
</record>
</data>
</openerp>