3105.1.3
by Christophe Simonis
* add encoding comment and vim comment |
1 |
<?xml version="1.0"?>
|
3283.1.57
by Stephane Wirtel
rename the <terp /> to <openerp /> |
2 |
<openerp>
|
3105.1.3
by Christophe Simonis
* add encoding comment and vim comment |
3 |
<data>
|
4 |
<menuitem name="Sales Management" icon="terp-sale" id="menu_sale_root"/> |
|
5 |
<!--
|
|
6 |
=======================
|
|
7 |
Saleagent Information
|
|
8 |
=======================
|
|
9 |
-->
|
|
10 |
<record model="ir.ui.view" id="view_saleagent_tree"> |
|
11 |
<field name="name">saleagent.info.tree</field> |
|
12 |
<field name="model">sale.agent</field> |
|
13 |
<field name="type">tree</field> |
|
14 |
<field name="arch" type="xml"> |
|
15 |
<tree string="Saleagent"> |
|
16 |
<field name="name" select="1"/> |
|
17 |
<field name="active" select="1"/> |
|
18 |
<field name="partner_id" select="1" /> |
|
19 |
<field name="commission_rate" select="1"/> |
|
20 |
</tree>
|
|
21 |
</field>
|
|
55
by ced
Fix commision typo and remove old |
22 |
</record>
|
3105.1.3
by Christophe Simonis
* add encoding comment and vim comment |
23 |
|
24 |
<record model="ir.ui.view" id="view_saleagent_form"> |
|
25 |
<field name="name">saleagent.info.form</field> |
|
26 |
<field name="model">sale.agent</field> |
|
27 |
<field name="type">form</field> |
|
28 |
<field name="arch" type="xml"> |
|
29 |
<form string="Saleagent"> |
|
30 |
<notebook>
|
|
31 |
<page string="Basic Info"> |
|
32 |
<separator string="General Information" colspan="4"/> |
|
33 |
<field name="name" select="1"/> |
|
34 |
<field name="partner_id" select="1"/> |
|
35 |
<field name="commission_rate" select="1"/> |
|
36 |
<field name="active"/> |
|
37 |
<!--field name="customer" mode="form,tree" widget="one2many_list" colspan="4" nolabel="1" select="1" readonly="1" mode="tree,graph-->
|
|
55
by ced
Fix commision typo and remove old |
38 |
<!-- <field name="customer" widget="one2many_list" colspan="4" nolabel="1" readonly="1">-->
|
39 |
<!--<field name="customer" mode="tree,form" colspan="4" nolabel="1" select="1" readonly="1">-->
|
|
3105.1.3
by Christophe Simonis
* add encoding comment and vim comment |
40 |
<field name="customer" widget="one2many_list" colspan="4" nolabel="1" readonly="1"> |
41 |
<tree string="Sale agent customers"> |
|
42 |
<field name="name"/> |
|
43 |
</tree>
|
|
44 |
</field>
|
|
45 |
</page>
|
|
46 |
</notebook>
|
|
47 |
</form>
|
|
48 |
</field>
|
|
49 |
</record>
|
|
50 |
||
51 |
||
52 |
<record model="ir.actions.act_window" id="action_saleagent_form"> |
|
53 |
<field name="name">saleagent.info.form</field> |
|
54 |
<field name="type">ir.actions.act_window</field> |
|
55 |
<field name="res_model">sale.agent</field> |
|
55
by ced
Fix commision typo and remove old |
56 |
<field name="view_type">form</field> |
3105.1.3
by Christophe Simonis
* add encoding comment and vim comment |
57 |
<field name="view_mode">form,tree</field> |
58 |
<field name="view_id" ref="view_saleagent_form"/> |
|
59 |
||
60 |
</record>
|
|
3121
by Priyesh
change menu tag |
61 |
|
62 |
<menuitem name="Commissions" id="menu_sale_commisions" parent="sale.menu_sale_root"/> |
|
63 |
<menuitem name="Sales agent" id="menu_sale_commisions_agent" parent="menu_sale_commisions" action="action_saleagent_form"/> |
|
64 |
||
3105.1.3
by Christophe Simonis
* add encoding comment and vim comment |
65 |
</data>
|
3283.1.57
by Stephane Wirtel
rename the <terp /> to <openerp /> |
66 |
</openerp>
|