forked from factorlibre/delivery-carrier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathres_config_view.xml
108 lines (103 loc) · 3.76 KB
/
res_config_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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_postlogistics_config_settings" model="ir.ui.view">
<field name="name">postlogistics settings</field>
<field name="model">postlogistics.config.settings</field>
<field name="arch" type="xml">
<form string="Configure Postlogistics" version="7.0" class="oe_form_configuration">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
or
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
</header>
<group groups="base.group_multi_company">
<div>
<div>
<label for="company_id" string="Select Company"/>
<field name="company_id"
widget="selection"
class="oe_inline"/>
</div>
</div>
</group>
<separator string="Web Service Authentication"/>
<group>
<div>
<div>
<label for="username"/>
<field name="username" class="oe_inline"/>
</div>
<div>
<label for="password"/>
<field name="password" class="oe_inline"/>
</div>
</div>
</group>
<separator string="Licenses"/>
<group>
<div>
<div>
<field name="license_ids" class="oe_inline">
<tree editable="bottom">
<field name="name"/>
<field name="number"/>
<field name="sequence" invisible="True"/>
</tree>
</field>
</div>
</div>
</group>
<separator string="Sender Informations"/>
<group>
<div>
<div>
<label for="logo"/>
<field name="logo" widget="image"/>
</div>
<div>
<label for="office"/>
<field name="office" class="oe_inline"/>
</div>
</div>
</group>
<separator string="Default configs"/>
<group>
<div>
<div>
<label for="default_label_layout"/>
<field name="default_label_layout" class="oe_inline"/>
</div>
<div>
<label for="default_output_format"/>
<field name="default_output_format" class="oe_inline"/>
</div>
<div>
<label for="default_resolution"/>
<field name="default_resolution" class="oe_inline"/>
</div>
</div>
</group>
<group>
<div>
<div>
<button string="Update PostLogistics Services" type="object" name="update_postlogistics_options" class="oe_highlight"/>
<button string="Assign PostLogistics Licenses to service groups" type="object" name="assign_licenses_to_service_groups" class="oe_highlight"/>
</div>
</div>
</group>
</form>
</field>
</record>
<record id="action_postlogistics_config" model="ir.actions.act_window">
<field name="name">Configure Postlogistics</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">postlogistics.config.settings</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
</record>
<menuitem id="menu_postlogistics_config" name="Postlogistics"
parent="base_delivery_carrier_label.menu_carriers_config"
sequence="20" action="action_postlogistics_config"/>
</data>
</openerp>