-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathups_view.xml
62 lines (57 loc) · 2.42 KB
/
ups_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
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<!-- UPS shipping-->
<record id="form_view_for_ups_account_shipping" model="ir.ui.view">
<field name="name">form_view_for_ups_account_shipping</field>
<field name="res_model">ups.account.shipping</field>
<field name="model">ups.account.shipping</field>
<field name="arch" type="xml">
<form string="Shipping Account" version="7.0">
<sheet>
<group colspan='4' col='4'>
<field name="name" select="1" placeholder="Name" colspan="2"/>
<field name="atten_name" select="1"/>
<field name="ups_account_id" on_change="onchange_ups_account(ups_account_id)"/>
<field name="access_license"/>
<field name="userid"/>
<field name="password" password="True"/>
<field name="ups_active" select="1"/>
<field name="sandbox"/>
<field name="acc_no"/>
<field name="tax_id_no"/>
<field name="ups_shipping_service_ids" colspan="4"/>
<field name="address" colspan="4"/>
</group>
<newline/>
<separator string="Trade Mark" colspan="8"/>
<newline/>
<field name='trademark' colspan="8" nolabel="1"/>
</sheet>
</form>
</field>
</record>
<record id="tree_view_for_ups_account_shipping" model="ir.ui.view">
<field name="name">tree_view_for_ups_account_shipping</field>
<field name="res_model">ups.account.shipping</field>
<field name="model">ups.account.shipping</field>
<field name="arch" type="xml">
<tree string="Shipping Account">
<field name="name" select="1"/>
<field name="access_license"/>
<field name="userid"/>
<field name="acc_no"/>
</tree>
</field>
</record>
<record id="action_for_ups_account_shipping" model="ir.actions.act_window">
<field name="name">Account Shipping</field>
<field name="res_model">ups.account.shipping</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<!--menuitem id="shipping_api.ups_quick_shipping" parent="shipping_api.shipping_menu" sequence="20" name="UPS Quick Ship" action="action_quick_ship"/-->
<!--menuitem id="summary_report" parent="shipping_api.shipping_menu" sequence="20" name="Summary Report" action="print_report_act_window"/-->
<menuitem id="menu_ups_account" parent="shipping_api.shipping_menu" sequence="20" name="UPS Accounts" action="action_for_ups_account_shipping"/>
</data>
</openerp>