Amit Dodiya (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.0-opw-55403-ado into
lp:openobject-addons/6.0.
Requested reviews:
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-55403-ado/+merge/87006
Hello,
"[FIX] Precision of Average Unit Cost in Picking Processing "
The cost field of process wizard in stock picking is not containing the decimal
precision.
Thanks,
Amit
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-55403-ado/+merge/87006
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.0-opw-55403-ado.
=== modified file 'stock/wizard/stock_partial_move.py'
--- stock/wizard/stock_partial_move.py 2011-06-29 10:41:59 +0000
+++ stock/wizard/stock_partial_move.py 2011-12-28 11:47:24 +0000
@@ -21,6 +21,7 @@
from osv import fields, osv
from tools.translate import _
+import decimal_precision as dp
import time
@@ -34,7 +35,7 @@
'prodlot_id' : fields.many2one('stock.production.lot', 'Production Lot'),
'move_id' : fields.many2one('stock.move', "Move"),
'wizard_id' : fields.many2one('stock.partial.move', string="Wizard"),
- 'cost' : fields.float("Cost", help="Unit Cost for this product line"),
+ 'cost' : fields.float("Cost", help="Unit Cost for this product line", digits_compute= dp.get_precision('Purchase Price')),
'currency' : fields.many2one('res.currency', string="Currency", help="Currency in which Unit cost is expressed"),
}
_______________________________________________
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