[FIX] Sale : SOL's subtotal was missign price-accuracy

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

bzr revid: jvo@tinyerp.com-20100208131447-je1th6tb1ql1mau3
This commit is contained in:
Jay (Open ERP) 2010-02-08 18:44:47 +05:30
parent c8bcdda953
commit d81dcdc8cf
1 changed files with 1 additions and 1 deletions

View File

@ -758,7 +758,7 @@ class sale_order_line(osv.osv):
'procurement_id': fields.many2one('mrp.procurement', 'Procurement'),
'price_unit': fields.float('Unit Price', required=True, digits=(16, int(config['price_accuracy'])), readonly=True, states={'draft':[('readonly',False)]}),
'price_net': fields.function(_amount_line_net, method=True, string='Net Price', digits=(16, int(config['price_accuracy']))),
'price_subtotal': fields.function(_amount_line, method=True, string='Subtotal'),
'price_subtotal': fields.function(_amount_line, method=True, string='Subtotal', digits=(16, int(config['price_accuracy']))),
'tax_id': fields.many2many('account.tax', 'sale_order_tax', 'order_line_id', 'tax_id', 'Taxes', readonly=True, states={'draft':[('readonly',False)]}),
'type': fields.selection([('make_to_stock', 'from stock'), ('make_to_order', 'on order')], 'Procure Method', required=True, readonly=True, states={'draft':[('readonly',False)]}),
'property_ids': fields.many2many('mrp.property', 'sale_order_line_property_rel', 'order_id', 'property_id', 'Properties', readonly=True, states={'draft':[('readonly',False)]}),