If we try to compute credit,debit,balance of the account which has no children 
+ no moves + inactive.

It times it will return blank list from _get_children_and_consol(...) method 
(It does not add its own id also because account is not active).

so such situation assigning its own id in compute method solve the problem.



-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-728417-ara/+merge/52660
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-728417-ara.

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

Reply via email to