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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
<?xml version="1.0" encoding="utf-8" ?>
<openerp>
<data>
<record id="procurement_batch_tree_view" model="ir.ui.view">
<field name="name">procurement.batch.tree.view</field>
<field name="model">procurement.batch.cron</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="POs creation batches configuration">
<field name="name" />
<field name="type" />
<field name="last_run_on" />
<field name="interval_number" />
<field name="interval_type" />
<field name="nextcall" />
<button name="open_request_view" type="object" icon="terp-tools" string="View requests" />
</tree>
</field>
</record>
<record id="procurement_batch_form_view" model="ir.ui.view">
<field name="name">procurement.batch.form.view</field>
<field name="model">procurement.batch.cron</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="POs creation batch configuration">
<separator colspan="4" string="General information" />
<field name="name" colspan="4" />
<field name="type" />
<separator colspan="4" string="Parameters" />
<field name="interval_number" />
<field name="interval_type" />
<field name="nextcall" />
<field name="active" />
<separator colspan="4" string="Requests" />
<field name="last_run_on" />
<newline />
<field name="request_ids" colspan="4">
<tree string="Requests">
<field name="create_date" />
<field name="name" />
</tree>
<form string="Request">
<group colspan="4" col="6">
<separator colspan="6" string="General information" />
<field name="name" colspan="4" />
<field name="create_date" colspan="2" />
<separator colspan="6" string="Description" />
<field name="body" colspan="6" nolabel="1" />
</group>
</form>
</field>
</form>
</field>
</record>
<record id="batch_requests_view" model="ir.ui.view">
<field name="name">procurement.batch.form.view</field>
<field name="model">procurement.batch.cron</field>
<field name="type">form</field>
<field name="priority" eval="99" />
<field name="arch" type="xml">
<form string="Batch view">
<group colspan="4" col="6">
<separator colspan="6" string="General information" />
<field name="name" colspan="4" readonly="1" />
<field name="type" readonly="1" />
<separator colspan="6" string="Requests" />
<field name="last_run_on" />
<newline />
<field name="request_ids" colspan="6">
<tree string="Requests">
<field name="create_date" />
<field name="name" />
</tree>
<form string="Request">
<group colspan="4" col="6">
<separator colspan="6" string="General information" />
<field name="name" colspan="4" />
<field name="create_date" colspan="2" />
<separator colspan="6" string="Description" />
<field name="body" colspan="6" nolabel="1" />
</group>
</form>
</field>
</group>
</form>
</field>
</record>
<record id="action_procurement_batch_form" model="ir.actions.act_window">
<field name="name">POs Creation (Batch configuration)</field>
<field name="res_model">procurement.batch.cron</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="target" eval="False" />
</record>
<menuitem id="menu_procurement_batch"
action="action_procurement_batch_form"
sequence="99"
parent="procurement.menu_stock_sched" />
</data>
</openerp>
|