-
Notifications
You must be signed in to change notification settings - Fork 3
/
saleagent_demo.xml
59 lines (50 loc) · 2.44 KB
/
saleagent_demo.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
<?xml version="1.0"?>
<openerp>
<data>
<record id="res_partner_sale_agent" model="res.partner">
<field name="name">Pritesh Sales Agent</field>
</record>
<record id="res_partner_address_pritesh" model="res.partner.address">
<field name="city">Ahmedabad</field>
<field name="name">Defalt Agent Pritesh</field>
<field name="zip">380007</field>
<field name="title">M.</field>
<field name="country_id" model="res.country" search="[('name','=','India')]"/>
<field name="street">56 Beijing street</field>
<field name="type">default</field>
<field name="partner_id" ref="res_partner_sale_agent"/>
</record>
<record model="sale.agent" id="saleagent_parnter">
<field name="name">Pritesh Sales Agent</field>
<field name="partner_id" search="[('name','=','Pritesh Sales Agent')]" />
</record>
<record id="res_partner_eiffel" model="res.partner">
<field name="name">Eiffel pvt ltd</field>
<field name="agent_id" search="[('name','=','Pritesh Sales Agent')]" />
</record>
<record id="res_partner_address_eiffel" model="res.partner.address">
<field name="city">Ahmedabad</field>
<field name="name">Eiffel India</field>
<field name="zip">380007</field>
<field name="title">M.</field>
<field name="country_id" model="res.country" search="[('name','=','India')]"/>
<field name="street">Wall Street 2</field>
<field name="type">default</field>
<field name="partner_id" ref="res_partner_eiffel"/>
</record>
<record id="res_partner_tiny" model="res.partner">
<field name="name">Tiny Belgium</field>
<field name="agent_id" search="[('name','=','Pritesh Sales Agent')]" />
</record>
<record id="res_partner_address_tiny" model="res.partner.address">
<field name="city">Belgium</field>
<field name="name">Tiny Belgium</field>
<field name="zip">2457</field>
<field name="title">M.</field>
<field name="country_id" model="res.country" search="[('name','=','India')]"/>
<field name="street">Belgium Gao</field>
<field name="type">default</field>
<field name="partner_id" ref="res_partner_tiny"/>
</record>
</data>
</openerp>