Rifakat (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-576461-rha into 
lp:openobject-addons/6.1.

Requested reviews:
  Priyesh (OpenERP) (pso-openerp)
  Naresh(OpenERP) (nch-openerp)
Related bugs:
  Bug #1019324 in OpenERP Addons: "Wrong "Amount currency" on account.move.line 
when "Group invoice line" is active"
  https://bugs.launchpad.net/openobject-addons/+bug/1019324

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576461-rha/+merge/113152

Hello,

'Quantity' and 'Amount Currency' in the journal items show wrong value while we 
have journal 
'Group Invoice Lines' enable.

Try steps to reproduce it from lp:1019324 

Kindly review this fix.(Courtesy to Alexis de Lattre)

Regards,
Rifakat Haradwala
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576461-rha/+merge/113152
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-576461-rha.
=== modified file 'account/account_invoice.py'
--- account/account_invoice.py	2012-03-29 15:43:31 +0000
+++ account/account_invoice.py	2012-07-03 06:07:24 +0000
@@ -789,6 +789,8 @@
                     line2[tmp]['credit'] = (am < 0) and -am or 0.0
                     line2[tmp]['tax_amount'] += l['tax_amount']
                     line2[tmp]['analytic_lines'] += l['analytic_lines']
+                    line2[tmp]['amount_currency'] += l['amount_currency']
+                    line2[tmp]['quantity'] += l['quantity']
                 else:
                     line2[tmp] = l
             line = []

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to