-
Notifications
You must be signed in to change notification settings - Fork 9
/
taobao_action.xml
36 lines (33 loc) · 1.83 KB
/
taobao_action.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 >
<!--淘宝订单action -->
<record model="ir.actions.act_window" id="taobao_order_action">
<field name="name">淘宝订单</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">taobao.order</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<record model="ir.actions.act_window" id="taobao_order_import_action">
<field name="name">淘宝订单导入</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">taobao.order.import</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
<field name="view_id" ref="taobao_order_import_view"/>
</record>
<record model="ir.actions.act_window" id="taobao_product_match_action">
<field name="name">淘宝商品匹配</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">taobao.product.match</field>
<field name="view_type">form</field>
<field name="view_mode">tree</field>
</record>
<menuitem id="menu_taobao" name="淘宝" parent="base.menu_base_partner" sequence="6"/>
<menuitem id="menu_taobao_order" parent="menu_taobao" name='淘宝订单' action="taobao_order_action" sequence="1"/>
<menuitem id="menu_taobao_order_import" parent="menu_taobao" name='淘宝订单导入' action="taobao_order_import_action" sequence="2"/>
<menuitem id="menu_taobao_product_match" parent="menu_taobao" name='淘宝商品匹配' action="taobao_product_match_action" sequence="3"/>
</data>
</openerp>