Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(76)

Delta Between Two Patch Sets: bom.xml

Issue 4306055: New production module (Closed)
Left Patch Set: Add recursion check Created 13 years, 11 months ago
Right Patch Set: To be sure Created 12 years, 11 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « bom.py ('k') | configuration.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <!-- This file is part of Tryton. The COPYRIGHT file at the top level of 2 <!-- This file is part of Tryton. The COPYRIGHT file at the top level of
3 this repository contains the full copyright notices and license terms. --> 3 this repository contains the full copyright notices and license terms. -->
4 <tryton> 4 <tryton>
5 <data> 5 <data>
6 <record model="ir.ui.view" id="bom_view_list"> 6 <record model="ir.ui.view" id="bom_view_list">
7 <field name="model">production.bom</field> 7 <field name="model">production.bom</field>
8 <field name="type">tree</field> 8 <field name="type">tree</field>
9 <field name="arch" type="xml"> 9 <field name="arch" type="xml">
10 <![CDATA[ 10 <![CDATA[
11 <tree string="BOM's"> 11 <tree string="BOMs">
12 <field name="name" select="1"/> 12 <field name="name"/>
13 <field name="active" select="2"/> 13 <field name="active"/>
14 </tree> 14 </tree>
15 ]]> 15 ]]>
16 </field> 16 </field>
17 </record> 17 </record>
18
18 <record model="ir.ui.view" id="bom_view_form"> 19 <record model="ir.ui.view" id="bom_view_form">
19 <field name="model">production.bom</field> 20 <field name="model">production.bom</field>
20 <field name="type">form</field> 21 <field name="type">form</field>
21 <field name="arch" type="xml"> 22 <field name="arch" type="xml">
22 <![CDATA[ 23 <![CDATA[
23 <form string="BOM"> 24 <form string="BOM">
24 <label name="name"/> 25 <label name="name"/>
25 <field name="name"/> 26 <field name="name"/>
26 <label name="active"/> 27 <label name="active"/>
27 <field name="active"/> 28 <field name="active"/>
28 <notebook> 29 <notebook>
29 <page string="Lines" id="lines" col="2"> 30 <page string="Lines" id="lines" col="2">
30 <field name="inputs"/> 31 <field name="inputs"/>
31 <field name="outputs"/> 32 <field name="outputs"/>
32 </page> 33 </page>
33 </notebook> 34 </notebook>
34 </form> 35 </form>
35 ]]> 36 ]]>
36 </field> 37 </field>
37 </record> 38 </record>
38 39
39 <record model="ir.action.act_window" id="act_bom_list"> 40 <record model="ir.action.act_window" id="act_bom_list">
40 <field name="name">BOM's</field> 41 <field name="name">BOMs</field>
41 <field name="res_model">production.bom</field> 42 <field name="res_model">production.bom</field>
42 </record> 43 </record>
43 <record model="ir.action.act_window.view" id="act_bom_list_view1"> 44 <record model="ir.action.act_window.view" id="act_bom_list_view1">
44 <field name="sequence" eval="10"/> 45 <field name="sequence" eval="10"/>
45 <field name="view" ref="bom_view_list"/> 46 <field name="view" ref="bom_view_list"/>
46 <field name="act_window" ref="act_bom_list"/> 47 <field name="act_window" ref="act_bom_list"/>
47 </record> 48 </record>
48 <record model="ir.action.act_window.view" id="act_bom_list_view2"> 49 <record model="ir.action.act_window.view" id="act_bom_list_view2">
49 <field name="sequence" eval="20"/> 50 <field name="sequence" eval="20"/>
50 <field name="view" ref="bom_view_form"/> 51 <field name="view" ref="bom_view_form"/>
51 <field name="act_window" ref="act_bom_list"/> 52 <field name="act_window" ref="act_bom_list"/>
52 </record> 53 </record>
53 <menuitem parent="menu_configuration" sequence="10" 54 <menuitem parent="menu_configuration" sequence="10"
54 action="act_bom_list" id="menu_bom_list"/> 55 action="act_bom_list" id="menu_bom_list"/>
55 56
56 <record model="ir.action.act_window" id="act_bom_form"> 57 <record model="ir.action.act_window" id="act_bom_form">
57 <field name="name">BOM</field> 58 <field name="name">BOM</field>
58 <field name="res_model">production.bom</field> 59 <field name="res_model">production.bom</field>
59 </record> 60 </record>
60 <record model="ir.action.act_window.view" id="act_bom_form_view1">
61 <field name="sequence" eval="10"/>
62 <field name="view" ref="bom_view_form"/>
63 <field name="act_window" ref="act_bom_form"/>
64 </record>
65 <record model="ir.action.act_window.view" id="act_bom_form_view2">
66 <field name="sequence" eval="20"/>
67 <field name="view" ref="bom_view_list"/>
68 <field name="act_window" ref="act_bom_form"/>
69 </record>
70 <menuitem name="New BOM" parent="menu_bom_list"
71 action="act_bom_form" id="menu_bom_form"/>
72 61
73 <record model="ir.model.access" id="access_bom"> 62 <record model="ir.model.access" id="access_bom">
74 <field name="model" search="[('model', '=', 'production.bom')]"/> 63 <field name="model" search="[('model', '=', 'production.bom')]"/>
75 <field name="perm_read" eval="True"/> 64 <field name="perm_read" eval="True"/>
76 <field name="perm_write" eval="False"/> 65 <field name="perm_write" eval="False"/>
77 <field name="perm_create" eval="False"/> 66 <field name="perm_create" eval="False"/>
78 <field name="perm_delete" eval="False"/> 67 <field name="perm_delete" eval="False"/>
79 </record> 68 </record>
80 <record model="ir.model.access" id="access_bom_admin"> 69 <record model="ir.model.access" id="access_bom_admin">
81 <field name="model" search="[('model', '=', 'production.bom')]"/> 70 <field name="model" search="[('model', '=', 'production.bom')]"/>
82 <field name="group" ref="group_production_admin"/> 71 <field name="group" ref="group_production_admin"/>
83 <field name="perm_read" eval="True"/> 72 <field name="perm_read" eval="True"/>
84 <field name="perm_write" eval="True"/> 73 <field name="perm_write" eval="True"/>
85 <field name="perm_create" eval="True"/> 74 <field name="perm_create" eval="True"/>
86 <field name="perm_delete" eval="True"/> 75 <field name="perm_delete" eval="True"/>
87 </record> 76 </record>
88 77
89 <record model="ir.ui.view" id="bom_input_view_list"> 78 <record model="ir.ui.view" id="bom_input_view_list">
90 <field name="model">production.bom.input</field> 79 <field name="model">production.bom.input</field>
91 <field name="type">tree</field> 80 <field name="type">tree</field>
92 <field name="arch" type="xml"> 81 <field name="arch" type="xml">
93 <![CDATA[ 82 <![CDATA[
94 <tree string="BOM Inputs"> 83 <tree string="BOM Inputs">
95 <field name="bom" select="1"/> 84 <field name="bom"/>
96 <field name="product" select="1"/> 85 <field name="product"/>
97 <field name="quantity"/> 86 <field name="quantity"/>
98 <field name="uom"/> 87 <field name="uom"/>
99 </tree> 88 </tree>
100 ]]> 89 ]]>
101 </field> 90 </field>
102 </record> 91 </record>
103 <record model="ir.ui.view" id="bom_input_view_form"> 92 <record model="ir.ui.view" id="bom_input_view_form">
104 <field name="model">production.bom.input</field> 93 <field name="model">production.bom.input</field>
105 <field name="type">form</field> 94 <field name="type">form</field>
106 <field name="arch" type="xml"> 95 <field name="arch" type="xml">
(...skipping 29 matching lines...) Expand all
136 <field name="perm_create" eval="True"/> 125 <field name="perm_create" eval="True"/>
137 <field name="perm_delete" eval="True"/> 126 <field name="perm_delete" eval="True"/>
138 </record> 127 </record>
139 128
140 <record model="ir.ui.view" id="bom_output_view_list"> 129 <record model="ir.ui.view" id="bom_output_view_list">
141 <field name="model">production.bom.output</field> 130 <field name="model">production.bom.output</field>
142 <field name="type">tree</field> 131 <field name="type">tree</field>
143 <field name="arch" type="xml"> 132 <field name="arch" type="xml">
144 <![CDATA[ 133 <![CDATA[
145 <tree string="BOM Outputs"> 134 <tree string="BOM Outputs">
146 <field name="bom" select="1"/> 135 <field name="bom"/>
147 <field name="product" select="1"/> 136 <field name="product"/>
148 <field name="quantity"/> 137 <field name="quantity"/>
149 <field name="uom"/> 138 <field name="uom"/>
150 </tree> 139 </tree>
151 ]]> 140 ]]>
152 </field> 141 </field>
153 </record> 142 </record>
154 <record model="ir.ui.view" id="bom_output_view_form"> 143 <record model="ir.ui.view" id="bom_output_view_form">
155 <field name="model">production.bom.output</field> 144 <field name="model">production.bom.output</field>
156 <field name="type">form</field> 145 <field name="type">form</field>
157 <field name="arch" type="xml"> 146 <field name="arch" type="xml">
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 <tree string="BOM Tree"> 186 <tree string="BOM Tree">
198 <field name="product"/> 187 <field name="product"/>
199 <field name="quantity"/> 188 <field name="quantity"/>
200 <field name="uom"/> 189 <field name="uom"/>
201 <field name="childs" tree_invisible="1"/> 190 <field name="childs" tree_invisible="1"/>
202 </tree> 191 </tree>
203 ]]> 192 ]]>
204 </field> 193 </field>
205 </record> 194 </record>
206 195
207 <record model="ir.ui.view" id="bom_tree_open_init_view_form"> 196 <record model="ir.ui.view" id="bom_tree_open_start_view_form">
208 <field name="model">production.bom.tree.open.init</field> 197 <field name="model">production.bom.tree.open.start</field>
209 <field name="type">form</field> 198 <field name="type">form</field>
210 <field name="arch" type="xml"> 199 <field name="arch" type="xml">
211 <![CDATA[ 200 <![CDATA[
212 <form string="BOM Tree"> 201 <form string="BOM Tree">
213 <label name="bom"/> 202 <label name="bom"/>
214 <field name="bom"/> 203 <field name="bom"/>
215 <newline/> 204 <newline/>
216 <label name="quantity"/> 205 <label name="quantity"/>
217 <field name="quantity"/> 206 <field name="quantity"/>
218 <label name="uom"/> 207 <label name="uom"/>
(...skipping 17 matching lines...) Expand all
236 225
237 <record model="ir.action.wizard" id="wizard_bom_tree_open"> 226 <record model="ir.action.wizard" id="wizard_bom_tree_open">
238 <field name="name">BOM Tree</field> 227 <field name="name">BOM Tree</field>
239 <field name="wiz_name">production.bom.tree.open</field> 228 <field name="wiz_name">production.bom.tree.open</field>
240 <field name="model">product.product</field> 229 <field name="model">product.product</field>
241 <field name="window" eval="True"/> 230 <field name="window" eval="True"/>
242 </record> 231 </record>
243 <record model="ir.action.keyword" 232 <record model="ir.action.keyword"
244 id="act_bom_tree_open_keyword1"> 233 id="act_bom_tree_open_keyword1">
245 <field name="keyword">form_relate</field> 234 <field name="keyword">form_relate</field>
246 <field name="model">product.product,0</field> 235 <field name="model">product.product,-1</field>
247 <field name="action" ref="wizard_bom_tree_open"/> 236 <field name="action" ref="wizard_bom_tree_open"/>
248 </record> 237 </record>
249 238
250 </data> 239 </data>
251 </tryton> 240 </tryton>
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b