[FIX][stock] : decimal precision wrong when invoice a purchaseorder with invoicing Based on incoming shipments

lp bug: https://launchpad.net/bugs/1105075 fixed

bzr revid: dhs@tinyerp.com-20130201132648-znpkyatl037st2y7
This commit is contained in:
Dhruti Shastri
2013-02-01 18:56:48 +05:30
parent 797fe6f7f1
commit 1609f18060
+1 -1
View File
@@ -1646,7 +1646,7 @@ class stock_move(osv.osv):
"* Waiting Availability: This state is reached when the procurement resolution is not straight forward. It may need the scheduler to run, a component to me manufactured...\n"\
"* Available: When products are reserved, it is set to \'Available\'.\n"\
"* Done: When the shipment is processed, the state is \'Done\'."),
'price_unit': fields.float('Unit Price', digits_compute= dp.get_precision('Account'), help="Technical field used to record the product cost set by the user during a picking confirmation (when average price costing method is used)"),
'price_unit': fields.float('Unit Price', digits_compute= dp.get_precision('Product Price'), help="Technical field used to record the product cost set by the user during a picking confirmation (when average price costing method is used)"),
'price_currency_id': fields.many2one('res.currency', 'Currency for average price', help="Technical field used to record the currency chosen by the user during a picking confirmation (when average price costing method is used)"),
'company_id': fields.many2one('res.company', 'Company', required=True, select=True),
'backorder_id': fields.related('picking_id','backorder_id',type='many2one', relation="stock.picking", string="Back Order of", select=True),