forked from xlongfeng/manekineko
-
Notifications
You must be signed in to change notification settings - Fork 13
/
ebay_seller_list_view.xml
84 lines (80 loc) · 3.57 KB
/
ebay_seller_list_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
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="ebay_seller_list_tree_view">
<field name="name">ebay seller list tree</field>
<field name="model">ebay.seller.list</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="ebay seller list tree">
<field name="name"/>
<field name="currency"/>
<field name="start_price"/>
<field name="hit_count"/>
<field name="watch_count"/>
<field name="quantity_sold"/>
<field name="average_monthly_sales"/>
<field name="start_time"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="ebay_seller_list_from_view">
<field name="name">ebay seller list form</field>
<field name="model">ebay.seller.list</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="ebay user form" version="7.0">
<sheet>
<!-- <div><field name="thumbnail" widget="image" class="oe_avatar oe_left"/></div> -->
<div>
<div class="oe_edit_only">
<label for="name"/>
</div>
<h2>
<field name="name" default_focus="1" placeholder="item title" />
</h2>
<field name="view_item_url" widget='url'/>
</div>
<group>
<field name="user_id"/>
</group>
<group>
<group>
<field name="start_price"/>
<field name="start_time"/>
<field name="quantity_sold"/>
<field name="hit_count"/>
</group>
<group>
<field name="currency"/>
<field name="end_time"/>
<field name="average_monthly_sales"/>
<field name="watch_count"/>
</group>
</group>
<div class="oe_chatter">
<field name="picture"/>
</div>
</sheet>
</form>
</field>
</record>
<record id="view_seller_list_filter" model="ir.ui.view">
<field name="name">view_seller_list_filter</field>
<field name="model">ebay.seller.list</field>
<field name="arch" type="xml">
<search string="Search Seller List">
<field name="name"/>
<field name="user_id"/>
</search>
</field>
</record>
<record id="action_ebay_seller_listing" model="ir.actions.act_window">
<field name="name">eBay Seller Lists</field>
<field name="res_model">ebay.seller.list</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="context">{'search_default_user_id': active_id}</field>
</record>
</data>
</openerp>