Merge lp:~numerigraphe/openobject-addons/trunk-stock-available-help into lp:openobject-addons

Proposed by Numérigraphe
Status: Merged
Merged at revision: 5595
Proposed branch: lp:~numerigraphe/openobject-addons/trunk-stock-available-help
Merge into: lp:openobject-addons
Diff against target: 73 lines (+58/-5)
1 file modified
stock/product.py (+58/-5)
To merge this branch: bzr merge lp:~numerigraphe/openobject-addons/trunk-stock-available-help
Reviewer Review Type Date Requested Status
OpenERP Localization Experts Pending
OpenERP Core Team Pending
Review via email: mp+80680@code.launchpad.net

Description of the change

This branch contains clearer help texts for the real and virtual stock fields.
Lionel.

To post a comment you must log in.
Revision history for this message
Numérigraphe (numerigraphe) wrote :

Asking for review from the l10n experts too because they were appointed to discuss wording issues last year.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'stock/product.py'
--- stock/product.py 2011-10-10 06:43:37 +0000
+++ stock/product.py 2011-10-28 15:12:25 +0000
@@ -327,11 +327,64 @@
327 return res327 return res
328328
329 _columns = {329 _columns = {
330 'qty_available': fields.function(_product_available, type='float', string='Quantity On Hand', help="Current quantities of products in selected locations or all internal if none have been selected.", multi='qty_available', digits_compute=dp.get_precision('Product UoM')),330 'qty_available': fields.function(_product_available, multi='qty_available',
331 'virtual_available': fields.function(_product_available, type='float', string='Quantity Available', help="Forcasted quantity (computed as Quantity On Hand - Outgoing + Incoming) in selected locations or all internal if none have been selected.", multi='qty_available', digits_compute=dp.get_precision('Product UoM')),331 type='float', digits_compute=dp.get_precision('Product UoM'),
332 'incoming_qty': fields.function(_product_available, type='float', string='Incoming', help="Quantities of products that are planned to arrive in selected locations or all internal if none have been selected.", multi='qty_available', digits_compute=dp.get_precision('Product UoM')),332 string='Quantity On Hand',
333 'outgoing_qty': fields.function(_product_available, type='float', string='Outgoing', help="Quantities of products that are planned to leave in selected locations or all internal if none have been selected.", multi='qty_available', digits_compute=dp.get_precision('Product UoM')),333 help="Current quantity of products.\n"
334 'track_production': fields.boolean('Track Manufacturing Lots' , help="Forces to specify a Production Lot for all moves containing this product and generated by a Manufacturing Order"),334 "In a context with a single Stock Location, this includes "
335 "goods stored at this Location, or any of its children.\n"
336 "In a context with a single Warehouse, this includes "
337 "goods stored in the Stock Location of this Warehouse, or any "
338 "of its children.\n"
339 "In a context with a single Shop, this includes goods "
340 "stored in the Stock Location of the Warehouse of this Shop, "
341 "or any of its children.\n"
342 "Otherwise, this includes goods stored in any Stock Location "
343 "typed as 'internal'."),
344 'virtual_available': fields.function(_product_available, multi='qty_available',
345 type='float', digits_compute=dp.get_precision('Product UoM'),
346 string='Quantity Available',
347 help="Forcasted quantity (computed as Quantity On Hand "
348 "- Outgoing + Incoming)\n"
349 "In a context with a single Stock Location, this includes "
350 "goods stored at this Location, or any of its children.\n"
351 "In a context with a single Warehouse, this includes "
352 "goods stored in the Stock Location of this Warehouse, or any "
353 "of its children.\n"
354 "In a context with a single Shop, this includes goods "
355 "stored in the Stock Location of the Warehouse of this Shop, "
356 "or any of its children.\n"
357 "Otherwise, this includes goods stored in any Stock Location "
358 "typed as 'internal'."),
359 'incoming_qty': fields.function(_product_available, multi='qty_available',
360 type='float', digits_compute=dp.get_precision('Product UoM'),
361 string='Incoming',
362 help="Quantity of products that are planned to arrive.\n"
363 "In a context with a single Stock Location, this includes "
364 "goods arriving to this Location, or any of its children.\n"
365 "In a context with a single Warehouse, this includes "
366 "goods arriving to the Stock Location of this Warehouse, or "
367 "any of its children.\n"
368 "In a context with a single Shop, this includes goods "
369 "arriving to the Stock Location of the Warehouse of this "
370 "Shop, or any of its children.\n"
371 "Otherwise, this includes goods arriving to any Stock "
372 "Location typed as 'internal'."),
373 'outgoing_qty': fields.function(_product_available, multi='qty_available',
374 type='float', digits_compute=dp.get_precision('Product UoM'),
375 string='Outgoing',
376 help="Quantity of products that are planned to leave.\n"
377 "In a context with a single Stock Location, this includes "
378 "goods leaving from this Location, or any of its children.\n"
379 "In a context with a single Warehouse, this includes "
380 "goods leaving from the Stock Location of this Warehouse, or "
381 "any of its children.\n"
382 "In a context with a single Shop, this includes goods "
383 "leaving from the Stock Location of the Warehouse of this "
384 "Shop, or any of its children.\n"
385 "Otherwise, this includes goods leaving from any Stock "
386 "Location typed as 'internal'."),
387 'track_production': fields.boolean('Track Manufacturing Lots', help="Forces to specify a Production Lot for all moves containing this product and generated by a Manufacturing Order"),
335 'track_incoming': fields.boolean('Track Incoming Lots', help="Forces to specify a Production Lot for all moves containing this product and coming from a Supplier Location"),388 'track_incoming': fields.boolean('Track Incoming Lots', help="Forces to specify a Production Lot for all moves containing this product and coming from a Supplier Location"),
336 'track_outgoing': fields.boolean('Track Outgoing Lots', help="Forces to specify a Production Lot for all moves containing this product and going to a Customer Location"),389 'track_outgoing': fields.boolean('Track Outgoing Lots', help="Forces to specify a Production Lot for all moves containing this product and going to a Customer Location"),
337 'location_id': fields.dummy(string='Location', relation='stock.location', type='many2one'),390 'location_id': fields.dummy(string='Location', relation='stock.location', type='many2one'),

Subscribers

People subscribed via source and target branches

to all changes: