Hello Nicolas Bessi, I am agree with you that, in sale order line th_weight it is not computed correctly with qty > 1.
So , It has been fixed onlp:~openerp-dev/openobject-addons/trunk- bug-996512-amb branch with following revision no and id. rev no : 6797 rev id : 6797 [email protected] Thanks for the reporting! ** Changed in: openobject-addons Importance: Undecided => Low ** Changed in: openobject-addons Status: New => Fix Committed ** Summary changed: - [6.1] sale order line th_weight is not correct + [trunk / 6.1] sale order line th_weight is not correct -- 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: [trunk / 6.1] sale order line th_weight is not correct Status in OpenERP Addons (modules): Fix Committed 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

