blob: 5dff80e6f766b5adb081458e41fac20854b84c6e (
plain)
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
|
<odoo>
<record id="promotion_program_tree" model="ir.ui.view">
<field name="name">Promotion Program Tree</field>
<field name="model">promotion.program</field>
<field name="arch" type="xml">
<tree>
<field name="name" />
<field name="start_time" />
<field name="end_time" />
<field name="applies_to" />
</tree>
</field>
</record>
<record id="promotion_program_form" model="ir.ui.view">
<field name="name">Promotion Program Form</field>
<field name="model">promotion.program</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<group>
<field name="name" />
<field name="keywords" widget="many2many_tags" />
<field name="banner" widget="image" height="160" />
</group>
<group>
<field name="start_time" />
<field name="end_time" />
<field name="applies_to" />
</group>
</group>
<notebook>
<page string="Program Lines" name="program_lines">
<field name="program_line" />
</page>
<page string="Image Properties" name="image_properties">
<group>
<group>
<field name="icon" widget="image" height="120" />
<field name="icon_top" widget="image" height="80" />
<field name="icon_bottom" widget="image" height="80" />
</group>
</group>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<record id="promotion_program_action" model="ir.actions.act_window">
<field name="name">Promotion Program</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">promotion.program</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem
id="menu_promotion_program_parent"
name="Promotion Program"
parent="website.menu_website_configuration"
sequence="7"
/>
<menuitem
id="menu_promotion_program"
name="Program"
parent="indoteknik_custom.menu_promotion_program_parent"
sequence="1"
action="promotion_program_action"
/>
</odoo>
|