forked from OCA/delivery-carrier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
carrier_file_view.xml
62 lines (58 loc) · 2.76 KB
/
carrier_file_view.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
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_delivery_carrier_file_tree" model="ir.ui.view">
<field name="name">delivery.carrier.file.tree</field>
<field name="model">delivery.carrier.file</field>
<field name="arch" type="xml">
<tree string="Carrier File">
<field name="name"/>
<field name="type"/>
<field name="auto_export"/>
<field name="group_pickings"/>
</tree>
</field>
</record>
<record id="view_delivery_carrier_file_form" model="ir.ui.view">
<field name="name">delivery.carrier.file.form</field>
<field name="model">delivery.carrier.file</field>
<field name="arch" type="xml">
<form string="Carrier File">
<group colspan="4" col="4" name="general">
<field name="name" select="1"/>
<field name="type" select="1"/>
<field name="auto_export"/>
<field name="group_pickings"/>
<separator string="Write options" colspan="4"/>
<group colspan="4" col="4">
<field name="write_mode"/>
<group colspan="2" col="2">
<field name="export_path" attrs="{'required': [('write_mode', '=', 'disk')], 'invisible': [('write_mode', '!=', 'disk')]}"/>
</group>
</group>
</group>
</form>
</field>
</record>
<record id="action_delivery_carrier_file_form" model="ir.actions.act_window">
<field name="name">Carrier File</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">delivery.carrier.file</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem action="action_delivery_carrier_file_form" id="menu_action_delivery_carrier_file_form" parent="delivery.menu_delivery"/>
<record id="view_delivery_carrier_form_inherit" model="ir.ui.view">
<field name="name">delivery.carrier.form.file</field>
<field name="model">delivery.carrier</field>
<field name="inherit_id" ref="delivery.view_delivery_carrier_form" />
<field name="arch" type="xml">
<data>
<field name="product_id" position="after">
<field name="carrier_file_id"/>
</field>
</data>
</field>
</record>
</data>
</openerp>