Mayur Maheshwari(OpenErp) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-794817-mma into 
lp:openobject-addons.

Requested reviews:
  Rucha (Open ERP) (rpa-openerp)
Related bugs:
  Bug #794817 in OpenERP Addons: "Product weight decimal accuracy hard coded in 
form"
  https://bugs.launchpad.net/openobject-addons/+bug/794817

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-794817-mma/+merge/64360
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-794817-mma/+merge/64360
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-794817-mma.
=== modified file 'product/product.py'
--- product/product.py	2011-05-31 22:09:51 +0000
+++ product/product.py	2011-06-13 05:31:14 +0000
@@ -276,8 +276,8 @@
         'list_price': fields.float('Sale Price', digits_compute=dp.get_precision('Sale Price'), help="Base price for computing the customer price. Sometimes called the catalog price."),
         'standard_price': fields.float('Cost Price', required=True, digits_compute=dp.get_precision('Purchase Price'), help="Product's cost for accounting stock valuation. It is the base price for the supplier price."),
         'volume': fields.float('Volume', help="The volume in m3."),
-        'weight': fields.float('Gross weight', help="The gross weight in Kg."),
-        'weight_net': fields.float('Net weight', help="The net weight in Kg."),
+        'weight': fields.float('Gross weight', digits_compute=dp.get_precision('Stock Weight'), help="The gross weight in Kg."),
+        'weight_net': fields.float('Net weight', digits_compute=dp.get_precision('Stock Weight'), help="The net weight in Kg."),
         'cost_method': fields.selection([('standard','Standard Price'), ('average','Average Price')], 'Costing Method', required=True,
             help="Standard Price: the cost price is fixed and recomputed periodically (usually at the end of the year), Average Price: the cost price is recomputed at each reception of products."),
         'warranty': fields.float('Warranty (months)'),

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to