6
name="Commission Settings"
7
parent="base.menu_base_config"
8
groups="base.group_system"
12
<record model="ir.ui.view" id="view_baremo_book_form">
13
<field name="name">baremo.book.form</field>
14
<field name="model">baremo.book</field>
15
<field name="type">form</field>
16
<field name="arch" type="xml">
17
<form string="Baremes">
18
<field name="name" colspan='6' nolabel="1"/>
19
<field name="bar_ids" nolabel="1" colspan='6'/>
20
<separator string="Notes"/>
21
<field name='notes' colspan='6' nolabel="1"/>
25
<record model="ir.ui.view" id="view_baremo_book_tree">
26
<field name="name">baremo.book.tree</field>
27
<field name="model">baremo.book</field>
28
<field name="type">tree</field>
29
<field name="arch" type="xml">
30
<tree string="Baremes">
36
<record model="ir.actions.act_window" id="commision_baremo_act">
37
<field name="name">Baremes</field>
38
<field name="res_model">baremo.book</field>
39
<field name="view_type">form</field>
40
<field name="view_mode">tree,form</field>
43
<record model="ir.actions.act_window" id="commision_baremo_act">
44
<field name="name">Baremes</field>
45
<field name="res_model">baremo.book</field>
46
<field name="type">ir.actions.act_window</field>
47
<field name="view_type">form</field>
48
<field name="view_mode">tree,form,calendar,graph</field>
50
<record model="ir.actions.act_window.view" id="action_baremo_book_tree">
51
<field name="sequence" eval="10"/>
52
<field name="view_mode">tree</field>
53
<field name="view_id" ref="view_baremo_book_tree"/>
54
<field name="act_window_id" ref="commision_baremo_act"/>
56
<record model="ir.actions.act_window.view" id="action_baremo_book_form">
57
<field name="sequence" eval="20"/>
58
<field name="view_mode">form</field>
59
<field name="view_id" ref="view_baremo_book_form"/>
60
<field name="act_window_id" ref="commision_baremo_act"/>
67
id="menu_baremes_tree"
68
action="commision_baremo_act"
69
groups="base.group_sale_manager"/>
72
<record model="ir.ui.view" id="view_baremo_form">
73
<field name="name">baremo.span.form</field>
74
<field name="model">baremo.span</field>
75
<field name="type">form</field>
76
<field name="arch" type="xml">
77
<form string="Commission Days & Discounts">
78
<field name="name" colspan="2"/>
79
<field name="number" colspan="2"/>
80
<field name="rate_ids" nolabel='1' colspan='6'>
81
<tree string="Commission by Discount">
83
<field name="porc_rate"/>
84
<field name="porc_com"/>
91
<record model="ir.ui.view" id="view_baremo_tree">
92
<field name="name">baremo.span.tree</field>
93
<field name="model">baremo.span</field>
94
<field name="type">tree</field>
95
<field name="arch" type="xml">
96
<tree string="Commission Days & Discounts">
98
<field name="number"/>
99
<field name="rate_ids"/>
104
<record model="ir.ui.view" id="view_baremo_discount_form">
105
<field name="name">baremo.rate.tree</field>
106
<field name="model">baremo.rate</field>
107
<field name="type">form</field>
108
<field name="arch" type="xml">
109
<form string="Commission by Discount">
112
<field name="porc_rate"/>
113
<field name="porc_com"/>