from osv import fields, osv
from tools.translate import _
+import decimal_precision as dp
import time
'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"),
}