-
Notifications
You must be signed in to change notification settings - Fork 3
/
fedex_view.xml
57 lines (52 loc) · 2.35 KB
/
fedex_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
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<!-- FedEx shipping-->
<record id="form_view_for_fedex_account_shipping" model="ir.ui.view">
<field name="name">form_view_for_fedex_account_shipping</field>
<field name="res_model">fedex.account.shipping</field>
<field name="model">fedex.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="fedex_account_id" on_change="onchange_fedex_account(fedex_account_id)"/>
<field name="key" required="1"/>
<field name="integrator_id"/>
<field name="password" password="True"/>
<field name="active" select="1"/>
<field name="sandbox"/>
<field name="account_number"/>
<field name="meter_number"/>
<field name="tax_id_no"/>
<field name="address" colspan="4"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="tree_view_for_fedex_account_shipping" model="ir.ui.view">
<field name="name">tree_view_for_fedex_account_shipping</field>
<field name="res_model">fedex.account.shipping</field>
<field name="model">fedex.account.shipping</field>
<field name="arch" type="xml">
<tree string="Shipping Account">
<field name="name" select="1"/>
<field name="integrator_id"/>
<field name="account_number"/>
<field name="meter_number"/>
</tree>
</field>
</record>
<record id="action_for_fedex_account_shipping" model="ir.actions.act_window">
<field name="name">Account Shipping</field>
<field name="res_model">fedex.account.shipping</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<!--menuitem id="shipping_api.fedex_quick_shipping" parent="shipping_api.shipping_menu" sequence="20" name="FedEx 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_fedex_account" parent="shipping_api.shipping_menu" sequence="20" name="FedEx Accounts" action="action_for_fedex_account_shipping"/>
</data>
</openerp>