** Branch linked: lp:~openerp-dev/openobject-addons/trunk-bug-996512-amb
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/996512
Title:
[6.1] sale order line th_weight is not correct
Status in OpenERP Addons (modules):
New
Bug description:
There is a little error in sale order line th_weight it is not computed
correctly with qty > 1
It seems that a parenthesis is missing. But is also dot not take in account
SoLine UOS but and use product coef.
The FixME should be Fixed
=== modified file 'sale/sale.py'
--- sale/sale.py 2012-02-16 16:52:53 +0000
+++ sale/sale.py 2012-05-08 11:53:37 +0000
@@ -1127,7 +1127,7 @@
try:
value.update({
'product_uom_qty': product_uos_qty / product.uos_coeff,
- 'th_weight': product_uos_qty / product.uos_coeff *
product.weight
+ 'th_weight': (product_uos_qty / product.uos_coeff) *
product.weight
})
except ZeroDivisionError:
pass
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/996512/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help : https://help.launchpad.net/ListHelp