Purnendu Singh (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-791452-psi into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #791452 in OpenERP Addons: "Incorrect balance sheet due to the changes in 
m2o field of osv.memory"
  https://bugs.launchpad.net/openobject-addons/+bug/791452

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-791452-psi/+merge/63647

Hello,

Fixes: https://bugs.launchpad.net/openobject-addons/+bug/791452
Description: Incorrect balance sheet due to the changes in m2o field of 
osv.memory

Due to the improvement in m2o field of osv.memory Reserve & Profit/Loss account 
line is not added in Balance Sheet report.

Thanks,
Purnendu Singh
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-791452-psi/+merge/63647
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-791452-psi.
=== modified file 'account/report/account_balance_sheet.py'
--- account/report/account_balance_sheet.py	2011-05-02 18:46:43 +0000
+++ account/report/account_balance_sheet.py	2011-06-07 07:06:39 +0000
@@ -151,7 +151,7 @@
                             accounts_temp.append(account_dict)
                     else:
                         accounts_temp.append(account_dict)
-                    if account.id == data['form']['reserve_account_id']:
+                    if account.id == data['form']['reserve_account_id'][0]:
                         pl_dict['level'] = account['level'] + 1
                         accounts_temp.append(pl_dict)
 

_______________________________________________
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