[IMP] explicit help texts on stock move quantities
authorNumerigraphe - Lionel Sausin <ls@numerigraphe.fr>
Wed, 22 Feb 2012 14:26:09 +0000 (15:26 +0100)
committerNumerigraphe - Lionel Sausin <ls@numerigraphe.fr>
Wed, 22 Feb 2012 14:26:09 +0000 (15:26 +0100)
lp bug: https://launchpad.net/bugs/904118 fixed

bzr revid: ls@numerigraphe.fr-20120222142609-in23kx3atgeefig2

addons/stock/stock.py

index 885f7cd..5b8edce 100644 (file)
@@ -1572,10 +1572,28 @@ class stock_move(osv.osv):
         'date_expected': fields.datetime('Scheduled Date', states={'done': [('readonly', True)]},required=True, select=True, help="Scheduled date for the processing of this move"),
         'product_id': fields.many2one('product.product', 'Product', required=True, select=True, domain=[('type','<>','service')],states={'done': [('readonly', True)]}),
 
-        'product_qty': fields.float('Quantity', digits_compute=dp.get_precision('Product UoM'), required=True,states={'done': [('readonly', True)]}),
+        'product_qty': fields.float('Ordered quantity', 
+             digits_compute=dp.get_precision('Product UoM'), required=True, 
+             states={'done': [('readonly', True)]},
+             help="This is the quantity of products from an inventory "
+                  "point of view. For moves in the state 'done', this is the "
+                  "quantity of products that were actually moved. For other "
+                  "moves, this is the quantity of product that is planned to "
+                  "be moved. Lowering this quantity does not generate a "
+                  "backorder. Changing this quantity on assigned moves affects "
+                  "the product reservation, and should be done with care."),
         'product_uom': fields.many2one('product.uom', 'Unit of Measure', required=True,states={'done': [('readonly', True)]}),
-        'product_uos_qty': fields.float('Quantity (UOS)', digits_compute=dp.get_precision('Product UoM'), states={'done': [('readonly', True)]}),
-        'product_uos': fields.many2one('product.uom', 'Product UOS', states={'done': [('readonly', True)]}),
+        'product_uos_qty': fields.float('Ordered quantity (UOS)',
+            digits_compute=dp.get_precision('Product UoM'),
+            states={'done': [('readonly', True)]},
+             help="This is the quantity of products from a sales or invoicing "
+                  "point of view. For moves in the state 'done', this is the "
+                  "quantity of products that were actually moved. For other "
+                  "moves, this is the quantity of product that is planned to "
+                  "be moved. Lowering this quantity does not generate a "
+                  "backorder. Changing this quantity on assigned moves affects "
+                  "the product reservation, and should be done with care."),
+        'product_uos': fields.many2one('product.uom', 'Unit of Sale', states={'done': [('readonly', True)]}),
         'product_packaging': fields.many2one('product.packaging', 'Packaging', help="It specifies attributes of packaging like type, quantity of packaging,etc."),
 
         'location_id': fields.many2one('stock.location', 'Source Location', required=True, select=True,states={'done': [('readonly', True)]}, help="Sets a location if you produce at a fixed location. This can be a partner location if you subcontract the manufacturing operations."),