Merge lp:~s-ferket/openeam/openeam into lp:openeam
- openeam
- Merge into trunk
Proposed by
Stefaan Ferket
Status: | Needs review |
---|---|
Proposed branch: | lp:~s-ferket/openeam/openeam |
Merge into: | lp:openeam |
Diff against target: |
3238 lines (+3018/-0) (has conflicts) 33 files modified
asset/asset_data.xml (+154/-0) asset/i18n/asset.pot (+526/-0) asset/i18n/nl.po (+507/-0) asset/static/src/css/asset.css (+83/-0) asset_account/__init__.py (+24/-0) asset_account/__openerp__.py (+46/-0) asset_account/asset.py (+38/-0) asset_account/asset_view.xml (+20/-0) asset_mrp/__init__.py (+24/-0) asset_mrp/__openerp__.py (+46/-0) asset_mrp/mrp.py (+30/-0) asset_mrp/mrp_view.xml (+25/-0) asset_purchase/__init__.py (+24/-0) asset_purchase/__openerp__.py (+42/-0) asset_purchase/asset.py (+34/-0) asset_purchase/asset_demo.xml (+19/-0) asset_purchase/i18n/asset_purchase.pot (+66/-0) asset_purchase/i18n/ru.po (+35/-0) asset_purchase/purchase_view.xml (+234/-0) asset_sale/__init__.py (+24/-0) asset_sale/__openerp__.py (+42/-0) asset_sale/asset.py (+34/-0) asset_sale/asset_demo.xml (+19/-0) asset_sale/i18n/asset_sale.pot (+121/-0) asset_sale/i18n/ru.po (+45/-0) asset_sale/sale_view.xml (+234/-0) asset_stock/__init__.py (+24/-0) asset_stock/__openerp__.py (+42/-0) asset_stock/asset.py (+34/-0) asset_stock/asset_demo.xml (+19/-0) asset_stock/i18n/asset_stock.pot (+133/-0) asset_stock/i18n/ru.po (+36/-0) asset_stock/stock_view.xml (+234/-0) Conflict adding file asset/asset_data.xml. Moved existing file to asset/asset_data.xml.moved. Conflict adding file asset/i18n/asset.pot. Moved existing file to asset/i18n/asset.pot.moved. Conflict adding file asset/static/src/css. Moved existing file to asset/static/src/css.moved. Conflict adding file asset_account. Moved existing file to asset_account.moved. Conflict adding file asset_mrp. Moved existing file to asset_mrp.moved. Conflict adding file asset_purchase. Moved existing file to asset_purchase.moved. Conflict adding file asset_sale. Moved existing file to asset_sale.moved. Conflict adding file asset_stock. Moved existing file to asset_stock.moved. |
To merge this branch: | bzr merge lp:~s-ferket/openeam/openeam |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
wowas | Pending | ||
Review via email: mp+238788@code.launchpad.net |
Commit message
Description of the change
Added Dutch translation
To post a comment you must log in.
Unmerged revisions
- 27. By Stefaan Ferket
-
Added Dutch translation
- 26. By wowas
-
[ADD] filter Asset by location
- 25. By wowas
-
[UPD] translate asset_sale
- 24. By wowas
-
[ADD] new modules
- 23. By wowas
-
[ADD] icon of asset_stock
- 22. By wowas
-
[FIX] update view
- 21. By wowas
-
[ADD] new module asset_stock
- 20. By wowas
-
[FIX] remove fold field
- 19. By wowas
-
[FIX] add fold field
- 18. By wowas
-
[ADD] drag&drop manage of state
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file 'asset/asset_data.xml' |
2 | --- asset/asset_data.xml 1970-01-01 00:00:00 +0000 |
3 | +++ asset/asset_data.xml 2014-10-18 07:04:41 +0000 |
4 | @@ -0,0 +1,154 @@ |
5 | +<?xml version="1.0" encoding="utf-8"?> |
6 | +<openerp> |
7 | + <data noupdate="1"> |
8 | + <!-- Asset states in Finance --> |
9 | + <record id="asset_state_planned" model="asset.state"> |
10 | + <field name="name">Planned</field> |
11 | + <field name="team">0</field> |
12 | + <field name="state_color">7</field> |
13 | + <field name="sequence">1</field> |
14 | + </record> |
15 | + <record id="asset_state_rented" model="asset.state"> |
16 | + <field name="name">Rented</field> |
17 | + <field name="team">0</field> |
18 | + <field name="state_color">5</field> |
19 | + <field name="sequence">2</field> |
20 | + </record> |
21 | + <record id="asset_state_purchased" model="asset.state"> |
22 | + <field name="name">Purchased</field> |
23 | + <field name="team">0</field> |
24 | + <field name="state_color">1</field> |
25 | + <field name="sequence">3</field> |
26 | + </record> |
27 | + <record id="asset_state_leased" model="asset.state"> |
28 | + <field name="name">Leased</field> |
29 | + <field name="team">0</field> |
30 | + <field name="state_color">4</field> |
31 | + <field name="sequence">4</field> |
32 | + </record> |
33 | + <record id="asset_state_sold" model="asset.state"> |
34 | + <field name="name">Sold</field> |
35 | + <field name="team">0</field> |
36 | + <field name="state_color">0</field> |
37 | + <field name="sequence">5</field> |
38 | + </record> |
39 | + <!-- Asset states in Warehouse --> |
40 | + <record id="asset_state_shipped" model="asset.state"> |
41 | + <field name="name">Shipped</field> |
42 | + <field name="team">1</field> |
43 | + <field name="state_color">5</field> |
44 | + <field name="sequence">1</field> |
45 | + </record> |
46 | + <record id="asset_state_moves" model="asset.state"> |
47 | + <field name="name">Moves</field> |
48 | + <field name="team">1</field> |
49 | + <field name="state_color">9</field> |
50 | + <field name="sequence">2</field> |
51 | + </record> |
52 | + <record id="asset_state_stored" model="asset.state"> |
53 | + <field name="name">Stored</field> |
54 | + <field name="team">1</field> |
55 | + <field name="state_color">3</field> |
56 | + <field name="sequence">3</field> |
57 | + </record> |
58 | + <record id="asset_state_installed" model="asset.state"> |
59 | + <field name="name">Installed</field> |
60 | + <field name="team">1</field> |
61 | + <field name="state_color">2</field> |
62 | + <field name="sequence">4</field> |
63 | + </record> |
64 | + <record id="asset_state_use" model="asset.state"> |
65 | + <field name="name">Use</field> |
66 | + <field name="team">1</field> |
67 | + <field name="state_color">1</field> |
68 | + <field name="sequence">5</field> |
69 | + </record> |
70 | + <record id="asset_state_stolen" model="asset.state"> |
71 | + <field name="name">Stolen</field> |
72 | + <field name="team">1</field> |
73 | + <field name="state_color">0</field> |
74 | + <field name="sequence">6</field> |
75 | + </record> |
76 | + <record id="asset_state_retired" model="asset.state"> |
77 | + <field name="name">Retired</field> |
78 | + <field name="team">1</field> |
79 | + <field name="state_color">4</field> |
80 | + <field name="sequence">7</field> |
81 | + </record> |
82 | + <!-- Asset states in Manufacture --> |
83 | + <record id="asset_state_shutdown" model="asset.state"> |
84 | + <field name="name">Shutdown</field> |
85 | + <field name="team">2</field> |
86 | + <field name="state_color">7</field> |
87 | + <field name="sequence">1</field> |
88 | + </record> |
89 | + <record id="asset_state_run" model="asset.state"> |
90 | + <field name="name">Run</field> |
91 | + <field name="team">2</field> |
92 | + <field name="state_color">1</field> |
93 | + <field name="sequence">2</field> |
94 | + </record> |
95 | + <record id="asset_state_setup" model="asset.state"> |
96 | + <field name="name">Setup</field> |
97 | + <field name="team">2</field> |
98 | + <field name="state_color">2</field> |
99 | + <field name="sequence">3</field> |
100 | + </record> |
101 | + <record id="asset_state_standby" model="asset.state"> |
102 | + <field name="name">Standby</field> |
103 | + <field name="team">2</field> |
104 | + <field name="state_color">3</field> |
105 | + <field name="sequence">4</field> |
106 | + </record> |
107 | + <record id="asset_state_down" model="asset.state"> |
108 | + <field name="name">Down</field> |
109 | + <field name="team">2</field> |
110 | + <field name="state_color">0</field> |
111 | + <field name="sequence">5</field> |
112 | + </record> |
113 | + <!-- Asset states in Maintenance --> |
114 | + <record id="asset_state_breakdown" model="asset.state"> |
115 | + <field name="name">Breakdown</field> |
116 | + <field name="team">3</field> |
117 | + <field name="state_color">0</field> |
118 | + <field name="sequence">1</field> |
119 | + </record> |
120 | + <record id="asset_state_repair" model="asset.state"> |
121 | + <field name="name">Repair</field> |
122 | + <field name="team">3</field> |
123 | + <field name="state_color">4</field> |
124 | + <field name="sequence">2</field> |
125 | + </record> |
126 | + <record id="asset_state_maintenance" model="asset.state"> |
127 | + <field name="name">Maintenance</field> |
128 | + <field name="team">3</field> |
129 | + <field name="state_color">8</field> |
130 | + <field name="sequence">3</field> |
131 | + </record> |
132 | + <record id="asset_state_operable" model="asset.state"> |
133 | + <field name="name">Operable</field> |
134 | + <field name="team">3</field> |
135 | + <field name="state_color">1</field> |
136 | + <field name="sequence">4</field> |
137 | + </record> |
138 | + <!-- Asset states in Accounting --> |
139 | + <record id="asset_state_draft" model="asset.state"> |
140 | + <field name="name">Draft</field> |
141 | + <field name="team">4</field> |
142 | + <field name="state_color">7</field> |
143 | + <field name="sequence">1</field> |
144 | + </record> |
145 | + <record id="asset_state_depreciation" model="asset.state"> |
146 | + <field name="name">Depreciation</field> |
147 | + <field name="team">4</field> |
148 | + <field name="state_color">1</field> |
149 | + <field name="sequence">2</field> |
150 | + </record> |
151 | + <record id="asset_state_close" model="asset.state"> |
152 | + <field name="name">Close</field> |
153 | + <field name="team">4</field> |
154 | + <field name="state_color">6</field> |
155 | + <field name="sequence">3</field> |
156 | + </record> |
157 | + </data> |
158 | +</openerp> |
159 | |
160 | === renamed file 'asset/asset_data.xml' => 'asset/asset_data.xml.moved' |
161 | === added file 'asset/i18n/asset.pot' |
162 | --- asset/i18n/asset.pot 1970-01-01 00:00:00 +0000 |
163 | +++ asset/i18n/asset.pot 2014-10-18 07:04:41 +0000 |
164 | @@ -0,0 +1,526 @@ |
165 | +# Translation of OpenERP Server. |
166 | +# This file contains the translation of the following modules: |
167 | +# * asset |
168 | +# |
169 | +msgid "" |
170 | +msgstr "" |
171 | +"Project-Id-Version: OpenERP Server 7.0-20140125-002455\n" |
172 | +"Report-Msgid-Bugs-To: \n" |
173 | +"POT-Creation-Date: 2014-02-26 09:25+0000\n" |
174 | +"PO-Revision-Date: 2014-02-26 09:25+0000\n" |
175 | +"Last-Translator: <>\n" |
176 | +"Language-Team: \n" |
177 | +"MIME-Version: 1.0\n" |
178 | +"Content-Type: text/plain; charset=UTF-8\n" |
179 | +"Content-Transfer-Encoding: \n" |
180 | +"Plural-Forms: \n" |
181 | + |
182 | +#. module: asset |
183 | +#: selection:asset.asset,maintenance_state_color:0 |
184 | +#: selection:asset.state,state_color:0 |
185 | +msgid "Blue" |
186 | +msgstr "" |
187 | + |
188 | +#. module: asset |
189 | +#: help:asset.state,fold:0 |
190 | +msgid "This stage is not visible, for example in status bar or kanban view, when there are no records in that stage to display." |
191 | +msgstr "" |
192 | + |
193 | +#. module: asset |
194 | +#: model:ir.model,name:asset.model_asset_asset |
195 | +msgid "Asset" |
196 | +msgstr "" |
197 | + |
198 | +#. module: asset |
199 | +#: selection:asset.asset,maintenance_state_color:0 |
200 | +#: selection:asset.state,state_color:0 |
201 | +msgid "White" |
202 | +msgstr "" |
203 | + |
204 | +#. module: asset |
205 | +#: selection:asset.state,team:0 |
206 | +msgid "Manufacture" |
207 | +msgstr "" |
208 | + |
209 | +#. module: asset |
210 | +#: field:asset.asset,criticality:0 |
211 | +msgid "Criticality" |
212 | +msgstr "" |
213 | + |
214 | +#. module: asset |
215 | +#: field:asset.asset,message_unread:0 |
216 | +msgid "Unread Messages" |
217 | +msgstr "" |
218 | + |
219 | +#. module: asset |
220 | +#: field:asset.asset,warranty_end_date:0 |
221 | +msgid "Warranty End" |
222 | +msgstr "" |
223 | + |
224 | +#. module: asset |
225 | +#: model:asset.asset,name:asset.asset_asset_3 |
226 | +msgid "Building" |
227 | +msgstr "" |
228 | + |
229 | +#. module: asset |
230 | +#: view:asset.asset:0 |
231 | +#: model:ir.actions.act_window,name:asset.action_assets |
232 | +#: model:ir.ui.menu,name:asset.menu_maintenance_assets |
233 | +#: model:ir.ui.menu,name:asset.menu_maintenance_assets_assets |
234 | +#: model:stock.location,name:asset.stock_location_assets |
235 | +msgid "Assets" |
236 | +msgstr "" |
237 | + |
238 | +#. module: asset |
239 | +#: view:asset.asset:0 |
240 | +msgid "Model:" |
241 | +msgstr "" |
242 | + |
243 | +#. module: asset |
244 | +#: model:asset.state,name:asset.asset_state_setup |
245 | +msgid "Setup" |
246 | +msgstr "" |
247 | + |
248 | +#. module: asset |
249 | +#: field:asset.asset,message_ids:0 |
250 | +msgid "Messages" |
251 | +msgstr "" |
252 | + |
253 | +#. module: asset |
254 | +#: help:asset.asset,message_unread:0 |
255 | +msgid "If checked new messages require your attention." |
256 | +msgstr "" |
257 | + |
258 | +#. module: asset |
259 | +#: model:asset.state,name:asset.asset_state_installed |
260 | +msgid "Installed" |
261 | +msgstr "" |
262 | + |
263 | +#. module: asset |
264 | +#: view:asset.asset:0 |
265 | +msgid "Warranty" |
266 | +msgstr "" |
267 | + |
268 | +#. module: asset |
269 | +#: view:asset.asset:0 |
270 | +msgid "Manufacturer:" |
271 | +msgstr "" |
272 | + |
273 | +#. module: asset |
274 | +#: help:asset.asset,message_summary:0 |
275 | +msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views." |
276 | +msgstr "" |
277 | + |
278 | +#. module: asset |
279 | +#: model:asset.state,name:asset.asset_state_stored |
280 | +msgid "Stored" |
281 | +msgstr "" |
282 | + |
283 | +#. module: asset |
284 | +#: model:ir.actions.act_window,name:asset.action_management_assets |
285 | +#: model:ir.ui.menu,name:asset.menu_maintenance_assets_management |
286 | +msgid "Manage states" |
287 | +msgstr "" |
288 | + |
289 | +#. module: asset |
290 | +#: model:asset.state,name:asset.asset_state_draft |
291 | +msgid "Draft" |
292 | +msgstr "" |
293 | + |
294 | +#. module: asset |
295 | +#: selection:asset.asset,maintenance_state_color:0 |
296 | +#: selection:asset.state,state_color:0 |
297 | +msgid "Magenta" |
298 | +msgstr "" |
299 | + |
300 | +#. module: asset |
301 | +#: model:asset.state,name:asset.asset_state_rented |
302 | +msgid "Rented" |
303 | +msgstr "" |
304 | + |
305 | +#. module: asset |
306 | +#: model:asset.state,name:asset.asset_state_operable |
307 | +msgid "Operable" |
308 | +msgstr "" |
309 | + |
310 | +#. module: asset |
311 | +#: field:asset.asset,maintenance_state_id:0 |
312 | +#: view:asset.state:0 |
313 | +#: field:asset.state,name:0 |
314 | +msgid "State" |
315 | +msgstr "" |
316 | + |
317 | +#. module: asset |
318 | +#: field:asset.asset,message_follower_ids:0 |
319 | +msgid "Followers" |
320 | +msgstr "" |
321 | + |
322 | +#. module: asset |
323 | +#: model:ir.model,name:asset.model_stock_location |
324 | +msgid "Location" |
325 | +msgstr "" |
326 | + |
327 | +#. module: asset |
328 | +#: selection:asset.asset,maintenance_state_color:0 |
329 | +#: selection:asset.state,state_color:0 |
330 | +msgid "Orange" |
331 | +msgstr "" |
332 | + |
333 | +#. module: asset |
334 | +#: view:asset.state:0 |
335 | +msgid "Change color" |
336 | +msgstr "" |
337 | + |
338 | +#. module: asset |
339 | +#: view:asset.asset:0 |
340 | +msgid "Serial No:" |
341 | +msgstr "" |
342 | + |
343 | +#. module: asset |
344 | +#: selection:asset.asset,maintenance_state_color:0 |
345 | +#: selection:asset.state,state_color:0 |
346 | +msgid "Red" |
347 | +msgstr "" |
348 | + |
349 | +#. module: asset |
350 | +#: model:asset.state,name:asset.asset_state_breakdown |
351 | +msgid "Breakdown" |
352 | +msgstr "" |
353 | + |
354 | +#. module: asset |
355 | +#: model:asset.state,name:asset.asset_state_run |
356 | +msgid "Run" |
357 | +msgstr "" |
358 | + |
359 | +#. module: asset |
360 | +#: help:asset.asset,image_medium:0 |
361 | +msgid "Medium-sized image of the asset. It is automatically resized as a 128x128px image, with aspect ratio preserved, only when the image exceeds one of those sizes. Use this field in form views or some kanban views." |
362 | +msgstr "" |
363 | + |
364 | +#. module: asset |
365 | +#: model:asset.asset,name:asset.asset_asset_1 |
366 | +msgid "Moulding machine 25" |
367 | +msgstr "" |
368 | + |
369 | +#. module: asset |
370 | +#: selection:asset.asset,maintenance_state_color:0 |
371 | +#: selection:asset.state,state_color:0 |
372 | +msgid "Cyan" |
373 | +msgstr "" |
374 | + |
375 | +#. module: asset |
376 | +#: model:ir.ui.menu,name:asset.menu_maintenance_config |
377 | +msgid "Configuration" |
378 | +msgstr "" |
379 | + |
380 | +#. module: asset |
381 | +#: help:asset.asset,image:0 |
382 | +msgid "This field holds the image used as image for the asset, limited to 1024x1024px." |
383 | +msgstr "" |
384 | + |
385 | +#. module: asset |
386 | +#: view:asset.asset:0 |
387 | +msgid "Info" |
388 | +msgstr "" |
389 | + |
390 | +#. module: asset |
391 | +#: field:asset.asset,property_stock_asset:0 |
392 | +msgid "Asset Location" |
393 | +msgstr "" |
394 | + |
395 | +#. module: asset |
396 | +#: model:asset.state,name:asset.asset_state_purchased |
397 | +msgid "Purchased" |
398 | +msgstr "" |
399 | + |
400 | +#. module: asset |
401 | +#: model:asset.state,name:asset.asset_state_standby |
402 | +msgid "Standby" |
403 | +msgstr "" |
404 | + |
405 | +#. module: asset |
406 | +#: selection:asset.asset,criticality:0 |
407 | +msgid "Very important" |
408 | +msgstr "" |
409 | + |
410 | +#. module: asset |
411 | +#: model:asset.state,name:asset.asset_state_shipped |
412 | +msgid "Shipped" |
413 | +msgstr "" |
414 | + |
415 | +#. module: asset |
416 | +#: selection:asset.asset,maintenance_state_color:0 |
417 | +#: selection:asset.state,state_color:0 |
418 | +msgid "Green" |
419 | +msgstr "" |
420 | + |
421 | +#. module: asset |
422 | +#: model:asset.state,name:asset.asset_state_planned |
423 | +msgid "Planned" |
424 | +msgstr "" |
425 | + |
426 | +#. module: asset |
427 | +#: field:asset.asset,image_small:0 |
428 | +msgid "Small-sized image" |
429 | +msgstr "" |
430 | + |
431 | +#. module: asset |
432 | +#: selection:asset.asset,maintenance_state_color:0 |
433 | +#: selection:asset.state,state_color:0 |
434 | +msgid "SkyBlue" |
435 | +msgstr "" |
436 | + |
437 | +#. module: asset |
438 | +#: model:asset.state,name:asset.asset_state_retired |
439 | +msgid "Retired" |
440 | +msgstr "" |
441 | + |
442 | +#. module: asset |
443 | +#: field:asset.asset,image:0 |
444 | +msgid "Image" |
445 | +msgstr "" |
446 | + |
447 | +#. module: asset |
448 | +#: field:asset.asset,serial:0 |
449 | +msgid "Serial no." |
450 | +msgstr "" |
451 | + |
452 | +#. module: asset |
453 | +#: field:asset.asset,image_medium:0 |
454 | +msgid "Medium-sized image" |
455 | +msgstr "" |
456 | + |
457 | +#. module: asset |
458 | +#: field:asset.asset,start_date:0 |
459 | +msgid "Start Date" |
460 | +msgstr "" |
461 | + |
462 | +#. module: asset |
463 | +#: model:asset.state,name:asset.asset_state_use |
464 | +msgid "Use" |
465 | +msgstr "" |
466 | + |
467 | +#. module: asset |
468 | +#: selection:asset.asset,criticality:0 |
469 | +msgid "Critical" |
470 | +msgstr "" |
471 | + |
472 | +#. module: asset |
473 | +#: selection:asset.asset,maintenance_state_color:0 |
474 | +#: selection:asset.state,state_color:0 |
475 | +msgid "Black" |
476 | +msgstr "" |
477 | + |
478 | +#. module: asset |
479 | +#: model:asset.state,name:asset.asset_state_maintenance |
480 | +#: selection:asset.state,team:0 |
481 | +msgid "Maintenance" |
482 | +msgstr "" |
483 | + |
484 | +#. module: asset |
485 | +#: model:ir.module.category,description:asset.module_category_eam |
486 | +msgid "Helps you manage your assets." |
487 | +msgstr "" |
488 | + |
489 | +#. module: asset |
490 | +#: selection:asset.state,team:0 |
491 | +msgid "Finance" |
492 | +msgstr "" |
493 | + |
494 | +#. module: asset |
495 | +#: model:asset.state,name:asset.asset_state_sold |
496 | +msgid "Sold" |
497 | +msgstr "" |
498 | + |
499 | +#. module: asset |
500 | +#: field:asset.asset,message_is_follower:0 |
501 | +msgid "Is a Follower" |
502 | +msgstr "" |
503 | + |
504 | +#. module: asset |
505 | +#: field:asset.asset,active:0 |
506 | +msgid "Active" |
507 | +msgstr "" |
508 | + |
509 | +#. module: asset |
510 | +#: selection:asset.asset,maintenance_state_color:0 |
511 | +#: selection:asset.state,state_color:0 |
512 | +msgid "Yellow" |
513 | +msgstr "" |
514 | + |
515 | +#. module: asset |
516 | +#: field:asset.asset,manufacturer_id:0 |
517 | +msgid "Manufacturer" |
518 | +msgstr "" |
519 | + |
520 | +#. module: asset |
521 | +#: help:asset.asset,image_small:0 |
522 | +msgid "Small-sized image of the asset. It is automatically resized as a 64x64px image, with aspect ratio preserved. Use this field anywhere a small image is required." |
523 | +msgstr "" |
524 | + |
525 | +#. module: asset |
526 | +#: model:ir.actions.act_window,name:asset.action_asset_state |
527 | +#: model:ir.ui.menu,name:asset.menu_asset_state |
528 | +msgid "Asset States" |
529 | +msgstr "" |
530 | + |
531 | +#. module: asset |
532 | +#: field:asset.asset,message_summary:0 |
533 | +msgid "Summary" |
534 | +msgstr "" |
535 | + |
536 | +#. module: asset |
537 | +#: model:ir.model,name:asset.model_asset_state |
538 | +msgid "State of Asset" |
539 | +msgstr "" |
540 | + |
541 | +#. module: asset |
542 | +#: field:asset.asset,user_id:0 |
543 | +msgid "Assigned to" |
544 | +msgstr "" |
545 | + |
546 | +#. module: asset |
547 | +#: model:asset.state,name:asset.asset_state_repair |
548 | +msgid "Repair" |
549 | +msgstr "" |
550 | + |
551 | +#. module: asset |
552 | +#: field:asset.state,team:0 |
553 | +msgid "Scope Team" |
554 | +msgstr "" |
555 | + |
556 | +#. module: asset |
557 | +#: help:asset.state,sequence:0 |
558 | +msgid "Used to order states." |
559 | +msgstr "" |
560 | + |
561 | +#. module: asset |
562 | +#: selection:asset.asset,criticality:0 |
563 | +msgid "General" |
564 | +msgstr "" |
565 | + |
566 | +#. module: asset |
567 | +#: model:asset.state,name:asset.asset_state_down |
568 | +msgid "Down" |
569 | +msgstr "" |
570 | + |
571 | +#. module: asset |
572 | +#: model:asset.state,name:asset.asset_state_shutdown |
573 | +msgid "Shutdown" |
574 | +msgstr "" |
575 | + |
576 | +#. module: asset |
577 | +#: field:asset.asset,asset_number:0 |
578 | +msgid "Asset Number" |
579 | +msgstr "" |
580 | + |
581 | +#. module: asset |
582 | +#: model:asset.state,name:asset.asset_state_close |
583 | +msgid "Close" |
584 | +msgstr "" |
585 | + |
586 | +#. module: asset |
587 | +#: model:asset.state,name:asset.asset_state_moves |
588 | +msgid "Moves" |
589 | +msgstr "" |
590 | + |
591 | +#. module: asset |
592 | +#: help:asset.asset,property_stock_asset:0 |
593 | +msgid "This location will be used as the destination location for installed parts during asset life." |
594 | +msgstr "" |
595 | + |
596 | +#. module: asset |
597 | +#: field:asset.state,state_color:0 |
598 | +msgid "State Color" |
599 | +msgstr "" |
600 | + |
601 | +#. module: asset |
602 | +#: field:asset.asset,purchase_date:0 |
603 | +msgid "Purchase Date" |
604 | +msgstr "" |
605 | + |
606 | +#. module: asset |
607 | +#: selection:asset.state,team:0 |
608 | +msgid "Warehouse" |
609 | +msgstr "" |
610 | + |
611 | +#. module: asset |
612 | +#: field:asset.asset,name:0 |
613 | +msgid "Asset Name" |
614 | +msgstr "" |
615 | + |
616 | +#. module: asset |
617 | +#: model:asset.state,name:asset.asset_state_leased |
618 | +msgid "Leased" |
619 | +msgstr "" |
620 | + |
621 | +#. module: asset |
622 | +#: field:asset.state,fold:0 |
623 | +msgid "Hide in views if empty" |
624 | +msgstr "" |
625 | + |
626 | +#. module: asset |
627 | +#: selection:asset.asset,criticality:0 |
628 | +msgid "Important" |
629 | +msgstr "" |
630 | + |
631 | +#. module: asset |
632 | +#: model:asset.state,name:asset.asset_state_stolen |
633 | +msgid "Stolen" |
634 | +msgstr "" |
635 | + |
636 | +#. module: asset |
637 | +#: model:asset.asset,name:asset.asset_asset_2 |
638 | +msgid "Truck" |
639 | +msgstr "" |
640 | + |
641 | +#. module: asset |
642 | +#: model:asset.state,name:asset.asset_state_depreciation |
643 | +msgid "Depreciation" |
644 | +msgstr "" |
645 | + |
646 | +#. module: asset |
647 | +#: field:asset.asset,vendor_id:0 |
648 | +msgid "Vendor" |
649 | +msgstr "" |
650 | + |
651 | +#. module: asset |
652 | +#: field:asset.asset,model:0 |
653 | +msgid "Model" |
654 | +msgstr "" |
655 | + |
656 | +#. module: asset |
657 | +#: model:stock.location,name:asset.stock_location_locations_asset |
658 | +msgid "Asset Locations" |
659 | +msgstr "" |
660 | + |
661 | +#. module: asset |
662 | +#: help:asset.asset,message_ids:0 |
663 | +msgid "Messages and communication history" |
664 | +msgstr "" |
665 | + |
666 | +#. module: asset |
667 | +#: field:asset.state,sequence:0 |
668 | +msgid "Sequence" |
669 | +msgstr "" |
670 | + |
671 | +#. module: asset |
672 | +#: field:asset.asset,maintenance_state_color:0 |
673 | +msgid "Color" |
674 | +msgstr "" |
675 | + |
676 | +#. module: asset |
677 | +#: field:asset.asset,warranty_start_date:0 |
678 | +msgid "Warranty Start" |
679 | +msgstr "" |
680 | + |
681 | +#. module: asset |
682 | +#: selection:asset.state,team:0 |
683 | +msgid "Accounting" |
684 | +msgstr "" |
685 | + |
686 | +#. module: asset |
687 | +#: model:ir.module.category,name:asset.module_category_eam |
688 | +msgid "Enterprise Asset Management" |
689 | +msgstr "" |
690 | + |
691 | |
692 | === renamed file 'asset/i18n/asset.pot' => 'asset/i18n/asset.pot.moved' |
693 | === added file 'asset/i18n/nl.po' |
694 | --- asset/i18n/nl.po 1970-01-01 00:00:00 +0000 |
695 | +++ asset/i18n/nl.po 2014-10-18 07:04:41 +0000 |
696 | @@ -0,0 +1,507 @@ |
697 | +# Translation of OpenERP Server. |
698 | +# This file contains the translation of the following modules: |
699 | +# |
700 | +# |
701 | +msgid "" |
702 | +msgstr "" |
703 | +"Project-Id-Version: OpenERP Server 7.0-20140804-231303\n" |
704 | +"Report-Msgid-Bugs-To: \n" |
705 | +"POT-Creation-Date: 2014-10-18 05:59+0000\n" |
706 | +"PO-Revision-Date: 2014-10-18 05:59+0000\n" |
707 | +"Last-Translator: <>\n" |
708 | +"Language-Team: \n" |
709 | +"MIME-Version: 1.0\n" |
710 | +"Content-Type: text/plain; charset=UTF-8\n" |
711 | +"Content-Transfer-Encoding: \n" |
712 | +"Plural-Forms: \n" |
713 | + |
714 | +#. module: asset |
715 | +#: selection:asset.asset,maintenance_state_color:0 |
716 | +#: selection:asset.state,state_color:0 |
717 | +msgid "Blauw" |
718 | +msgstr "Blauw" |
719 | + |
720 | +#. module: asset |
721 | +#: model:ir.model,name:asset.model_asset_asset |
722 | +msgid "Asset" |
723 | +msgstr "Asset" |
724 | + |
725 | +#. module: asset |
726 | +#: selection:asset.asset,maintenance_state_color:0 |
727 | +#: selection:asset.state,state_color:0 |
728 | +msgid "White" |
729 | +msgstr "Wit" |
730 | + |
731 | +#. module: asset |
732 | +#: selection:asset.state,team:0 |
733 | +msgid "Manufacture" |
734 | +msgstr "Fabricage" |
735 | + |
736 | +#. module: asset |
737 | +#: field:asset.asset,criticality:0 |
738 | +msgid "Criticality" |
739 | +msgstr "Kritiek element" |
740 | + |
741 | +#. module: asset |
742 | +#: field:asset.asset,message_unread:0 |
743 | +msgid "Unread Messages" |
744 | +msgstr "Ongelezen Berichten" |
745 | + |
746 | +#. module: asset |
747 | +#: field:asset.asset,warranty_end_date:0 |
748 | +msgid "Warranty End" |
749 | +msgstr "Einde Garantie" |
750 | + |
751 | +#. module: asset |
752 | +#: view:asset.asset:0 |
753 | +#: model:ir.actions.act_window,name:asset.action_assets |
754 | +#: model:ir.ui.menu,name:asset.menu_maintenance_assets |
755 | +#: model:ir.ui.menu,name:asset.menu_maintenance_assets_assets |
756 | +#: model:stock.location,name:asset.stock_location_assets |
757 | +msgid "Assets" |
758 | +msgstr "Assets" |
759 | + |
760 | +#. module: asset |
761 | +#: view:asset.asset:0 |
762 | +msgid "Model:" |
763 | +msgstr "Model:" |
764 | + |
765 | +#. module: asset |
766 | +#: model:asset.state,name:asset.asset_state_setup |
767 | +msgid "Setup" |
768 | +msgstr "Setup" |
769 | + |
770 | +#. module: asset |
771 | +#: field:asset.asset,message_ids:0 |
772 | +msgid "Messages" |
773 | +msgstr "Berichten" |
774 | + |
775 | +#. module: asset |
776 | +#: help:asset.asset,message_unread:0 |
777 | +msgid "If checked new messages require your attention." |
778 | +msgstr "Indien aangevinkt nieuwe berichten vragen om uw aandacht." |
779 | + |
780 | +#. module: asset |
781 | +#: model:asset.state,name:asset.asset_state_installed |
782 | +msgid "Installed" |
783 | +msgstr "Geïnstalleerd" |
784 | + |
785 | +#. module: asset |
786 | +#: view:asset.asset:0 |
787 | +msgid "Warranty" |
788 | +msgstr "Garantie" |
789 | + |
790 | +#. module: asset |
791 | +#: view:asset.asset:0 |
792 | +msgid "Manufacturer:" |
793 | +msgstr "Fabrikant:" |
794 | + |
795 | +#. module: asset |
796 | +#: help:asset.asset,message_summary:0 |
797 | +msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views." |
798 | +msgstr "Houdt de Chatter samenvatting (aantal berichten, ...). Deze samenvatting is rechtstreeks in html-formaat om in kanban bekeken moet worden ingevoegd." |
799 | + |
800 | +#. module: asset |
801 | +#: model:asset.state,name:asset.asset_state_stored |
802 | +msgid "Stored" |
803 | +msgstr "Opgeslagen" |
804 | + |
805 | +#. module: asset |
806 | +#: model:ir.actions.act_window,name:asset.action_management_assets |
807 | +#: model:ir.ui.menu,name:asset.menu_maintenance_assets_management |
808 | +msgid "Manage states" |
809 | +msgstr "Beheer statussen" |
810 | + |
811 | +#. module: asset |
812 | +#: model:asset.state,name:asset.asset_state_draft |
813 | +msgid "Draft" |
814 | +msgstr "Concept" |
815 | + |
816 | +#. module: asset |
817 | +#: selection:asset.asset,maintenance_state_color:0 |
818 | +#: selection:asset.state,state_color:0 |
819 | +msgid "Magenta" |
820 | +msgstr "Magenta" |
821 | + |
822 | +#. module: asset |
823 | +#: model:asset.state,name:asset.asset_state_rented |
824 | +msgid "Rented" |
825 | +msgstr "Verhuurd" |
826 | + |
827 | +#. module: asset |
828 | +#: model:asset.state,name:asset.asset_state_operable |
829 | +msgid "Operable" |
830 | +msgstr "Bruikbaar" |
831 | + |
832 | +#. module: asset |
833 | +#: field:asset.asset,finance_state_id:0 |
834 | +#: field:asset.asset,maintenance_state_id:0 |
835 | +#: field:asset.asset,manufacture_state_id:0 |
836 | +#: field:asset.asset,warehouse_state_id:0 |
837 | +#: view:asset.state:0 |
838 | +#: field:asset.state,name:0 |
839 | +msgid "State" |
840 | +msgstr "Staat" |
841 | + |
842 | +#. module: asset |
843 | +#: field:asset.asset,message_follower_ids:0 |
844 | +msgid "Followers" |
845 | +msgstr "Volgers" |
846 | + |
847 | +#. module: asset |
848 | +#: model:ir.model,name:asset.model_stock_location |
849 | +msgid "Location" |
850 | +msgstr "Locatie" |
851 | + |
852 | +#. module: asset |
853 | +#: selection:asset.asset,maintenance_state_color:0 |
854 | +#: selection:asset.state,state_color:0 |
855 | +msgid "Orange" |
856 | +msgstr "Orange" |
857 | + |
858 | +#. module: asset |
859 | +#: view:asset.state:0 |
860 | +msgid "Change color" |
861 | +msgstr "Kleur veranderen" |
862 | + |
863 | +#. module: asset |
864 | +#: view:asset.asset:0 |
865 | +msgid "Serial No:" |
866 | +msgstr "Serienummer:" |
867 | + |
868 | +#. module: asset |
869 | +#: selection:asset.asset,maintenance_state_color:0 |
870 | +#: selection:asset.state,state_color:0 |
871 | +msgid "Red" |
872 | +msgstr "Rood" |
873 | + |
874 | +#. module: asset |
875 | +#: model:asset.state,name:asset.asset_state_breakdown |
876 | +msgid "Breakdown" |
877 | +msgstr "Storing" |
878 | + |
879 | +#. module: asset |
880 | +#: model:asset.state,name:asset.asset_state_run |
881 | +msgid "Run" |
882 | +msgstr "Run" |
883 | + |
884 | +#. module: asset |
885 | +#: help:asset.asset,image_medium:0 |
886 | +msgid "Medium-sized image of the asset. It is automatically resized as a 128x128px image, with aspect ratio preserved, only when the image exceeds one of those sizes. Use this field in form views or some kanban views." |
887 | +msgstr "Middelgrote afbeelding van het asset. Het wordt automatisch vergroot of verkleind beeld 128x128px als, met beeldverhouding behouden, alleen wanneer de afbeelding groter is dan een van die maten. Gebruik dit veld in uitzicht vorm of een kanban uitzicht." |
888 | + |
889 | +#. module: asset |
890 | +#: selection:asset.asset,maintenance_state_color:0 |
891 | +#: selection:asset.state,state_color:0 |
892 | +msgid "Cyan" |
893 | +msgstr "Cyaan" |
894 | + |
895 | +#. module: asset |
896 | +#: model:ir.ui.menu,name:asset.menu_maintenance_config |
897 | +msgid "Configuration" |
898 | +msgstr "Configuratie" |
899 | + |
900 | +#. module: asset |
901 | +#: help:asset.asset,image:0 |
902 | +msgid "This field holds the image used as image for the asset, limited to 1024x1024px." |
903 | +msgstr "Dit veld bevat het gebruikt als afbeelding voor het actief afbeelding, beperkt tot 1024x1024px." |
904 | + |
905 | +#. module: asset |
906 | +#: view:asset.asset:0 |
907 | +msgid "Info" |
908 | +msgstr "Info" |
909 | + |
910 | +#. module: asset |
911 | +#: field:asset.asset,property_stock_asset:0 |
912 | +msgid "Asset Location" |
913 | +msgstr "Asset locatie" |
914 | + |
915 | +#. module: asset |
916 | +#: model:asset.state,name:asset.asset_state_purchased |
917 | +msgid "Purchased" |
918 | +msgstr "Gekocht" |
919 | + |
920 | +#. module: asset |
921 | +#: model:asset.state,name:asset.asset_state_standby |
922 | +msgid "Standby" |
923 | +msgstr "Standby" |
924 | + |
925 | +#. module: asset |
926 | +#: selection:asset.asset,criticality:0 |
927 | +msgid "Very important" |
928 | +msgstr "Heel belangrijk" |
929 | + |
930 | +#. module: asset |
931 | +#: model:asset.state,name:asset.asset_state_shipped |
932 | +msgid "Shipped" |
933 | +msgstr "Verscheept" |
934 | + |
935 | +#. module: asset |
936 | +#: selection:asset.asset,maintenance_state_color:0 |
937 | +#: selection:asset.state,state_color:0 |
938 | +msgid "Green" |
939 | +msgstr "Groen" |
940 | + |
941 | +#. module: asset |
942 | +#: model:asset.state,name:asset.asset_state_planned |
943 | +msgid "Planned" |
944 | +msgstr "Geplande" |
945 | + |
946 | +#. module: asset |
947 | +#: field:asset.asset,image_small:0 |
948 | +msgid "Small-sized image" |
949 | +msgstr "Kleine afbeelding" |
950 | + |
951 | +#. module: asset |
952 | +#: selection:asset.asset,maintenance_state_color:0 |
953 | +#: selection:asset.state,state_color:0 |
954 | +msgid "SkyBlue" |
955 | +msgstr "Hemelsblauw" |
956 | + |
957 | +#. module: asset |
958 | +#: model:asset.state,name:asset.asset_state_retired |
959 | +msgid "Retired" |
960 | +msgstr "Gepensioneerd" |
961 | + |
962 | +#. module: asset |
963 | +#: field:asset.asset,image:0 |
964 | +msgid "Image" |
965 | +msgstr "Afbeelding" |
966 | + |
967 | +#. module: asset |
968 | +#: field:asset.asset,serial:0 |
969 | +msgid "Serial no." |
970 | +msgstr "Serienummer." |
971 | + |
972 | +#. module: asset |
973 | +#: field:asset.asset,image_medium:0 |
974 | +msgid "Medium-sized image" |
975 | +msgstr "Middelgrote afbeelding |
976 | +" |
977 | + |
978 | +#. module: asset |
979 | +#: field:asset.asset,start_date:0 |
980 | +msgid "Start Date" |
981 | +msgstr "Startdatum" |
982 | + |
983 | +#. module: asset |
984 | +#: model:asset.state,name:asset.asset_state_use |
985 | +msgid "Use" |
986 | +msgstr "Gebruik" |
987 | + |
988 | +#. module: asset |
989 | +#: selection:asset.asset,criticality:0 |
990 | +msgid "Critical" |
991 | +msgstr "Kritiek |
992 | +" |
993 | + |
994 | +#. module: asset |
995 | +#: selection:asset.asset,maintenance_state_color:0 |
996 | +#: selection:asset.state,state_color:0 |
997 | +msgid "Black" |
998 | +msgstr "Zwart" |
999 | + |
1000 | +#. module: asset |
1001 | +#: model:asset.state,name:asset.asset_state_maintenance |
1002 | +#: selection:asset.state,team:0 |
1003 | +msgid "Maintenance" |
1004 | +msgstr "Onderhoud " |
1005 | + |
1006 | +#. module: asset |
1007 | +#: model:ir.module.category,description:asset.module_category_eam |
1008 | +msgid "Helps you manage your assets." |
1009 | +msgstr "Helpt u uw assets te beheren." |
1010 | + |
1011 | +#. module: asset |
1012 | +#: selection:asset.state,team:0 |
1013 | +msgid "Finance" |
1014 | +msgstr "Financiën" |
1015 | + |
1016 | +#. module: asset |
1017 | +#: model:asset.state,name:asset.asset_state_sold |
1018 | +msgid "Sold" |
1019 | +msgstr "Verkocht" |
1020 | + |
1021 | +#. module: asset |
1022 | +#: field:asset.asset,message_is_follower:0 |
1023 | +msgid "Is a Follower" |
1024 | +msgstr "Is een volger" |
1025 | + |
1026 | +#. module: asset |
1027 | +#: field:asset.asset,active:0 |
1028 | +msgid "Active" |
1029 | +msgstr "Actief" |
1030 | + |
1031 | +#. module: asset |
1032 | +#: selection:asset.asset,maintenance_state_color:0 |
1033 | +#: selection:asset.state,state_color:0 |
1034 | +msgid "Yellow" |
1035 | +msgstr "Geel" |
1036 | + |
1037 | +#. module: asset |
1038 | +#: field:asset.asset,manufacturer_id:0 |
1039 | +msgid "Manufacturer" |
1040 | +msgstr "Fabrikant" |
1041 | + |
1042 | +#. module: asset |
1043 | +#: help:asset.asset,image_small:0 |
1044 | +msgid "Small-sized image of the asset. It is automatically resized as a 64x64px image, with aspect ratio preserved. Use this field anywhere a small image is required." |
1045 | +msgstr "Kleine afbeelding van het actief. Het wordt automatisch vergroot of verkleind beeld 64x64px zo, met beeldverhouding behouden. Gebruik dit veld ergens een kleine afbeelding is vereist." |
1046 | + |
1047 | +#. module: asset |
1048 | +#: model:ir.actions.act_window,name:asset.action_asset_state |
1049 | +#: model:ir.ui.menu,name:asset.menu_asset_state |
1050 | +msgid "Asset States" |
1051 | +msgstr "Asset Statussen" |
1052 | + |
1053 | +#. module: asset |
1054 | +#: field:asset.asset,message_summary:0 |
1055 | +msgid "Summary" |
1056 | +msgstr "Samenvatting" |
1057 | + |
1058 | +#. module: asset |
1059 | +#: model:ir.model,name:asset.model_asset_state |
1060 | +msgid "State of Asset" |
1061 | +msgstr "Staat van Asset" |
1062 | + |
1063 | +#. module: asset |
1064 | +#: field:asset.asset,user_id:0 |
1065 | +msgid "Assigned to" |
1066 | +msgstr "Toegewezen aan" |
1067 | + |
1068 | +#. module: asset |
1069 | +#: model:asset.state,name:asset.asset_state_repair |
1070 | +msgid "Repair" |
1071 | +msgstr "Reparatie" |
1072 | + |
1073 | +#. module: asset |
1074 | +#: field:asset.state,team:0 |
1075 | +msgid "Scope Team" |
1076 | +msgstr "Scope Team" |
1077 | + |
1078 | +#. module: asset |
1079 | +#: help:asset.state,sequence:0 |
1080 | +msgid "Used to order states." |
1081 | +msgstr "Gebruikt om statussen te ordenen." |
1082 | + |
1083 | +#. module: asset |
1084 | +#: selection:asset.asset,criticality:0 |
1085 | +msgid "General" |
1086 | +msgstr " |
1087 | +Algemeen" |
1088 | + |
1089 | +#. module: asset |
1090 | +#: model:asset.state,name:asset.asset_state_down |
1091 | +msgid "Down" |
1092 | +msgstr "Omlaag" |
1093 | + |
1094 | +#. module: asset |
1095 | +#: model:asset.state,name:asset.asset_state_shutdown |
1096 | +msgid "Shutdown" |
1097 | +msgstr "Stilgelegd" |
1098 | + |
1099 | +#. module: asset |
1100 | +#: field:asset.asset,asset_number:0 |
1101 | +msgid "Asset Number" |
1102 | +msgstr "Asset Nummer" |
1103 | + |
1104 | +#. module: asset |
1105 | +#: model:asset.state,name:asset.asset_state_close |
1106 | +msgid "Close" |
1107 | +msgstr "Sluiten" |
1108 | + |
1109 | +#. module: asset |
1110 | +#: model:asset.state,name:asset.asset_state_moves |
1111 | +msgid "Moves" |
1112 | +msgstr "Verplaatstingen" |
1113 | + |
1114 | +#. module: asset |
1115 | +#: help:asset.asset,property_stock_asset:0 |
1116 | +msgid "This location will be used as the destination location for installed parts during asset life." |
1117 | +msgstr "Deze locatie zal worden gebruikt als de doellocatie voor de geïnstalleerde onderdelen tijdens de levensduur van het activum." |
1118 | + |
1119 | +#. module: asset |
1120 | +#: field:asset.state,state_color:0 |
1121 | +msgid "State Color" |
1122 | +msgstr "Kleur status" |
1123 | + |
1124 | +#. module: asset |
1125 | +#: field:asset.asset,purchase_date:0 |
1126 | +msgid "Purchase Date" |
1127 | +msgstr "Aankoopdatum" |
1128 | + |
1129 | +#. module: asset |
1130 | +#: selection:asset.state,team:0 |
1131 | +msgid "Warehouse" |
1132 | +msgstr "Magazijn" |
1133 | + |
1134 | +#. module: asset |
1135 | +#: field:asset.asset,name:0 |
1136 | +msgid "Asset Name" |
1137 | +msgstr "Asset Naam" |
1138 | + |
1139 | +#. module: asset |
1140 | +#: model:asset.state,name:asset.asset_state_leased |
1141 | +msgid "Leased" |
1142 | +msgstr "Geleased" |
1143 | + |
1144 | +#. module: asset |
1145 | +#: selection:asset.asset,criticality:0 |
1146 | +msgid "Important" |
1147 | +msgstr "Belangrijk" |
1148 | + |
1149 | +#. module: asset |
1150 | +#: model:asset.state,name:asset.asset_state_stolen |
1151 | +msgid "Stolen" |
1152 | +msgstr "Gestolen" |
1153 | + |
1154 | +#. module: asset |
1155 | +#: model:asset.state,name:asset.asset_state_depreciation |
1156 | +msgid "Depreciation" |
1157 | +msgstr "Afschrijvingen" |
1158 | + |
1159 | +#. module: asset |
1160 | +#: field:asset.asset,vendor_id:0 |
1161 | +msgid "Vendor" |
1162 | +msgstr "Leverancier" |
1163 | + |
1164 | +#. module: asset |
1165 | +#: field:asset.asset,model:0 |
1166 | +msgid "Model" |
1167 | +msgstr "Model" |
1168 | + |
1169 | +#. module: asset |
1170 | +#: model:stock.location,name:asset.stock_location_locations_asset |
1171 | +msgid "Asset Locations" |
1172 | +msgstr "Asset Locaties" |
1173 | + |
1174 | +#. module: asset |
1175 | +#: help:asset.asset,message_ids:0 |
1176 | +msgid "Messages and communication history" |
1177 | +msgstr "Berichten en communicatie geschiedenis" |
1178 | + |
1179 | +#. module: asset |
1180 | +#: field:asset.state,sequence:0 |
1181 | +msgid "Sequence" |
1182 | +msgstr "Volgorde" |
1183 | + |
1184 | +#. module: asset |
1185 | +#: field:asset.asset,maintenance_state_color:0 |
1186 | +msgid "Color" |
1187 | +msgstr "Kleur" |
1188 | + |
1189 | +#. module: asset |
1190 | +#: field:asset.asset,warranty_start_date:0 |
1191 | +msgid "Warranty Start" |
1192 | +msgstr "Garantie Start" |
1193 | + |
1194 | +#. module: asset |
1195 | +#: selection:asset.state,team:0 |
1196 | +msgid "Accounting" |
1197 | +msgstr "Boekhouding" |
1198 | + |
1199 | +#. module: asset |
1200 | +#: model:ir.module.category,name:asset.module_category_eam |
1201 | +msgid "Enterprise Asset Management" |
1202 | +msgstr "Enterprise Asset Management" |
1203 | + |
1204 | |
1205 | === added directory 'asset/static/src/css' |
1206 | === renamed directory 'asset/static/src/css' => 'asset/static/src/css.moved' |
1207 | === added file 'asset/static/src/css/asset.css' |
1208 | --- asset/static/src/css/asset.css 1970-01-01 00:00:00 +0000 |
1209 | +++ asset/static/src/css/asset.css 2014-10-18 07:04:41 +0000 |
1210 | @@ -0,0 +1,83 @@ |
1211 | +@charset "utf-8"; |
1212 | +.codup_status { |
1213 | + margin: -3px 2px -5px 2px; |
1214 | + display: inline-block; |
1215 | + height: 20px; |
1216 | + width: 20px; |
1217 | + border-radius: 10px; |
1218 | + background-position: center center; |
1219 | + background-image: radial-gradient(at 35% 35%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 40%), radial-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8) 80%); |
1220 | + box-shadow: 0 0 3px; |
1221 | +} |
1222 | +.codup_status_color_0 { |
1223 | + background-color: #ff0000; |
1224 | +} |
1225 | +.codup_status_color_1 { |
1226 | + background-color: #00ff00; |
1227 | +} |
1228 | +.codup_status_color_2 { |
1229 | + background-color: #0000ff; |
1230 | +} |
1231 | +.codup_status_color_3 { |
1232 | + background-color: #ffff00; |
1233 | +} |
1234 | +.codup_status_color_4 { |
1235 | + background-color: #ff00ff; |
1236 | +} |
1237 | +.codup_status_color_5 { |
1238 | + background-color: #00ffff; |
1239 | +} |
1240 | +.codup_status_color_6 { |
1241 | + background-color: #000000; |
1242 | +} |
1243 | +.codup_status_color_7 { |
1244 | + background-color: #ffffff; |
1245 | +} |
1246 | +.codup_status_color_8 { |
1247 | + background-color: #ff8000; |
1248 | +} |
1249 | +.codup_status_color_9 { |
1250 | + background-color: #0080ff; |
1251 | +} |
1252 | +.codup_kanban_status { |
1253 | + background-color: #E6E6E6 !important; |
1254 | + border-color: #C8C8C8 !important; |
1255 | +} |
1256 | +.codup_kanban_status:hover { |
1257 | + box-shadow: 3px 3px 5px rgba(0,0,0,0.1); |
1258 | + border-color: #D8D8D8 #C8C8C8 #C8C8C8 #D8D8D8 !important; |
1259 | +} |
1260 | +.codup_kanban_status:hover .codup_status { |
1261 | + background-image: radial-gradient(at 33% 34%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 40%), radial-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9) 80%); |
1262 | +} |
1263 | +.codup_kanban_left { |
1264 | + display: inline-block; |
1265 | +} |
1266 | +.codup_kanban_left .codup_status { |
1267 | + display: block; |
1268 | + margin: 7px 22px; |
1269 | +} |
1270 | +.codup_kanban_info .oe_kanban_avatar{ |
1271 | + margin-left: 20px; |
1272 | +} |
1273 | +.codup_attention_on, .codup_attention_off { |
1274 | + font-family: "entypoRegular"; |
1275 | + font-size: 24px; |
1276 | + color: #cccccc !important; |
1277 | + text-shadow: 0 0 2px black; |
1278 | + text-decoration: none !important; |
1279 | +} |
1280 | +.codup_attention_on:hover, .codup_attention_off:hover { |
1281 | + text-decoration: none !important; |
1282 | +} |
1283 | +.codup_attention_on { |
1284 | + color: gold !important; |
1285 | +} |
1286 | +.openerp .oe_kanban_view .codup_kanban_details { |
1287 | + display: inline-block; |
1288 | + vertical-align: top; |
1289 | + width: 140px; |
1290 | + font-size: 13px; |
1291 | + padding: 0px 5px; |
1292 | + color: #4C4C4C; |
1293 | +} |
1294 | \ No newline at end of file |
1295 | |
1296 | === added directory 'asset_account' |
1297 | === renamed directory 'asset_account' => 'asset_account.moved' |
1298 | === added file 'asset_account/__init__.py' |
1299 | --- asset_account/__init__.py 1970-01-01 00:00:00 +0000 |
1300 | +++ asset_account/__init__.py 2014-10-18 07:04:41 +0000 |
1301 | @@ -0,0 +1,24 @@ |
1302 | +# -*- coding: utf-8 -*- |
1303 | +############################################################################## |
1304 | +# |
1305 | +# OpenERP, Open Source Management Solution |
1306 | +# Copyright (C) 2013 CodUP (<http://codup.com>). |
1307 | +# |
1308 | +# This program is free software: you can redistribute it and/or modify |
1309 | +# it under the terms of the GNU Affero General Public License as |
1310 | +# published by the Free Software Foundation, either version 3 of the |
1311 | +# License, or (at your option) any later version. |
1312 | +# |
1313 | +# This program is distributed in the hope that it will be useful, |
1314 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1315 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1316 | +# GNU Affero General Public License for more details. |
1317 | +# |
1318 | +# You should have received a copy of the GNU Affero General Public License |
1319 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1320 | +# |
1321 | +############################################################################## |
1322 | + |
1323 | +import asset |
1324 | + |
1325 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1326 | |
1327 | === added file 'asset_account/__openerp__.py' |
1328 | --- asset_account/__openerp__.py 1970-01-01 00:00:00 +0000 |
1329 | +++ asset_account/__openerp__.py 2014-10-18 07:04:41 +0000 |
1330 | @@ -0,0 +1,46 @@ |
1331 | +# -*- coding: utf-8 -*- |
1332 | +############################################################################## |
1333 | +# |
1334 | +# OpenERP, Open Source Management Solution |
1335 | +# Copyright (C) 2013 CodUP (<http://codup.com>). |
1336 | +# |
1337 | +# This program is free software: you can redistribute it and/or modify |
1338 | +# it under the terms of the GNU Affero General Public License as |
1339 | +# published by the Free Software Foundation, either version 3 of the |
1340 | +# License, or (at your option) any later version. |
1341 | +# |
1342 | +# This program is distributed in the hope that it will be useful, |
1343 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1344 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1345 | +# GNU Affero General Public License for more details. |
1346 | +# |
1347 | +# You should have received a copy of the GNU Affero General Public License |
1348 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1349 | +# |
1350 | +############################################################################## |
1351 | + |
1352 | +{ |
1353 | + 'name': 'Assets & Finance', |
1354 | + 'version': '1.0', |
1355 | + 'summary': 'Integrate Asset and Accounting', |
1356 | + 'description': """ |
1357 | +Integrate financial and maintenance asset management. |
1358 | +=========================== |
1359 | + |
1360 | +This module allows use the same Assets for maintenance and accounting purposes. |
1361 | +Integration take in account assumption that maintenable asset is physical asset |
1362 | +and must have depreciation. Also vice versa, if asset have depreciation then |
1363 | +it must be maintenable. So, when you create asset for accounting, it automaticaly |
1364 | +available for maintenance. And when you create asset for maintenance, it automaticaly |
1365 | +available for finance. |
1366 | +Keep one entity in one place for escape mistakes! |
1367 | + """, |
1368 | + 'author': 'CodUP', |
1369 | + 'website': 'http://codup.com', |
1370 | + 'category': 'Enterprise Asset Management', |
1371 | + 'sequence': 0, |
1372 | + 'depends': ['asset','account_asset'], |
1373 | + 'data': ['asset_view.xml'], |
1374 | + 'installable': True, |
1375 | +} |
1376 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1377 | \ No newline at end of file |
1378 | |
1379 | === added file 'asset_account/asset.py' |
1380 | --- asset_account/asset.py 1970-01-01 00:00:00 +0000 |
1381 | +++ asset_account/asset.py 2014-10-18 07:04:41 +0000 |
1382 | @@ -0,0 +1,38 @@ |
1383 | +# -*- coding: utf-8 -*- |
1384 | +############################################################################## |
1385 | +# |
1386 | +# OpenERP, Open Source Management Solution |
1387 | +# Copyright (C) 2013 CodUP (<http://codup.com>). |
1388 | +# |
1389 | +# This program is free software: you can redistribute it and/or modify |
1390 | +# it under the terms of the GNU Affero General Public License as |
1391 | +# published by the Free Software Foundation, either version 3 of the |
1392 | +# License, or (at your option) any later version. |
1393 | +# |
1394 | +# This program is distributed in the hope that it will be useful, |
1395 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1396 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1397 | +# GNU Affero General Public License for more details. |
1398 | +# |
1399 | +# You should have received a copy of the GNU Affero General Public License |
1400 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1401 | +# |
1402 | +############################################################################## |
1403 | + |
1404 | +from openerp.osv import fields, osv |
1405 | + |
1406 | +class account_asset(osv.osv): |
1407 | + _inherit = 'account.asset.asset' |
1408 | + |
1409 | + def _get_name(self, cr, uid, ids, name, arg, context=None): |
1410 | + res = {} |
1411 | + for asset in self.browse(cr, uid, ids, context=context): |
1412 | + res[asset.id] = asset.asset_id.name |
1413 | + return res |
1414 | + |
1415 | + _columns = { |
1416 | + 'name': fields.function(_get_name, method=True, type='char', string='Asset'), |
1417 | + 'asset_id': fields.many2one('asset.asset', 'Asset', required=True, readonly=True, states={'draft':[('readonly',False)]}), |
1418 | + } |
1419 | + |
1420 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1421 | \ No newline at end of file |
1422 | |
1423 | === added file 'asset_account/asset_view.xml' |
1424 | --- asset_account/asset_view.xml 1970-01-01 00:00:00 +0000 |
1425 | +++ asset_account/asset_view.xml 2014-10-18 07:04:41 +0000 |
1426 | @@ -0,0 +1,20 @@ |
1427 | +<?xml version="1.0" encoding="utf-8"?> |
1428 | +<openerp> |
1429 | + <data> |
1430 | + |
1431 | + <record id="assets_form_view" model="ir.ui.view"> |
1432 | + <field name="name">account.asset.asset.form.inherit</field> |
1433 | + <field name="model">account.asset.asset</field> |
1434 | + <field name="inherit_id" ref="account_asset.view_account_asset_asset_form"/> |
1435 | + <field name="arch" type="xml"> |
1436 | + <data> |
1437 | + <field name="category_id" position="before" version="7.0"> |
1438 | + <field name="asset_id"/> |
1439 | + </field> |
1440 | + <label for="name" position="replace"/> |
1441 | + </data> |
1442 | + </field> |
1443 | + </record> |
1444 | + |
1445 | + </data> |
1446 | +</openerp> |
1447 | |
1448 | === added directory 'asset_account/static' |
1449 | === added directory 'asset_account/static/src' |
1450 | === added directory 'asset_account/static/src/img' |
1451 | === added file 'asset_account/static/src/img/icon.png' |
1452 | Binary files asset_account/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and asset_account/static/src/img/icon.png 2014-10-18 07:04:41 +0000 differ |
1453 | === added directory 'asset_mrp' |
1454 | === renamed directory 'asset_mrp' => 'asset_mrp.moved' |
1455 | === added file 'asset_mrp/__init__.py' |
1456 | --- asset_mrp/__init__.py 1970-01-01 00:00:00 +0000 |
1457 | +++ asset_mrp/__init__.py 2014-10-18 07:04:41 +0000 |
1458 | @@ -0,0 +1,24 @@ |
1459 | +# -*- coding: utf-8 -*- |
1460 | +############################################################################## |
1461 | +# |
1462 | +# OpenERP, Open Source Management Solution |
1463 | +# Copyright (C) 2013 CodUP (<http://codup.com>). |
1464 | +# |
1465 | +# This program is free software: you can redistribute it and/or modify |
1466 | +# it under the terms of the GNU Affero General Public License as |
1467 | +# published by the Free Software Foundation, either version 3 of the |
1468 | +# License, or (at your option) any later version. |
1469 | +# |
1470 | +# This program is distributed in the hope that it will be useful, |
1471 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1472 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1473 | +# GNU Affero General Public License for more details. |
1474 | +# |
1475 | +# You should have received a copy of the GNU Affero General Public License |
1476 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1477 | +# |
1478 | +############################################################################## |
1479 | + |
1480 | +import mrp |
1481 | + |
1482 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1483 | |
1484 | === added file 'asset_mrp/__openerp__.py' |
1485 | --- asset_mrp/__openerp__.py 1970-01-01 00:00:00 +0000 |
1486 | +++ asset_mrp/__openerp__.py 2014-10-18 07:04:41 +0000 |
1487 | @@ -0,0 +1,46 @@ |
1488 | +# -*- coding: utf-8 -*- |
1489 | +############################################################################## |
1490 | +# |
1491 | +# OpenERP, Open Source Management Solution |
1492 | +# Copyright (C) 2013 CodUP (<http://codup.com>). |
1493 | +# |
1494 | +# This program is free software: you can redistribute it and/or modify |
1495 | +# it under the terms of the GNU Affero General Public License as |
1496 | +# published by the Free Software Foundation, either version 3 of the |
1497 | +# License, or (at your option) any later version. |
1498 | +# |
1499 | +# This program is distributed in the hope that it will be useful, |
1500 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1501 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1502 | +# GNU Affero General Public License for more details. |
1503 | +# |
1504 | +# You should have received a copy of the GNU Affero General Public License |
1505 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1506 | +# |
1507 | +############################################################################## |
1508 | + |
1509 | +{ |
1510 | + 'name': 'Assets & Manufacturing', |
1511 | + 'version': '1.0', |
1512 | + 'summary': 'Integrate Asset and Manufacturing', |
1513 | + 'description': """ |
1514 | +Integrate manufacturing and maintenance asset management. |
1515 | +=========================== |
1516 | + |
1517 | +This module allows use the same Assets for manufacturing and maintenance purposes. |
1518 | +Integration take in account following assumption. In manufacturing, |
1519 | +Work Center can be simple logical entity, but also can reference |
1520 | +to equipment that is physical asset. Each physical asset must be maintenable, but |
1521 | +not each can be manufacturing equipment. So, when you create Work Center, you can |
1522 | +reference it to asset. |
1523 | +Keep one entity in one place for escape mistakes! |
1524 | + """, |
1525 | + 'author': 'CodUP', |
1526 | + 'website': 'http://codup.com', |
1527 | + 'category': 'Enterprise Asset Management', |
1528 | + 'sequence': 0, |
1529 | + 'depends': ['asset','mrp'], |
1530 | + 'data': ['mrp_view.xml'], |
1531 | + 'installable': True, |
1532 | +} |
1533 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1534 | \ No newline at end of file |
1535 | |
1536 | === added file 'asset_mrp/mrp.py' |
1537 | --- asset_mrp/mrp.py 1970-01-01 00:00:00 +0000 |
1538 | +++ asset_mrp/mrp.py 2014-10-18 07:04:41 +0000 |
1539 | @@ -0,0 +1,30 @@ |
1540 | +# -*- coding: utf-8 -*- |
1541 | +############################################################################## |
1542 | +# |
1543 | +# OpenERP, Open Source Management Solution |
1544 | +# Copyright (C) 2013 CodUP (<http://codup.com>). |
1545 | +# |
1546 | +# This program is free software: you can redistribute it and/or modify |
1547 | +# it under the terms of the GNU Affero General Public License as |
1548 | +# published by the Free Software Foundation, either version 3 of the |
1549 | +# License, or (at your option) any later version. |
1550 | +# |
1551 | +# This program is distributed in the hope that it will be useful, |
1552 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1553 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1554 | +# GNU Affero General Public License for more details. |
1555 | +# |
1556 | +# You should have received a copy of the GNU Affero General Public License |
1557 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1558 | +# |
1559 | +############################################################################## |
1560 | + |
1561 | +from openerp.osv import fields, osv |
1562 | + |
1563 | +class mrp_workcenter(osv.osv): |
1564 | + _inherit = 'mrp.workcenter' |
1565 | + _columns = { |
1566 | + 'asset_ids': fields.many2many('asset.asset', string='Asset'), |
1567 | + } |
1568 | + |
1569 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1570 | \ No newline at end of file |
1571 | |
1572 | === added file 'asset_mrp/mrp_view.xml' |
1573 | --- asset_mrp/mrp_view.xml 1970-01-01 00:00:00 +0000 |
1574 | +++ asset_mrp/mrp_view.xml 2014-10-18 07:04:41 +0000 |
1575 | @@ -0,0 +1,25 @@ |
1576 | +<?xml version="1.0" encoding="utf-8"?> |
1577 | +<openerp> |
1578 | + <data> |
1579 | + |
1580 | + <record id="mrp_workcenter_view" model="ir.ui.view"> |
1581 | + <field name="name">mrp.workcenter.form.inherit</field> |
1582 | + <field name="model">mrp.workcenter</field> |
1583 | + <field name="inherit_id" ref="mrp.mrp_workcenter_view"/> |
1584 | + <field name="arch" type="xml"> |
1585 | + <page string="General Information" position="after" version="7.0"> |
1586 | + <page string="Assets"> |
1587 | + <field name="asset_ids"> |
1588 | + <tree string="Assets"> |
1589 | + <field name="name" string="Asset"/> |
1590 | + <field name="model"/> |
1591 | + <field name="property_stock_asset" string="Location"/> |
1592 | + </tree> |
1593 | + </field> |
1594 | + </page> |
1595 | + </page> |
1596 | + </field> |
1597 | + </record> |
1598 | + |
1599 | + </data> |
1600 | +</openerp> |
1601 | |
1602 | === added directory 'asset_mrp/static' |
1603 | === added directory 'asset_mrp/static/src' |
1604 | === added directory 'asset_mrp/static/src/img' |
1605 | === added file 'asset_mrp/static/src/img/icon.png' |
1606 | Binary files asset_mrp/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and asset_mrp/static/src/img/icon.png 2014-10-18 07:04:41 +0000 differ |
1607 | === added directory 'asset_purchase' |
1608 | === renamed directory 'asset_purchase' => 'asset_purchase.moved' |
1609 | === added file 'asset_purchase/__init__.py' |
1610 | --- asset_purchase/__init__.py 1970-01-01 00:00:00 +0000 |
1611 | +++ asset_purchase/__init__.py 2014-10-18 07:04:41 +0000 |
1612 | @@ -0,0 +1,24 @@ |
1613 | +# -*- coding: utf-8 -*- |
1614 | +############################################################################## |
1615 | +# |
1616 | +# OpenERP, Open Source Management Solution |
1617 | +# Copyright (C) 2014 CodUP (<http://codup.com>). |
1618 | +# |
1619 | +# This program is free software: you can redistribute it and/or modify |
1620 | +# it under the terms of the GNU Affero General Public License as |
1621 | +# published by the Free Software Foundation, either version 3 of the |
1622 | +# License, or (at your option) any later version. |
1623 | +# |
1624 | +# This program is distributed in the hope that it will be useful, |
1625 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1626 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1627 | +# GNU Affero General Public License for more details. |
1628 | +# |
1629 | +# You should have received a copy of the GNU Affero General Public License |
1630 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1631 | +# |
1632 | +############################################################################## |
1633 | + |
1634 | +import asset |
1635 | + |
1636 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1637 | |
1638 | === added file 'asset_purchase/__openerp__.py' |
1639 | --- asset_purchase/__openerp__.py 1970-01-01 00:00:00 +0000 |
1640 | +++ asset_purchase/__openerp__.py 2014-10-18 07:04:41 +0000 |
1641 | @@ -0,0 +1,42 @@ |
1642 | +# -*- coding: utf-8 -*- |
1643 | +############################################################################## |
1644 | +# |
1645 | +# OpenERP, Open Source Management Solution |
1646 | +# Copyright (C) 2014 CodUP (<http://codup.com>). |
1647 | +# |
1648 | +# This program is free software: you can redistribute it and/or modify |
1649 | +# it under the terms of the GNU Affero General Public License as |
1650 | +# published by the Free Software Foundation, either version 3 of the |
1651 | +# License, or (at your option) any later version. |
1652 | +# |
1653 | +# This program is distributed in the hope that it will be useful, |
1654 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1655 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1656 | +# GNU Affero General Public License for more details. |
1657 | +# |
1658 | +# You should have received a copy of the GNU Affero General Public License |
1659 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1660 | +# |
1661 | +############################################################################## |
1662 | + |
1663 | +{ |
1664 | + 'name': 'Assets & Purchase', |
1665 | + 'version': '1.0', |
1666 | + 'summary': 'Integrate Asset and Purchase', |
1667 | + 'description': """ |
1668 | +Integrate Maintenance and Purchase. |
1669 | +=========================== |
1670 | + |
1671 | +This module allows use the same Assets for purchase and maintenance purposes. |
1672 | +Keep one entity in one place for escape mistakes! |
1673 | + """, |
1674 | + 'author': 'CodUP', |
1675 | + 'website': 'http://codup.com', |
1676 | + 'category': 'Enterprise Asset Management', |
1677 | + 'sequence': 0, |
1678 | + 'depends': ['purchase','asset'], |
1679 | + 'demo': ['asset_demo.xml'], |
1680 | + 'data': ['purchase_view.xml'], |
1681 | + 'installable': True, |
1682 | +} |
1683 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1684 | \ No newline at end of file |
1685 | |
1686 | === added file 'asset_purchase/asset.py' |
1687 | --- asset_purchase/asset.py 1970-01-01 00:00:00 +0000 |
1688 | +++ asset_purchase/asset.py 2014-10-18 07:04:41 +0000 |
1689 | @@ -0,0 +1,34 @@ |
1690 | +# -*- coding: utf-8 -*- |
1691 | +############################################################################## |
1692 | +# |
1693 | +# OpenERP, Open Source Management Solution |
1694 | +# Copyright (C) 2014 CodUP (<http://codup.com>). |
1695 | +# |
1696 | +# This program is free software: you can redistribute it and/or modify |
1697 | +# it under the terms of the GNU Affero General Public License as |
1698 | +# published by the Free Software Foundation, either version 3 of the |
1699 | +# License, or (at your option) any later version. |
1700 | +# |
1701 | +# This program is distributed in the hope that it will be useful, |
1702 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1703 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1704 | +# GNU Affero General Public License for more details. |
1705 | +# |
1706 | +# You should have received a copy of the GNU Affero General Public License |
1707 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1708 | +# |
1709 | +############################################################################## |
1710 | + |
1711 | +from openerp.osv import fields, osv |
1712 | + |
1713 | +from openerp.addons.asset.asset import STATE_COLOR_SELECTION |
1714 | + |
1715 | + |
1716 | +class asset_asset(osv.osv): |
1717 | + _inherit = 'asset.asset' |
1718 | + |
1719 | + _columns = { |
1720 | + 'finance_state_color': fields.related('finance_state_id', 'state_color', type="selection", selection=STATE_COLOR_SELECTION, string="Color", readonly=True), |
1721 | + } |
1722 | + |
1723 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1724 | \ No newline at end of file |
1725 | |
1726 | === added file 'asset_purchase/asset_demo.xml' |
1727 | --- asset_purchase/asset_demo.xml 1970-01-01 00:00:00 +0000 |
1728 | +++ asset_purchase/asset_demo.xml 2014-10-18 07:04:41 +0000 |
1729 | @@ -0,0 +1,19 @@ |
1730 | +<?xml version="1.0" encoding="utf-8"?> |
1731 | +<openerp> |
1732 | + <data noupdate="1"> |
1733 | + |
1734 | + <!-- Resource: asset.asset --> |
1735 | + <record id="asset.asset_asset_1" model="asset.asset"> |
1736 | + <field name="finance_state_id" ref="asset.asset_state_purchased"/> |
1737 | + </record> |
1738 | + |
1739 | + <record id="asset.asset_asset_2" model="asset.asset"> |
1740 | + <field name="finance_state_id" ref="asset.asset_state_rented"/> |
1741 | + </record> |
1742 | + |
1743 | + <record id="asset.asset_asset_3" model="asset.asset"> |
1744 | + <field name="finance_state_id" ref="asset.asset_state_leased"/> |
1745 | + </record> |
1746 | + |
1747 | + </data> |
1748 | +</openerp> |
1749 | |
1750 | === added directory 'asset_purchase/i18n' |
1751 | === added file 'asset_purchase/i18n/asset_purchase.pot' |
1752 | --- asset_purchase/i18n/asset_purchase.pot 1970-01-01 00:00:00 +0000 |
1753 | +++ asset_purchase/i18n/asset_purchase.pot 2014-10-18 07:04:41 +0000 |
1754 | @@ -0,0 +1,66 @@ |
1755 | +# Translation of OpenERP Server. |
1756 | +# This file contains the translation of the following modules: |
1757 | +# * asset_purchase |
1758 | +# |
1759 | +msgid "" |
1760 | +msgstr "" |
1761 | +"Project-Id-Version: OpenERP Server 7.0-20140125-002455\n" |
1762 | +"Report-Msgid-Bugs-To: \n" |
1763 | +"POT-Creation-Date: 2014-03-02 08:41+0000\n" |
1764 | +"PO-Revision-Date: 2014-03-02 08:41+0000\n" |
1765 | +"Last-Translator: <>\n" |
1766 | +"Language-Team: \n" |
1767 | +"MIME-Version: 1.0\n" |
1768 | +"Content-Type: text/plain; charset=UTF-8\n" |
1769 | +"Content-Transfer-Encoding: \n" |
1770 | +"Plural-Forms: \n" |
1771 | + |
1772 | +#. module: asset_purchase |
1773 | +#: view:asset.asset:0 |
1774 | +msgid "Info" |
1775 | +msgstr "" |
1776 | + |
1777 | +#. module: asset_purchase |
1778 | +#: view:asset.asset:0 |
1779 | +msgid "Model:" |
1780 | +msgstr "" |
1781 | + |
1782 | +#. module: asset_purchase |
1783 | +#: view:asset.asset:0 |
1784 | +#: model:ir.actions.act_window,name:asset_purchase.action_assets_purchase |
1785 | +#: model:ir.ui.menu,name:asset_purchase.menu_maintenance_assets |
1786 | +#: model:ir.ui.menu,name:asset_purchase.menu_maintenance_assets_assets |
1787 | +msgid "Assets" |
1788 | +msgstr "" |
1789 | + |
1790 | +#. module: asset_purchase |
1791 | +#: model:ir.ui.menu,name:asset_purchase.menu_asset_state |
1792 | +msgid "Asset States" |
1793 | +msgstr "" |
1794 | + |
1795 | +#. module: asset_purchase |
1796 | +#: view:asset.asset:0 |
1797 | +msgid "Manufacturer:" |
1798 | +msgstr "" |
1799 | + |
1800 | +#. module: asset_purchase |
1801 | +#: model:ir.model,name:asset_purchase.model_asset_asset |
1802 | +msgid "Asset" |
1803 | +msgstr "" |
1804 | + |
1805 | +#. module: asset_purchase |
1806 | +#: model:ir.actions.act_window,name:asset_purchase.action_management_assets_purchase |
1807 | +#: model:ir.ui.menu,name:asset_purchase.menu_maintenance_assets_management |
1808 | +msgid "Manage states" |
1809 | +msgstr "" |
1810 | + |
1811 | +#. module: asset_purchase |
1812 | +#: view:asset.asset:0 |
1813 | +msgid "Warranty" |
1814 | +msgstr "" |
1815 | + |
1816 | +#. module: asset_purchase |
1817 | +#: view:asset.asset:0 |
1818 | +msgid "Serial No:" |
1819 | +msgstr "" |
1820 | + |
1821 | |
1822 | === added file 'asset_purchase/i18n/ru.po' |
1823 | --- asset_purchase/i18n/ru.po 1970-01-01 00:00:00 +0000 |
1824 | +++ asset_purchase/i18n/ru.po 2014-10-18 07:04:41 +0000 |
1825 | @@ -0,0 +1,35 @@ |
1826 | +# Translation of OpenERP Server. |
1827 | +# This file contains the translation of the following modules: |
1828 | +# * asset_purchase |
1829 | +# |
1830 | +msgid "" |
1831 | +msgstr "" |
1832 | +"Project-Id-Version: OpenERP Server 7.0-20140125-002455\n" |
1833 | +"Report-Msgid-Bugs-To: \n" |
1834 | +"POT-Creation-Date: 2014-03-02 08:41+0000\n" |
1835 | +"PO-Revision-Date: 2014-03-02 08:41+0000\n" |
1836 | +"Last-Translator: <>\n" |
1837 | +"Language-Team: \n" |
1838 | +"MIME-Version: 1.0\n" |
1839 | +"Content-Type: text/plain; charset=UTF-8\n" |
1840 | +"Content-Transfer-Encoding: \n" |
1841 | +"Plural-Forms: \n" |
1842 | + |
1843 | +#. module: asset_purchase |
1844 | +#: view:asset.asset:0 |
1845 | +#: model:ir.actions.act_window,name:asset_purchase.action_assets_purchase |
1846 | +#: model:ir.ui.menu,name:asset_purchase.menu_maintenance_assets |
1847 | +#: model:ir.ui.menu,name:asset_purchase.menu_maintenance_assets_assets |
1848 | +msgid "Assets" |
1849 | +msgstr "Активы" |
1850 | + |
1851 | +#. module: asset_purchase |
1852 | +#: model:ir.ui.menu,name:asset_purchase.menu_asset_state |
1853 | +msgid "Asset States" |
1854 | +msgstr "Состояния активов" |
1855 | + |
1856 | +#. module: asset_purchase |
1857 | +#: model:ir.actions.act_window,name:asset_purchase.action_management_assets_purchase |
1858 | +#: model:ir.ui.menu,name:asset_purchase.menu_maintenance_assets_management |
1859 | +msgid "Manage states" |
1860 | +msgstr "Управление состояниями" |
1861 | \ No newline at end of file |
1862 | |
1863 | === added file 'asset_purchase/purchase_view.xml' |
1864 | --- asset_purchase/purchase_view.xml 1970-01-01 00:00:00 +0000 |
1865 | +++ asset_purchase/purchase_view.xml 2014-10-18 07:04:41 +0000 |
1866 | @@ -0,0 +1,234 @@ |
1867 | +<?xml version="1.0" encoding="utf-8"?> |
1868 | +<openerp> |
1869 | + <data> |
1870 | + |
1871 | + <!-- Asset menu --> |
1872 | + <menuitem name="Assets" |
1873 | + id="menu_maintenance_assets" |
1874 | + parent="base.menu_purchase_root" |
1875 | + sequence="9"/> |
1876 | + |
1877 | + <!-- Asset Form View --> |
1878 | + <record id="assets_form_view_purchase" model="ir.ui.view"> |
1879 | + <field name="name">asset.asset.form.purchase</field> |
1880 | + <field name="model">asset.asset</field> |
1881 | + <field name="arch" type="xml"> |
1882 | + <form string="Assets" version="7.0"> |
1883 | + <header> |
1884 | + <field name="finance_state_id" widget="statusbar" clickable="True"/> |
1885 | + </header> |
1886 | + <sheet> |
1887 | + <field name="image_medium" widget="image" class="oe_avatar oe_left"/> |
1888 | + <div class="oe_title"> |
1889 | + <label for="name" class="oe_edit_only"/> |
1890 | + <h1> |
1891 | + <field name="name"/> |
1892 | + </h1> |
1893 | + </div> |
1894 | + <group> |
1895 | + <field name="property_stock_asset" domain="[('usage','=','asset')]"/> |
1896 | + </group> |
1897 | + <group> |
1898 | + <group> |
1899 | + <field name="criticality"/> |
1900 | + <field name="user_id"/> |
1901 | + </group> |
1902 | + <group> |
1903 | + <field name="active"/> |
1904 | + </group> |
1905 | + </group> |
1906 | + <notebook> |
1907 | + <page string="Info"> |
1908 | + <group> |
1909 | + <group> |
1910 | + <field name="asset_number"/> |
1911 | + <field name="model"/> |
1912 | + <field name="serial"/> |
1913 | + </group> |
1914 | + <group> |
1915 | + </group> |
1916 | + </group> |
1917 | + <group string="Warranty"> |
1918 | + <group> |
1919 | + <field name="manufacturer_id"/> |
1920 | + <field name="start_date"/> |
1921 | + <field name="warranty_start_date"/> |
1922 | + </group> |
1923 | + <group> |
1924 | + <field name="vendor_id"/> |
1925 | + <field name="purchase_date"/> |
1926 | + <field name="warranty_end_date"/> |
1927 | + </group> |
1928 | + </group> |
1929 | + </page> |
1930 | + </notebook> |
1931 | + </sheet> |
1932 | + <div class="oe_chatter"> |
1933 | + <field name="message_follower_ids" widget="mail_followers"/> |
1934 | + <field name="message_ids" widget="mail_thread"/> |
1935 | + </div> |
1936 | + </form> |
1937 | + </field> |
1938 | + </record> |
1939 | + |
1940 | + <!-- Asset Kanban View --> |
1941 | + <record model="ir.ui.view" id="assets_kanban_view_purchase"> |
1942 | + <field name="name">asset.asset.kanban.purchase</field> |
1943 | + <field name="model">asset.asset</field> |
1944 | + <field name="arch" type="xml"> |
1945 | + <kanban> |
1946 | + <field name="finance_state_id"/> |
1947 | + <field name="finance_state_color"/> |
1948 | + <field name="user_id"/> |
1949 | + <field name="criticality"/> |
1950 | + <templates> |
1951 | + <t t-name="kanban-box"> |
1952 | + <div class="oe_kanban_vignette"> |
1953 | + <div class="codup_kanban_left"> |
1954 | + <a type="open"><img t-att-src="kanban_image('asset.asset', 'image_small', record.id.value)" class="oe_kanban_image"/></a> |
1955 | + <div t-attf-title="#{record.finance_state_id.value}" t-attf-class="codup_status_color_#{record.finance_state_color.raw_value} codup_status"></div> |
1956 | + </div> |
1957 | + <div class="oe_kanban_details"> |
1958 | + <h4> |
1959 | + <a type="open"><field name="name"/></a> |
1960 | + </h4> |
1961 | + <ul> |
1962 | + <li>Model: <field name="model"></field></li> |
1963 | + <li>Manufacturer: <field name="manufacturer_id"></field></li> |
1964 | + <li>Serial No: <field name="serial"></field></li> |
1965 | + <li class="codup_kanban_info"> |
1966 | + <a t-if="record.criticality.raw_value == 0" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
1967 | + <a t-if="record.criticality.raw_value gt 0" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
1968 | + <a t-if="record.criticality.raw_value lte 1" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
1969 | + <a t-if="record.criticality.raw_value gt 1" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
1970 | + <a t-if="record.criticality.raw_value lte 2" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
1971 | + <a t-if="record.criticality.raw_value gt 2" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
1972 | + <img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/> |
1973 | + </li> |
1974 | + </ul> |
1975 | + </div> |
1976 | + </div> |
1977 | + </t> |
1978 | + </templates> |
1979 | + </kanban> |
1980 | + </field> |
1981 | + </record> |
1982 | + |
1983 | + <record id="action_assets_purchase" model="ir.actions.act_window"> |
1984 | + <field name="name">Assets</field> |
1985 | + <field name="type">ir.actions.act_window</field> |
1986 | + <field name="res_model">asset.asset</field> |
1987 | + <field name="view_type">form</field> |
1988 | + <field name="view_mode">kanban,tree,form</field> |
1989 | + <field name="view_id" eval="False"/> |
1990 | + </record> |
1991 | + |
1992 | + <record model="ir.actions.act_window.view" id="action_assets_kanban_view_purchase"> |
1993 | + <field name="sequence" eval="0"/> |
1994 | + <field name="view_mode">kanban</field> |
1995 | + <field name="view_id" ref="assets_kanban_view_purchase"/> |
1996 | + <field name="act_window_id" ref="action_assets_purchase"/> |
1997 | + </record> |
1998 | + |
1999 | + <record model="ir.actions.act_window.view" id="action_assets_tree_view_purchase"> |
2000 | + <field name="sequence" eval="1"/> |
2001 | + <field name="view_mode">tree</field> |
2002 | + <field name="view_id" ref="asset.assets_tree_view"/> |
2003 | + <field name="act_window_id" ref="action_assets_purchase"/> |
2004 | + </record> |
2005 | + |
2006 | + <record model="ir.actions.act_window.view" id="action_assets_form_view_purchase"> |
2007 | + <field name="sequence" eval="2"/> |
2008 | + <field name="view_mode">form</field> |
2009 | + <field name="view_id" ref="assets_form_view_purchase"/> |
2010 | + <field name="act_window_id" ref="action_assets_purchase"/> |
2011 | + </record> |
2012 | + |
2013 | + <!-- Asset item --> |
2014 | + <menuitem name="Assets" |
2015 | + action="action_assets_purchase" |
2016 | + id="menu_maintenance_assets_assets" |
2017 | + parent="menu_maintenance_assets" |
2018 | + sequence="100"/> |
2019 | + |
2020 | + <!-- Management Asset Kanban View --> |
2021 | + <record model="ir.ui.view" id="management_assets_kanban_view_purchase"> |
2022 | + <field name="name">Manage states Asset Kanban</field> |
2023 | + <field name="model">asset.asset</field> |
2024 | + <field name="arch" type="xml"> |
2025 | + <kanban default_group_by="finance_state_id" create="false" delete="false"> |
2026 | + <field name="finance_state_id"/> |
2027 | + <field name="finance_state_color"/> |
2028 | + <field name="user_id"/> |
2029 | + <field name="criticality"/> |
2030 | + <templates> |
2031 | + <t t-name="kanban-box"> |
2032 | + <div t-attf-class="oe_kanban_card codup_kanban_status oe_kanban_global_click"> |
2033 | + <div class="codup_kanban_left"> |
2034 | + <a type="open"><img t-att-src="kanban_image('asset.asset', 'image_small', record.id.value)" class="oe_kanban_image"/></a> |
2035 | + <div t-attf-title="#{record.finance_state_id.value}" t-attf-class="codup_status_color_#{record.finance_state_color.raw_value} codup_status"></div> |
2036 | + </div> |
2037 | + <div class="codup_kanban_details"> |
2038 | + <h4> |
2039 | + <a type="open"><field name="name"/></a> |
2040 | + </h4> |
2041 | + <ul> |
2042 | + <li title="Model"><field name="model"></field></li> |
2043 | + <li title="Manufacturer"><field name="manufacturer_id"></field></li> |
2044 | + <li class="codup_kanban_info"> |
2045 | + <a t-if="record.criticality.raw_value == 0" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
2046 | + <a t-if="record.criticality.raw_value gt 0" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
2047 | + <a t-if="record.criticality.raw_value lte 1" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
2048 | + <a t-if="record.criticality.raw_value gt 1" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
2049 | + <a t-if="record.criticality.raw_value lte 2" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
2050 | + <a t-if="record.criticality.raw_value gt 2" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
2051 | + <img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/> |
2052 | + </li> |
2053 | + </ul> |
2054 | + </div> |
2055 | + </div> |
2056 | + </t> |
2057 | + </templates> |
2058 | + </kanban> |
2059 | + </field> |
2060 | + </record> |
2061 | + |
2062 | + <record id="action_management_assets_purchase" model="ir.actions.act_window"> |
2063 | + <field name="name">Manage states</field> |
2064 | + <field name="type">ir.actions.act_window</field> |
2065 | + <field name="res_model">asset.asset</field> |
2066 | + <field name="view_type">form</field> |
2067 | + <field name="view_mode">kanban,form</field> |
2068 | + <field name="view_id" eval="False"/> |
2069 | + </record> |
2070 | + |
2071 | + <record model="ir.actions.act_window.view" id="action_management_assets_kanban_view_purchase"> |
2072 | + <field name="sequence" eval="0"/> |
2073 | + <field name="view_mode">kanban</field> |
2074 | + <field name="view_id" ref="management_assets_kanban_view_purchase"/> |
2075 | + <field name="act_window_id" ref="action_management_assets_purchase"/> |
2076 | + </record> |
2077 | + |
2078 | + <record model="ir.actions.act_window.view" id="action_management_assets_form_view_purchase"> |
2079 | + <field name="sequence" eval="1"/> |
2080 | + <field name="view_mode">form</field> |
2081 | + <field name="view_id" ref="assets_form_view_purchase"/> |
2082 | + <field name="act_window_id" ref="action_management_assets_purchase"/> |
2083 | + </record> |
2084 | + |
2085 | + <!-- Management Asset item --> |
2086 | + <menuitem name="Manage states" |
2087 | + action="action_management_assets_purchase" |
2088 | + id="menu_maintenance_assets_management" |
2089 | + parent="menu_maintenance_assets" |
2090 | + sequence="100"/> |
2091 | + |
2092 | + <!-- Asset state item --> |
2093 | + <menuitem name="Asset States" |
2094 | + action="asset.action_asset_state" |
2095 | + id="menu_asset_state" |
2096 | + parent="purchase.menu_purchase_config_purchase" |
2097 | + sequence="100"/> |
2098 | + |
2099 | + </data> |
2100 | +</openerp> |
2101 | |
2102 | === added directory 'asset_purchase/static' |
2103 | === added directory 'asset_purchase/static/src' |
2104 | === added directory 'asset_purchase/static/src/img' |
2105 | === added file 'asset_purchase/static/src/img/icon.png' |
2106 | Binary files asset_purchase/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and asset_purchase/static/src/img/icon.png 2014-10-18 07:04:41 +0000 differ |
2107 | === added directory 'asset_sale' |
2108 | === renamed directory 'asset_sale' => 'asset_sale.moved' |
2109 | === added file 'asset_sale/__init__.py' |
2110 | --- asset_sale/__init__.py 1970-01-01 00:00:00 +0000 |
2111 | +++ asset_sale/__init__.py 2014-10-18 07:04:41 +0000 |
2112 | @@ -0,0 +1,24 @@ |
2113 | +# -*- coding: utf-8 -*- |
2114 | +############################################################################## |
2115 | +# |
2116 | +# OpenERP, Open Source Management Solution |
2117 | +# Copyright (C) 2014 CodUP (<http://codup.com>). |
2118 | +# |
2119 | +# This program is free software: you can redistribute it and/or modify |
2120 | +# it under the terms of the GNU Affero General Public License as |
2121 | +# published by the Free Software Foundation, either version 3 of the |
2122 | +# License, or (at your option) any later version. |
2123 | +# |
2124 | +# This program is distributed in the hope that it will be useful, |
2125 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
2126 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2127 | +# GNU Affero General Public License for more details. |
2128 | +# |
2129 | +# You should have received a copy of the GNU Affero General Public License |
2130 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
2131 | +# |
2132 | +############################################################################## |
2133 | + |
2134 | +import asset |
2135 | + |
2136 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
2137 | |
2138 | === added file 'asset_sale/__openerp__.py' |
2139 | --- asset_sale/__openerp__.py 1970-01-01 00:00:00 +0000 |
2140 | +++ asset_sale/__openerp__.py 2014-10-18 07:04:41 +0000 |
2141 | @@ -0,0 +1,42 @@ |
2142 | +# -*- coding: utf-8 -*- |
2143 | +############################################################################## |
2144 | +# |
2145 | +# OpenERP, Open Source Management Solution |
2146 | +# Copyright (C) 2014 CodUP (<http://codup.com>). |
2147 | +# |
2148 | +# This program is free software: you can redistribute it and/or modify |
2149 | +# it under the terms of the GNU Affero General Public License as |
2150 | +# published by the Free Software Foundation, either version 3 of the |
2151 | +# License, or (at your option) any later version. |
2152 | +# |
2153 | +# This program is distributed in the hope that it will be useful, |
2154 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
2155 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2156 | +# GNU Affero General Public License for more details. |
2157 | +# |
2158 | +# You should have received a copy of the GNU Affero General Public License |
2159 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
2160 | +# |
2161 | +############################################################################## |
2162 | + |
2163 | +{ |
2164 | + 'name': 'Assets & Sale', |
2165 | + 'version': '1.0', |
2166 | + 'summary': 'Integrate Asset and Sale', |
2167 | + 'description': """ |
2168 | +Integrate Maintenance and Sale. |
2169 | +=========================== |
2170 | + |
2171 | +This module allows use the same Assets for sale and maintenance purposes. |
2172 | +Keep one entity in one place for escape mistakes! |
2173 | + """, |
2174 | + 'author': 'CodUP', |
2175 | + 'website': 'http://codup.com', |
2176 | + 'category': 'Enterprise Asset Management', |
2177 | + 'sequence': 0, |
2178 | + 'depends': ['sale','asset'], |
2179 | + 'demo': ['asset_demo.xml'], |
2180 | + 'data': ['sale_view.xml'], |
2181 | + 'installable': True, |
2182 | +} |
2183 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
2184 | \ No newline at end of file |
2185 | |
2186 | === added file 'asset_sale/asset.py' |
2187 | --- asset_sale/asset.py 1970-01-01 00:00:00 +0000 |
2188 | +++ asset_sale/asset.py 2014-10-18 07:04:41 +0000 |
2189 | @@ -0,0 +1,34 @@ |
2190 | +# -*- coding: utf-8 -*- |
2191 | +############################################################################## |
2192 | +# |
2193 | +# OpenERP, Open Source Management Solution |
2194 | +# Copyright (C) 2014 CodUP (<http://codup.com>). |
2195 | +# |
2196 | +# This program is free software: you can redistribute it and/or modify |
2197 | +# it under the terms of the GNU Affero General Public License as |
2198 | +# published by the Free Software Foundation, either version 3 of the |
2199 | +# License, or (at your option) any later version. |
2200 | +# |
2201 | +# This program is distributed in the hope that it will be useful, |
2202 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
2203 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2204 | +# GNU Affero General Public License for more details. |
2205 | +# |
2206 | +# You should have received a copy of the GNU Affero General Public License |
2207 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
2208 | +# |
2209 | +############################################################################## |
2210 | + |
2211 | +from openerp.osv import fields, osv |
2212 | + |
2213 | +from openerp.addons.asset.asset import STATE_COLOR_SELECTION |
2214 | + |
2215 | + |
2216 | +class asset_asset(osv.osv): |
2217 | + _inherit = 'asset.asset' |
2218 | + |
2219 | + _columns = { |
2220 | + 'finance_state_color': fields.related('finance_state_id', 'state_color', type="selection", selection=STATE_COLOR_SELECTION, string="Color", readonly=True), |
2221 | + } |
2222 | + |
2223 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
2224 | \ No newline at end of file |
2225 | |
2226 | === added file 'asset_sale/asset_demo.xml' |
2227 | --- asset_sale/asset_demo.xml 1970-01-01 00:00:00 +0000 |
2228 | +++ asset_sale/asset_demo.xml 2014-10-18 07:04:41 +0000 |
2229 | @@ -0,0 +1,19 @@ |
2230 | +<?xml version="1.0" encoding="utf-8"?> |
2231 | +<openerp> |
2232 | + <data noupdate="1"> |
2233 | + |
2234 | + <!-- Resource: asset.asset --> |
2235 | + <record id="asset.asset_asset_1" model="asset.asset"> |
2236 | + <field name="finance_state_id" ref="asset.asset_state_purchased"/> |
2237 | + </record> |
2238 | + |
2239 | + <record id="asset.asset_asset_2" model="asset.asset"> |
2240 | + <field name="finance_state_id" ref="asset.asset_state_rented"/> |
2241 | + </record> |
2242 | + |
2243 | + <record id="asset.asset_asset_3" model="asset.asset"> |
2244 | + <field name="finance_state_id" ref="asset.asset_state_leased"/> |
2245 | + </record> |
2246 | + |
2247 | + </data> |
2248 | +</openerp> |
2249 | |
2250 | === added directory 'asset_sale/i18n' |
2251 | === added file 'asset_sale/i18n/asset_sale.pot' |
2252 | --- asset_sale/i18n/asset_sale.pot 1970-01-01 00:00:00 +0000 |
2253 | +++ asset_sale/i18n/asset_sale.pot 2014-10-18 07:04:41 +0000 |
2254 | @@ -0,0 +1,121 @@ |
2255 | +# Translation of OpenERP Server. |
2256 | +# This file contains the translation of the following modules: |
2257 | +# * asset_sale |
2258 | +# |
2259 | +msgid "" |
2260 | +msgstr "" |
2261 | +"Project-Id-Version: OpenERP Server 7.0-20140125-002455\n" |
2262 | +"Report-Msgid-Bugs-To: \n" |
2263 | +"POT-Creation-Date: 2014-03-02 08:26+0000\n" |
2264 | +"PO-Revision-Date: 2014-03-02 08:26+0000\n" |
2265 | +"Last-Translator: <>\n" |
2266 | +"Language-Team: \n" |
2267 | +"MIME-Version: 1.0\n" |
2268 | +"Content-Type: text/plain; charset=UTF-8\n" |
2269 | +"Content-Transfer-Encoding: \n" |
2270 | +"Plural-Forms: \n" |
2271 | + |
2272 | +#. module: asset_sale |
2273 | +#: selection:asset.asset,finance_state_color:0 |
2274 | +msgid "Blue" |
2275 | +msgstr "" |
2276 | + |
2277 | +#. module: asset_sale |
2278 | +#: view:asset.asset:0 |
2279 | +msgid "Info" |
2280 | +msgstr "" |
2281 | + |
2282 | +#. module: asset_sale |
2283 | +#: selection:asset.asset,finance_state_color:0 |
2284 | +msgid "Green" |
2285 | +msgstr "" |
2286 | + |
2287 | +#. module: asset_sale |
2288 | +#: view:asset.asset:0 |
2289 | +#: model:ir.actions.act_window,name:asset_sale.action_assets_sale |
2290 | +#: model:ir.ui.menu,name:asset_sale.menu_maintenance_assets |
2291 | +#: model:ir.ui.menu,name:asset_sale.menu_maintenance_assets_assets |
2292 | +msgid "Assets" |
2293 | +msgstr "" |
2294 | + |
2295 | +#. module: asset_sale |
2296 | +#: view:asset.asset:0 |
2297 | +msgid "Model:" |
2298 | +msgstr "" |
2299 | + |
2300 | +#. module: asset_sale |
2301 | +#: field:asset.asset,finance_state_color:0 |
2302 | +msgid "Color" |
2303 | +msgstr "" |
2304 | + |
2305 | +#. module: asset_sale |
2306 | +#: model:ir.ui.menu,name:asset_sale.menu_asset_state |
2307 | +msgid "Asset States" |
2308 | +msgstr "" |
2309 | + |
2310 | +#. module: asset_sale |
2311 | +#: selection:asset.asset,finance_state_color:0 |
2312 | +msgid "SkyBlue" |
2313 | +msgstr "" |
2314 | + |
2315 | +#. module: asset_sale |
2316 | +#: view:asset.asset:0 |
2317 | +msgid "Manufacturer:" |
2318 | +msgstr "" |
2319 | + |
2320 | +#. module: asset_sale |
2321 | +#: selection:asset.asset,finance_state_color:0 |
2322 | +msgid "Orange" |
2323 | +msgstr "" |
2324 | + |
2325 | +#. module: asset_sale |
2326 | +#: view:asset.asset:0 |
2327 | +msgid "Warranty" |
2328 | +msgstr "" |
2329 | + |
2330 | +#. module: asset_sale |
2331 | +#: selection:asset.asset,finance_state_color:0 |
2332 | +msgid "Yellow" |
2333 | +msgstr "" |
2334 | + |
2335 | +#. module: asset_sale |
2336 | +#: selection:asset.asset,finance_state_color:0 |
2337 | +msgid "Black" |
2338 | +msgstr "" |
2339 | + |
2340 | +#. module: asset_sale |
2341 | +#: model:ir.model,name:asset_sale.model_asset_asset |
2342 | +msgid "Asset" |
2343 | +msgstr "" |
2344 | + |
2345 | +#. module: asset_sale |
2346 | +#: model:ir.actions.act_window,name:asset_sale.action_management_assets_sale |
2347 | +#: model:ir.ui.menu,name:asset_sale.menu_maintenance_assets_management |
2348 | +msgid "Manage states" |
2349 | +msgstr "" |
2350 | + |
2351 | +#. module: asset_sale |
2352 | +#: selection:asset.asset,finance_state_color:0 |
2353 | +msgid "Cyan" |
2354 | +msgstr "" |
2355 | + |
2356 | +#. module: asset_sale |
2357 | +#: selection:asset.asset,finance_state_color:0 |
2358 | +msgid "Magenta" |
2359 | +msgstr "" |
2360 | + |
2361 | +#. module: asset_sale |
2362 | +#: view:asset.asset:0 |
2363 | +msgid "Serial No:" |
2364 | +msgstr "" |
2365 | + |
2366 | +#. module: asset_sale |
2367 | +#: selection:asset.asset,finance_state_color:0 |
2368 | +msgid "White" |
2369 | +msgstr "" |
2370 | + |
2371 | +#. module: asset_sale |
2372 | +#: selection:asset.asset,finance_state_color:0 |
2373 | +msgid "Red" |
2374 | +msgstr "" |
2375 | + |
2376 | |
2377 | === added file 'asset_sale/i18n/ru.po' |
2378 | --- asset_sale/i18n/ru.po 1970-01-01 00:00:00 +0000 |
2379 | +++ asset_sale/i18n/ru.po 2014-10-18 07:04:41 +0000 |
2380 | @@ -0,0 +1,45 @@ |
2381 | +# Translation of OpenERP Server. |
2382 | +# This file contains the translation of the following modules: |
2383 | +# * asset_sale |
2384 | +# |
2385 | +msgid "" |
2386 | +msgstr "" |
2387 | +"Project-Id-Version: OpenERP Server 7.0-20140125-002455\n" |
2388 | +"Report-Msgid-Bugs-To: \n" |
2389 | +"POT-Creation-Date: 2014-03-02 08:26+0000\n" |
2390 | +"PO-Revision-Date: 2014-03-02 08:26+0000\n" |
2391 | +"Last-Translator: <>\n" |
2392 | +"Language-Team: \n" |
2393 | +"MIME-Version: 1.0\n" |
2394 | +"Content-Type: text/plain; charset=UTF-8\n" |
2395 | +"Content-Transfer-Encoding: \n" |
2396 | +"Plural-Forms: \n" |
2397 | + |
2398 | +#. module: base |
2399 | +#: model:ir.module.module,shortdesc:base.module_asset_sale |
2400 | +msgid "Assets & Sale" |
2401 | +msgstr "Активы и Продажи" |
2402 | + |
2403 | +#. module: base |
2404 | +#: model:ir.module.module,summary:base.module_asset_sale |
2405 | +msgid "Integrate Asset and Sale" |
2406 | +msgstr "Объединяет активы с продажами" |
2407 | + |
2408 | +#. module: asset_sale |
2409 | +#: view:asset.asset:0 |
2410 | +#: model:ir.actions.act_window,name:asset_sale.action_assets_sale |
2411 | +#: model:ir.ui.menu,name:asset_sale.menu_maintenance_assets |
2412 | +#: model:ir.ui.menu,name:asset_sale.menu_maintenance_assets_assets |
2413 | +msgid "Assets" |
2414 | +msgstr "Активы" |
2415 | + |
2416 | +#. module: asset_sale |
2417 | +#: model:ir.ui.menu,name:asset_sale.menu_asset_state |
2418 | +msgid "Asset States" |
2419 | +msgstr "Состояния активов" |
2420 | + |
2421 | +#. module: asset_sale |
2422 | +#: model:ir.actions.act_window,name:asset_sale.action_management_assets_sale |
2423 | +#: model:ir.ui.menu,name:asset_sale.menu_maintenance_assets_management |
2424 | +msgid "Manage states" |
2425 | +msgstr "Управление состояниями" |
2426 | \ No newline at end of file |
2427 | |
2428 | === added file 'asset_sale/sale_view.xml' |
2429 | --- asset_sale/sale_view.xml 1970-01-01 00:00:00 +0000 |
2430 | +++ asset_sale/sale_view.xml 2014-10-18 07:04:41 +0000 |
2431 | @@ -0,0 +1,234 @@ |
2432 | +<?xml version="1.0" encoding="utf-8"?> |
2433 | +<openerp> |
2434 | + <data> |
2435 | + |
2436 | + <!-- Asset menu --> |
2437 | + <menuitem name="Assets" |
2438 | + id="menu_maintenance_assets" |
2439 | + parent="base.menu_base_partner" |
2440 | + sequence="9"/> |
2441 | + |
2442 | + <!-- Asset Form View --> |
2443 | + <record id="assets_form_view_sale" model="ir.ui.view"> |
2444 | + <field name="name">asset.asset.form.sale</field> |
2445 | + <field name="model">asset.asset</field> |
2446 | + <field name="arch" type="xml"> |
2447 | + <form string="Assets" version="7.0"> |
2448 | + <header> |
2449 | + <field name="finance_state_id" widget="statusbar" clickable="True"/> |
2450 | + </header> |
2451 | + <sheet> |
2452 | + <field name="image_medium" widget="image" class="oe_avatar oe_left"/> |
2453 | + <div class="oe_title"> |
2454 | + <label for="name" class="oe_edit_only"/> |
2455 | + <h1> |
2456 | + <field name="name"/> |
2457 | + </h1> |
2458 | + </div> |
2459 | + <group> |
2460 | + <field name="property_stock_asset" domain="[('usage','=','asset')]"/> |
2461 | + </group> |
2462 | + <group> |
2463 | + <group> |
2464 | + <field name="criticality"/> |
2465 | + <field name="user_id"/> |
2466 | + </group> |
2467 | + <group> |
2468 | + <field name="active"/> |
2469 | + </group> |
2470 | + </group> |
2471 | + <notebook> |
2472 | + <page string="Info"> |
2473 | + <group> |
2474 | + <group> |
2475 | + <field name="asset_number"/> |
2476 | + <field name="model"/> |
2477 | + <field name="serial"/> |
2478 | + </group> |
2479 | + <group> |
2480 | + </group> |
2481 | + </group> |
2482 | + <group string="Warranty"> |
2483 | + <group> |
2484 | + <field name="manufacturer_id"/> |
2485 | + <field name="start_date"/> |
2486 | + <field name="warranty_start_date"/> |
2487 | + </group> |
2488 | + <group> |
2489 | + <field name="vendor_id"/> |
2490 | + <field name="purchase_date"/> |
2491 | + <field name="warranty_end_date"/> |
2492 | + </group> |
2493 | + </group> |
2494 | + </page> |
2495 | + </notebook> |
2496 | + </sheet> |
2497 | + <div class="oe_chatter"> |
2498 | + <field name="message_follower_ids" widget="mail_followers"/> |
2499 | + <field name="message_ids" widget="mail_thread"/> |
2500 | + </div> |
2501 | + </form> |
2502 | + </field> |
2503 | + </record> |
2504 | + |
2505 | + <!-- Asset Kanban View --> |
2506 | + <record model="ir.ui.view" id="assets_kanban_view_sale"> |
2507 | + <field name="name">asset.asset.kanban.sale</field> |
2508 | + <field name="model">asset.asset</field> |
2509 | + <field name="arch" type="xml"> |
2510 | + <kanban> |
2511 | + <field name="finance_state_id"/> |
2512 | + <field name="finance_state_color"/> |
2513 | + <field name="user_id"/> |
2514 | + <field name="criticality"/> |
2515 | + <templates> |
2516 | + <t t-name="kanban-box"> |
2517 | + <div class="oe_kanban_vignette"> |
2518 | + <div class="codup_kanban_left"> |
2519 | + <a type="open"><img t-att-src="kanban_image('asset.asset', 'image_small', record.id.value)" class="oe_kanban_image"/></a> |
2520 | + <div t-attf-title="#{record.finance_state_id.value}" t-attf-class="codup_status_color_#{record.finance_state_color.raw_value} codup_status"></div> |
2521 | + </div> |
2522 | + <div class="oe_kanban_details"> |
2523 | + <h4> |
2524 | + <a type="open"><field name="name"/></a> |
2525 | + </h4> |
2526 | + <ul> |
2527 | + <li>Model: <field name="model"></field></li> |
2528 | + <li>Manufacturer: <field name="manufacturer_id"></field></li> |
2529 | + <li>Serial No: <field name="serial"></field></li> |
2530 | + <li class="codup_kanban_info"> |
2531 | + <a t-if="record.criticality.raw_value == 0" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
2532 | + <a t-if="record.criticality.raw_value gt 0" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
2533 | + <a t-if="record.criticality.raw_value lte 1" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
2534 | + <a t-if="record.criticality.raw_value gt 1" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
2535 | + <a t-if="record.criticality.raw_value lte 2" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
2536 | + <a t-if="record.criticality.raw_value gt 2" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
2537 | + <img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/> |
2538 | + </li> |
2539 | + </ul> |
2540 | + </div> |
2541 | + </div> |
2542 | + </t> |
2543 | + </templates> |
2544 | + </kanban> |
2545 | + </field> |
2546 | + </record> |
2547 | + |
2548 | + <record id="action_assets_sale" model="ir.actions.act_window"> |
2549 | + <field name="name">Assets</field> |
2550 | + <field name="type">ir.actions.act_window</field> |
2551 | + <field name="res_model">asset.asset</field> |
2552 | + <field name="view_type">form</field> |
2553 | + <field name="view_mode">kanban,tree,form</field> |
2554 | + <field name="view_id" eval="False"/> |
2555 | + </record> |
2556 | + |
2557 | + <record model="ir.actions.act_window.view" id="action_assets_kanban_view_sale"> |
2558 | + <field name="sequence" eval="0"/> |
2559 | + <field name="view_mode">kanban</field> |
2560 | + <field name="view_id" ref="assets_kanban_view_sale"/> |
2561 | + <field name="act_window_id" ref="action_assets_sale"/> |
2562 | + </record> |
2563 | + |
2564 | + <record model="ir.actions.act_window.view" id="action_assets_tree_view_sale"> |
2565 | + <field name="sequence" eval="1"/> |
2566 | + <field name="view_mode">tree</field> |
2567 | + <field name="view_id" ref="asset.assets_tree_view"/> |
2568 | + <field name="act_window_id" ref="action_assets_sale"/> |
2569 | + </record> |
2570 | + |
2571 | + <record model="ir.actions.act_window.view" id="action_assets_form_view_sale"> |
2572 | + <field name="sequence" eval="2"/> |
2573 | + <field name="view_mode">form</field> |
2574 | + <field name="view_id" ref="assets_form_view_sale"/> |
2575 | + <field name="act_window_id" ref="action_assets_sale"/> |
2576 | + </record> |
2577 | + |
2578 | + <!-- Asset item --> |
2579 | + <menuitem name="Assets" |
2580 | + action="action_assets_sale" |
2581 | + id="menu_maintenance_assets_assets" |
2582 | + parent="menu_maintenance_assets" |
2583 | + sequence="100"/> |
2584 | + |
2585 | + <!-- Management Asset Kanban View --> |
2586 | + <record model="ir.ui.view" id="management_assets_kanban_view_sale"> |
2587 | + <field name="name">Manage states Asset Kanban</field> |
2588 | + <field name="model">asset.asset</field> |
2589 | + <field name="arch" type="xml"> |
2590 | + <kanban default_group_by="finance_state_id" create="false" delete="false"> |
2591 | + <field name="finance_state_id"/> |
2592 | + <field name="finance_state_color"/> |
2593 | + <field name="user_id"/> |
2594 | + <field name="criticality"/> |
2595 | + <templates> |
2596 | + <t t-name="kanban-box"> |
2597 | + <div t-attf-class="oe_kanban_card codup_kanban_status oe_kanban_global_click"> |
2598 | + <div class="codup_kanban_left"> |
2599 | + <a type="open"><img t-att-src="kanban_image('asset.asset', 'image_small', record.id.value)" class="oe_kanban_image"/></a> |
2600 | + <div t-attf-title="#{record.finance_state_id.value}" t-attf-class="codup_status_color_#{record.finance_state_color.raw_value} codup_status"></div> |
2601 | + </div> |
2602 | + <div class="codup_kanban_details"> |
2603 | + <h4> |
2604 | + <a type="open"><field name="name"/></a> |
2605 | + </h4> |
2606 | + <ul> |
2607 | + <li title="Model"><field name="model"></field></li> |
2608 | + <li title="Manufacturer"><field name="manufacturer_id"></field></li> |
2609 | + <li class="codup_kanban_info"> |
2610 | + <a t-if="record.criticality.raw_value == 0" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
2611 | + <a t-if="record.criticality.raw_value gt 0" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
2612 | + <a t-if="record.criticality.raw_value lte 1" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
2613 | + <a t-if="record.criticality.raw_value gt 1" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
2614 | + <a t-if="record.criticality.raw_value lte 2" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
2615 | + <a t-if="record.criticality.raw_value gt 2" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
2616 | + <img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/> |
2617 | + </li> |
2618 | + </ul> |
2619 | + </div> |
2620 | + </div> |
2621 | + </t> |
2622 | + </templates> |
2623 | + </kanban> |
2624 | + </field> |
2625 | + </record> |
2626 | + |
2627 | + <record id="action_management_assets_sale" model="ir.actions.act_window"> |
2628 | + <field name="name">Manage states</field> |
2629 | + <field name="type">ir.actions.act_window</field> |
2630 | + <field name="res_model">asset.asset</field> |
2631 | + <field name="view_type">form</field> |
2632 | + <field name="view_mode">kanban,form</field> |
2633 | + <field name="view_id" eval="False"/> |
2634 | + </record> |
2635 | + |
2636 | + <record model="ir.actions.act_window.view" id="action_management_assets_kanban_view_sale"> |
2637 | + <field name="sequence" eval="0"/> |
2638 | + <field name="view_mode">kanban</field> |
2639 | + <field name="view_id" ref="management_assets_kanban_view_sale"/> |
2640 | + <field name="act_window_id" ref="action_management_assets_sale"/> |
2641 | + </record> |
2642 | + |
2643 | + <record model="ir.actions.act_window.view" id="action_management_assets_form_view_sale"> |
2644 | + <field name="sequence" eval="1"/> |
2645 | + <field name="view_mode">form</field> |
2646 | + <field name="view_id" ref="assets_form_view_sale"/> |
2647 | + <field name="act_window_id" ref="action_management_assets_sale"/> |
2648 | + </record> |
2649 | + |
2650 | + <!-- Management Asset item --> |
2651 | + <menuitem name="Manage states" |
2652 | + action="action_management_assets_sale" |
2653 | + id="menu_maintenance_assets_management" |
2654 | + parent="menu_maintenance_assets" |
2655 | + sequence="100"/> |
2656 | + |
2657 | + <!-- Asset state item --> |
2658 | + <menuitem name="Asset States" |
2659 | + action="asset.action_asset_state" |
2660 | + id="menu_asset_state" |
2661 | + parent="base.menu_base_config" |
2662 | + sequence="100"/> |
2663 | + |
2664 | + </data> |
2665 | +</openerp> |
2666 | |
2667 | === added directory 'asset_sale/static' |
2668 | === added directory 'asset_sale/static/src' |
2669 | === added directory 'asset_sale/static/src/img' |
2670 | === added file 'asset_sale/static/src/img/icon.png' |
2671 | Binary files asset_sale/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and asset_sale/static/src/img/icon.png 2014-10-18 07:04:41 +0000 differ |
2672 | === added directory 'asset_stock' |
2673 | === renamed directory 'asset_stock' => 'asset_stock.moved' |
2674 | === added file 'asset_stock/__init__.py' |
2675 | --- asset_stock/__init__.py 1970-01-01 00:00:00 +0000 |
2676 | +++ asset_stock/__init__.py 2014-10-18 07:04:41 +0000 |
2677 | @@ -0,0 +1,24 @@ |
2678 | +# -*- coding: utf-8 -*- |
2679 | +############################################################################## |
2680 | +# |
2681 | +# OpenERP, Open Source Management Solution |
2682 | +# Copyright (C) 2014 CodUP (<http://codup.com>). |
2683 | +# |
2684 | +# This program is free software: you can redistribute it and/or modify |
2685 | +# it under the terms of the GNU Affero General Public License as |
2686 | +# published by the Free Software Foundation, either version 3 of the |
2687 | +# License, or (at your option) any later version. |
2688 | +# |
2689 | +# This program is distributed in the hope that it will be useful, |
2690 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
2691 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2692 | +# GNU Affero General Public License for more details. |
2693 | +# |
2694 | +# You should have received a copy of the GNU Affero General Public License |
2695 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
2696 | +# |
2697 | +############################################################################## |
2698 | + |
2699 | +import asset |
2700 | + |
2701 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
2702 | |
2703 | === added file 'asset_stock/__openerp__.py' |
2704 | --- asset_stock/__openerp__.py 1970-01-01 00:00:00 +0000 |
2705 | +++ asset_stock/__openerp__.py 2014-10-18 07:04:41 +0000 |
2706 | @@ -0,0 +1,42 @@ |
2707 | +# -*- coding: utf-8 -*- |
2708 | +############################################################################## |
2709 | +# |
2710 | +# OpenERP, Open Source Management Solution |
2711 | +# Copyright (C) 2014 CodUP (<http://codup.com>). |
2712 | +# |
2713 | +# This program is free software: you can redistribute it and/or modify |
2714 | +# it under the terms of the GNU Affero General Public License as |
2715 | +# published by the Free Software Foundation, either version 3 of the |
2716 | +# License, or (at your option) any later version. |
2717 | +# |
2718 | +# This program is distributed in the hope that it will be useful, |
2719 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
2720 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2721 | +# GNU Affero General Public License for more details. |
2722 | +# |
2723 | +# You should have received a copy of the GNU Affero General Public License |
2724 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
2725 | +# |
2726 | +############################################################################## |
2727 | + |
2728 | +{ |
2729 | + 'name': 'Assets & Warehouse', |
2730 | + 'version': '1.0', |
2731 | + 'summary': 'Integrate Asset and Warehouse', |
2732 | + 'description': """ |
2733 | +Integrate Maintenance and Warehouse. |
2734 | +=========================== |
2735 | + |
2736 | +This module allows use the same Assets for warehouse and maintenance purposes. |
2737 | +Keep one entity in one place for escape mistakes! |
2738 | + """, |
2739 | + 'author': 'CodUP', |
2740 | + 'website': 'http://codup.com', |
2741 | + 'category': 'Enterprise Asset Management', |
2742 | + 'sequence': 0, |
2743 | + 'depends': ['asset'], |
2744 | + 'demo': ['asset_demo.xml'], |
2745 | + 'data': ['stock_view.xml'], |
2746 | + 'installable': True, |
2747 | +} |
2748 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
2749 | \ No newline at end of file |
2750 | |
2751 | === added file 'asset_stock/asset.py' |
2752 | --- asset_stock/asset.py 1970-01-01 00:00:00 +0000 |
2753 | +++ asset_stock/asset.py 2014-10-18 07:04:41 +0000 |
2754 | @@ -0,0 +1,34 @@ |
2755 | +# -*- coding: utf-8 -*- |
2756 | +############################################################################## |
2757 | +# |
2758 | +# OpenERP, Open Source Management Solution |
2759 | +# Copyright (C) 2014 CodUP (<http://codup.com>). |
2760 | +# |
2761 | +# This program is free software: you can redistribute it and/or modify |
2762 | +# it under the terms of the GNU Affero General Public License as |
2763 | +# published by the Free Software Foundation, either version 3 of the |
2764 | +# License, or (at your option) any later version. |
2765 | +# |
2766 | +# This program is distributed in the hope that it will be useful, |
2767 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
2768 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2769 | +# GNU Affero General Public License for more details. |
2770 | +# |
2771 | +# You should have received a copy of the GNU Affero General Public License |
2772 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
2773 | +# |
2774 | +############################################################################## |
2775 | + |
2776 | +from openerp.osv import fields, osv |
2777 | + |
2778 | +from openerp.addons.asset.asset import STATE_COLOR_SELECTION |
2779 | + |
2780 | + |
2781 | +class asset_asset(osv.osv): |
2782 | + _inherit = 'asset.asset' |
2783 | + |
2784 | + _columns = { |
2785 | + 'warehouse_state_color': fields.related('warehouse_state_id', 'state_color', type="selection", selection=STATE_COLOR_SELECTION, string="Color", readonly=True), |
2786 | + } |
2787 | + |
2788 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
2789 | \ No newline at end of file |
2790 | |
2791 | === added file 'asset_stock/asset_demo.xml' |
2792 | --- asset_stock/asset_demo.xml 1970-01-01 00:00:00 +0000 |
2793 | +++ asset_stock/asset_demo.xml 2014-10-18 07:04:41 +0000 |
2794 | @@ -0,0 +1,19 @@ |
2795 | +<?xml version="1.0" encoding="utf-8"?> |
2796 | +<openerp> |
2797 | + <data noupdate="1"> |
2798 | + |
2799 | + <!-- Resource: asset.asset --> |
2800 | + <record id="asset.asset_asset_1" model="asset.asset"> |
2801 | + <field name="warehouse_state_id" ref="asset.asset_state_use"/> |
2802 | + </record> |
2803 | + |
2804 | + <record id="asset.asset_asset_2" model="asset.asset"> |
2805 | + <field name="warehouse_state_id" ref="asset.asset_state_shipped"/> |
2806 | + </record> |
2807 | + |
2808 | + <record id="asset.asset_asset_3" model="asset.asset"> |
2809 | + <field name="warehouse_state_id" ref="asset.asset_state_stored"/> |
2810 | + </record> |
2811 | + |
2812 | + </data> |
2813 | +</openerp> |
2814 | |
2815 | === added directory 'asset_stock/i18n' |
2816 | === added file 'asset_stock/i18n/asset_stock.pot' |
2817 | --- asset_stock/i18n/asset_stock.pot 1970-01-01 00:00:00 +0000 |
2818 | +++ asset_stock/i18n/asset_stock.pot 2014-10-18 07:04:41 +0000 |
2819 | @@ -0,0 +1,133 @@ |
2820 | +# Translation of OpenERP Server. |
2821 | +# This file contains the translation of the following modules: |
2822 | +# * asset_stock |
2823 | +# |
2824 | +msgid "" |
2825 | +msgstr "" |
2826 | +"Project-Id-Version: OpenERP Server 7.0-20140125-002455\n" |
2827 | +"Report-Msgid-Bugs-To: \n" |
2828 | +"POT-Creation-Date: 2014-03-01 09:45+0000\n" |
2829 | +"PO-Revision-Date: 2014-03-01 09:45+0000\n" |
2830 | +"Last-Translator: <>\n" |
2831 | +"Language-Team: \n" |
2832 | +"MIME-Version: 1.0\n" |
2833 | +"Content-Type: text/plain; charset=UTF-8\n" |
2834 | +"Content-Transfer-Encoding: \n" |
2835 | +"Plural-Forms: \n" |
2836 | + |
2837 | +#. module: asset_stock |
2838 | +#: selection:asset.asset,warehouse_state_color:0 |
2839 | +msgid "Blue" |
2840 | +msgstr "" |
2841 | + |
2842 | +#. module: asset_stock |
2843 | +#: field:asset.asset,warehouse_state_id:0 |
2844 | +#: view:asset.state:0 |
2845 | +msgid "State" |
2846 | +msgstr "" |
2847 | + |
2848 | +#. module: asset_stock |
2849 | +#: selection:asset.asset,warehouse_state_color:0 |
2850 | +msgid "Black" |
2851 | +msgstr "" |
2852 | + |
2853 | +#. module: asset_stock |
2854 | +#: selection:asset.asset,warehouse_state_color:0 |
2855 | +msgid "Yellow" |
2856 | +msgstr "" |
2857 | + |
2858 | +#. module: asset_stock |
2859 | +#: selection:asset.asset,warehouse_state_color:0 |
2860 | +msgid "Orange" |
2861 | +msgstr "" |
2862 | + |
2863 | +#. module: asset_stock |
2864 | +#: view:asset.state:0 |
2865 | +msgid "Change color" |
2866 | +msgstr "" |
2867 | + |
2868 | +#. module: asset_stock |
2869 | +#: selection:asset.asset,warehouse_state_color:0 |
2870 | +msgid "White" |
2871 | +msgstr "" |
2872 | + |
2873 | +#. module: asset_stock |
2874 | +#: view:asset.asset:0 |
2875 | +msgid "Serial No:" |
2876 | +msgstr "" |
2877 | + |
2878 | +#. module: asset_stock |
2879 | +#: selection:asset.asset,warehouse_state_color:0 |
2880 | +msgid "Red" |
2881 | +msgstr "" |
2882 | + |
2883 | +#. module: asset_stock |
2884 | +#: selection:asset.asset,warehouse_state_color:0 |
2885 | +msgid "Cyan" |
2886 | +msgstr "" |
2887 | + |
2888 | +#. module: asset_stock |
2889 | +#: view:asset.asset:0 |
2890 | +msgid "Info" |
2891 | +msgstr "" |
2892 | + |
2893 | +#. module: asset_stock |
2894 | +#: view:asset.asset:0 |
2895 | +msgid "Warranty" |
2896 | +msgstr "" |
2897 | + |
2898 | +#. module: asset_stock |
2899 | +#: view:asset.asset:0 |
2900 | +#: model:ir.actions.act_window,name:asset_stock.action_assets_stock |
2901 | +#: model:ir.ui.menu,name:asset_stock.menu_maintenance_assets |
2902 | +#: model:ir.ui.menu,name:asset_stock.menu_maintenance_assets_assets |
2903 | +msgid "Assets" |
2904 | +msgstr "" |
2905 | + |
2906 | +#. module: asset_stock |
2907 | +#: model:ir.actions.act_window,name:asset_stock.action_asset_state |
2908 | +#: model:ir.ui.menu,name:asset_stock.menu_asset_state |
2909 | +msgid "Asset States" |
2910 | +msgstr "" |
2911 | + |
2912 | +#. module: asset_stock |
2913 | +#: selection:asset.asset,warehouse_state_color:0 |
2914 | +msgid "Green" |
2915 | +msgstr "" |
2916 | + |
2917 | +#. module: asset_stock |
2918 | +#: selection:asset.asset,warehouse_state_color:0 |
2919 | +msgid "SkyBlue" |
2920 | +msgstr "" |
2921 | + |
2922 | +#. module: asset_stock |
2923 | +#: view:asset.asset:0 |
2924 | +msgid "Model:" |
2925 | +msgstr "" |
2926 | + |
2927 | +#. module: asset_stock |
2928 | +#: field:asset.asset,warehouse_state_color:0 |
2929 | +msgid "Color" |
2930 | +msgstr "" |
2931 | + |
2932 | +#. module: asset_stock |
2933 | +#: view:asset.asset:0 |
2934 | +msgid "Manufacturer:" |
2935 | +msgstr "" |
2936 | + |
2937 | +#. module: asset_stock |
2938 | +#: model:ir.actions.act_window,name:asset_stock.action_management_assets |
2939 | +#: model:ir.ui.menu,name:asset_stock.menu_maintenance_assets_management |
2940 | +msgid "Manage states" |
2941 | +msgstr "" |
2942 | + |
2943 | +#. module: asset_stock |
2944 | +#: selection:asset.asset,warehouse_state_color:0 |
2945 | +msgid "Magenta" |
2946 | +msgstr "" |
2947 | + |
2948 | +#. module: asset_stock |
2949 | +#: model:ir.model,name:asset_stock.model_asset_asset |
2950 | +msgid "Asset" |
2951 | +msgstr "" |
2952 | + |
2953 | |
2954 | === added file 'asset_stock/i18n/ru.po' |
2955 | --- asset_stock/i18n/ru.po 1970-01-01 00:00:00 +0000 |
2956 | +++ asset_stock/i18n/ru.po 2014-10-18 07:04:41 +0000 |
2957 | @@ -0,0 +1,36 @@ |
2958 | +# Translation of OpenERP Server. |
2959 | +# This file contains the translation of the following modules: |
2960 | +# * asset_stock |
2961 | +# |
2962 | +msgid "" |
2963 | +msgstr "" |
2964 | +"Project-Id-Version: OpenERP Server 7.0-20140125-002455\n" |
2965 | +"Report-Msgid-Bugs-To: \n" |
2966 | +"POT-Creation-Date: 2014-03-01 09:45+0000\n" |
2967 | +"PO-Revision-Date: 2014-03-01 09:45+0000\n" |
2968 | +"Last-Translator: <>\n" |
2969 | +"Language-Team: \n" |
2970 | +"MIME-Version: 1.0\n" |
2971 | +"Content-Type: text/plain; charset=UTF-8\n" |
2972 | +"Content-Transfer-Encoding: \n" |
2973 | +"Plural-Forms: \n" |
2974 | + |
2975 | +#. module: asset_stock |
2976 | +#: view:asset.asset:0 |
2977 | +#: model:ir.actions.act_window,name:asset_stock.action_assets_stock |
2978 | +#: model:ir.ui.menu,name:asset_stock.menu_maintenance_assets |
2979 | +#: model:ir.ui.menu,name:asset_stock.menu_maintenance_assets_assets |
2980 | +msgid "Assets" |
2981 | +msgstr "Активы" |
2982 | + |
2983 | +#. module: asset_stock |
2984 | +#: model:ir.actions.act_window,name:asset_stock.action_asset_state |
2985 | +#: model:ir.ui.menu,name:asset_stock.menu_asset_state |
2986 | +msgid "Asset States" |
2987 | +msgstr "Состояния активов" |
2988 | + |
2989 | +#. module: asset_stock |
2990 | +#: model:ir.actions.act_window,name:asset_stock.action_management_assets |
2991 | +#: model:ir.ui.menu,name:asset_stock.menu_maintenance_assets_management |
2992 | +msgid "Manage states" |
2993 | +msgstr "Управление состояниями" |
2994 | \ No newline at end of file |
2995 | |
2996 | === added directory 'asset_stock/static' |
2997 | === added directory 'asset_stock/static/src' |
2998 | === added directory 'asset_stock/static/src/img' |
2999 | === added file 'asset_stock/static/src/img/icon.png' |
3000 | Binary files asset_stock/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and asset_stock/static/src/img/icon.png 2014-10-18 07:04:41 +0000 differ |
3001 | === added file 'asset_stock/stock_view.xml' |
3002 | --- asset_stock/stock_view.xml 1970-01-01 00:00:00 +0000 |
3003 | +++ asset_stock/stock_view.xml 2014-10-18 07:04:41 +0000 |
3004 | @@ -0,0 +1,234 @@ |
3005 | +<?xml version="1.0" encoding="utf-8"?> |
3006 | +<openerp> |
3007 | + <data> |
3008 | + |
3009 | + <!-- Asset menu --> |
3010 | + <menuitem name="Assets" |
3011 | + id="menu_maintenance_assets" |
3012 | + parent="stock.menu_stock_root" |
3013 | + sequence="9"/> |
3014 | + |
3015 | + <!-- Asset Form View --> |
3016 | + <record id="assets_form_view_stock" model="ir.ui.view"> |
3017 | + <field name="name">asset.asset.form.stock</field> |
3018 | + <field name="model">asset.asset</field> |
3019 | + <field name="arch" type="xml"> |
3020 | + <form string="Assets" version="7.0"> |
3021 | + <header> |
3022 | + <field name="warehouse_state_id" widget="statusbar" clickable="True"/> |
3023 | + </header> |
3024 | + <sheet> |
3025 | + <field name="image_medium" widget="image" class="oe_avatar oe_left"/> |
3026 | + <div class="oe_title"> |
3027 | + <label for="name" class="oe_edit_only"/> |
3028 | + <h1> |
3029 | + <field name="name"/> |
3030 | + </h1> |
3031 | + </div> |
3032 | + <group> |
3033 | + <field name="property_stock_asset" domain="[('usage','=','asset')]"/> |
3034 | + </group> |
3035 | + <group> |
3036 | + <group> |
3037 | + <field name="criticality"/> |
3038 | + <field name="user_id"/> |
3039 | + </group> |
3040 | + <group> |
3041 | + <field name="active"/> |
3042 | + </group> |
3043 | + </group> |
3044 | + <notebook> |
3045 | + <page string="Info"> |
3046 | + <group> |
3047 | + <group> |
3048 | + <field name="asset_number"/> |
3049 | + <field name="model"/> |
3050 | + <field name="serial"/> |
3051 | + </group> |
3052 | + <group> |
3053 | + </group> |
3054 | + </group> |
3055 | + <group string="Warranty"> |
3056 | + <group> |
3057 | + <field name="manufacturer_id"/> |
3058 | + <field name="start_date"/> |
3059 | + <field name="warranty_start_date"/> |
3060 | + </group> |
3061 | + <group> |
3062 | + <field name="vendor_id"/> |
3063 | + <field name="purchase_date"/> |
3064 | + <field name="warranty_end_date"/> |
3065 | + </group> |
3066 | + </group> |
3067 | + </page> |
3068 | + </notebook> |
3069 | + </sheet> |
3070 | + <div class="oe_chatter"> |
3071 | + <field name="message_follower_ids" widget="mail_followers"/> |
3072 | + <field name="message_ids" widget="mail_thread"/> |
3073 | + </div> |
3074 | + </form> |
3075 | + </field> |
3076 | + </record> |
3077 | + |
3078 | + <!-- Asset Kanban View --> |
3079 | + <record model="ir.ui.view" id="assets_kanban_view_stock"> |
3080 | + <field name="name">asset.asset.kanban.stock</field> |
3081 | + <field name="model">asset.asset</field> |
3082 | + <field name="arch" type="xml"> |
3083 | + <kanban> |
3084 | + <field name="warehouse_state_id"/> |
3085 | + <field name="warehouse_state_color"/> |
3086 | + <field name="user_id"/> |
3087 | + <field name="criticality"/> |
3088 | + <templates> |
3089 | + <t t-name="kanban-box"> |
3090 | + <div class="oe_kanban_vignette"> |
3091 | + <div class="codup_kanban_left"> |
3092 | + <a type="open"><img t-att-src="kanban_image('asset.asset', 'image_small', record.id.value)" class="oe_kanban_image"/></a> |
3093 | + <div t-attf-title="#{record.warehouse_state_id.value}" t-attf-class="codup_status_color_#{record.warehouse_state_color.raw_value} codup_status"></div> |
3094 | + </div> |
3095 | + <div class="oe_kanban_details"> |
3096 | + <h4> |
3097 | + <a type="open"><field name="name"/></a> |
3098 | + </h4> |
3099 | + <ul> |
3100 | + <li>Model: <field name="model"></field></li> |
3101 | + <li>Manufacturer: <field name="manufacturer_id"></field></li> |
3102 | + <li>Serial No: <field name="serial"></field></li> |
3103 | + <li class="codup_kanban_info"> |
3104 | + <a t-if="record.criticality.raw_value == 0" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
3105 | + <a t-if="record.criticality.raw_value gt 0" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
3106 | + <a t-if="record.criticality.raw_value lte 1" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
3107 | + <a t-if="record.criticality.raw_value gt 1" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
3108 | + <a t-if="record.criticality.raw_value lte 2" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
3109 | + <a t-if="record.criticality.raw_value gt 2" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
3110 | + <img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/> |
3111 | + </li> |
3112 | + </ul> |
3113 | + </div> |
3114 | + </div> |
3115 | + </t> |
3116 | + </templates> |
3117 | + </kanban> |
3118 | + </field> |
3119 | + </record> |
3120 | + |
3121 | + <record id="action_assets_stock" model="ir.actions.act_window"> |
3122 | + <field name="name">Assets</field> |
3123 | + <field name="type">ir.actions.act_window</field> |
3124 | + <field name="res_model">asset.asset</field> |
3125 | + <field name="view_type">form</field> |
3126 | + <field name="view_mode">kanban,tree,form</field> |
3127 | + <field name="view_id" eval="False"/> |
3128 | + </record> |
3129 | + |
3130 | + <record model="ir.actions.act_window.view" id="action_assets_kanban_view_stock"> |
3131 | + <field name="sequence" eval="0"/> |
3132 | + <field name="view_mode">kanban</field> |
3133 | + <field name="view_id" ref="assets_kanban_view_stock"/> |
3134 | + <field name="act_window_id" ref="action_assets_stock"/> |
3135 | + </record> |
3136 | + |
3137 | + <record model="ir.actions.act_window.view" id="action_assets_tree_view_stock"> |
3138 | + <field name="sequence" eval="1"/> |
3139 | + <field name="view_mode">tree</field> |
3140 | + <field name="view_id" ref="asset.assets_tree_view"/> |
3141 | + <field name="act_window_id" ref="action_assets_stock"/> |
3142 | + </record> |
3143 | + |
3144 | + <record model="ir.actions.act_window.view" id="action_assets_form_view_stock"> |
3145 | + <field name="sequence" eval="2"/> |
3146 | + <field name="view_mode">form</field> |
3147 | + <field name="view_id" ref="assets_form_view_stock"/> |
3148 | + <field name="act_window_id" ref="action_assets_stock"/> |
3149 | + </record> |
3150 | + |
3151 | + <!-- Asset item --> |
3152 | + <menuitem name="Assets" |
3153 | + action="action_assets_stock" |
3154 | + id="menu_maintenance_assets_assets" |
3155 | + parent="menu_maintenance_assets" |
3156 | + sequence="100"/> |
3157 | + |
3158 | + <!-- Management Asset Kanban View --> |
3159 | + <record model="ir.ui.view" id="management_assets_kanban_view_stock"> |
3160 | + <field name="name">Manage states Asset Kanban</field> |
3161 | + <field name="model">asset.asset</field> |
3162 | + <field name="arch" type="xml"> |
3163 | + <kanban default_group_by="warehouse_state_id" create="false" delete="false"> |
3164 | + <field name="warehouse_state_id"/> |
3165 | + <field name="warehouse_state_color"/> |
3166 | + <field name="user_id"/> |
3167 | + <field name="criticality"/> |
3168 | + <templates> |
3169 | + <t t-name="kanban-box"> |
3170 | + <div t-attf-class="oe_kanban_card codup_kanban_status oe_kanban_global_click"> |
3171 | + <div class="codup_kanban_left"> |
3172 | + <a type="open"><img t-att-src="kanban_image('asset.asset', 'image_small', record.id.value)" class="oe_kanban_image"/></a> |
3173 | + <div t-attf-title="#{record.warehouse_state_id.value}" t-attf-class="codup_status_color_#{record.warehouse_state_color.raw_value} codup_status"></div> |
3174 | + </div> |
3175 | + <div class="codup_kanban_details"> |
3176 | + <h4> |
3177 | + <a type="open"><field name="name"/></a> |
3178 | + </h4> |
3179 | + <ul> |
3180 | + <li title="Model"><field name="model"></field></li> |
3181 | + <li title="Manufacturer"><field name="manufacturer_id"></field></li> |
3182 | + <li class="codup_kanban_info"> |
3183 | + <a t-if="record.criticality.raw_value == 0" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
3184 | + <a t-if="record.criticality.raw_value gt 0" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
3185 | + <a t-if="record.criticality.raw_value lte 1" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
3186 | + <a t-if="record.criticality.raw_value gt 1" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
3187 | + <a t-if="record.criticality.raw_value lte 2" t-attf-title="#{record.criticality.value}" class="codup_attention_off">c</a> |
3188 | + <a t-if="record.criticality.raw_value gt 2" t-attf-title="#{record.criticality.value}" class="codup_attention_on">c</a> |
3189 | + <img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/> |
3190 | + </li> |
3191 | + </ul> |
3192 | + </div> |
3193 | + </div> |
3194 | + </t> |
3195 | + </templates> |
3196 | + </kanban> |
3197 | + </field> |
3198 | + </record> |
3199 | + |
3200 | + <record id="action_management_assets_stock" model="ir.actions.act_window"> |
3201 | + <field name="name">Manage states</field> |
3202 | + <field name="type">ir.actions.act_window</field> |
3203 | + <field name="res_model">asset.asset</field> |
3204 | + <field name="view_type">form</field> |
3205 | + <field name="view_mode">kanban,form</field> |
3206 | + <field name="view_id" eval="False"/> |
3207 | + </record> |
3208 | + |
3209 | + <record model="ir.actions.act_window.view" id="action_management_assets_kanban_view_stock"> |
3210 | + <field name="sequence" eval="0"/> |
3211 | + <field name="view_mode">kanban</field> |
3212 | + <field name="view_id" ref="management_assets_kanban_view_stock"/> |
3213 | + <field name="act_window_id" ref="action_management_assets_stock"/> |
3214 | + </record> |
3215 | + |
3216 | + <record model="ir.actions.act_window.view" id="action_management_assets_form_view_stock"> |
3217 | + <field name="sequence" eval="1"/> |
3218 | + <field name="view_mode">form</field> |
3219 | + <field name="view_id" ref="assets_form_view_stock"/> |
3220 | + <field name="act_window_id" ref="action_management_assets_stock"/> |
3221 | + </record> |
3222 | + |
3223 | + <!-- Management Asset item --> |
3224 | + <menuitem name="Manage states" |
3225 | + action="action_management_assets_stock" |
3226 | + id="menu_maintenance_assets_management" |
3227 | + parent="menu_maintenance_assets" |
3228 | + sequence="100"/> |
3229 | + |
3230 | + <!-- Asset state item --> |
3231 | + <menuitem name="Asset States" |
3232 | + action="asset.action_asset_state" |
3233 | + id="menu_asset_state" |
3234 | + parent="stock.menu_stock_configuration" |
3235 | + sequence="100"/> |
3236 | + |
3237 | + </data> |
3238 | +</openerp> |