> i disaprove. i think we already discussed that Mustufa: you simply need to put
> a recursion check in constraint.
> 
> For example
> 
> for id in ids:
>     if type=='account_report' and account_report_id in self._get_children(cr,
> uid, id):
>         return False
> return True


but, after some tests, it appears that you are right and that the computation 
is recursive for some reasons. So the constraint is necessary but we need also 
to fix the glitch in the code. And, for that, your code is ok for me
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-account_report-balance_field_fix-uco/+merge/74344
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-account_report-uco.

_______________________________________________
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