diff options
| author | Jay (Open ERP) <jvo@tinyerp.com> | 2010-02-08 18:44:47 +0530 |
|---|---|---|
| committer | Jay (Open ERP) <jvo@tinyerp.com> | 2010-02-08 18:44:47 +0530 |
| commit | d81dcdc8cf8a7aab25fbda1de7d2a2ff3bfde909 (patch) | |
| tree | 4794ec22cb858fab255b3dd8d2d5e14f9c4ebb24 /addons | |
| parent | c8bcdda9537cbb5a43955f848009a3eda39ef36b (diff) | |
[FIX] Sale : SOL's subtotal was missign price-accuracy
lp bug: https://launchpad.net/bugs/459027 fixed
bzr revid: jvo@tinyerp.com-20100208131447-je1th6tb1ql1mau3
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/sale/sale.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 263c5f3c233..56e2ac8b880 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -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)]}), |
