openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #03101
[Merge] lp:~openerp-dev/openobject-client-web/trunk-bug-718552-sma into lp:openobject-client-web
Sananaz (Open ERP) has proposed merging lp:~openerp-dev/openobject-client-web/trunk-bug-718552-sma into lp:openobject-client-web.
Requested reviews:
OpenERP SA's Web Client R&D (openerp-dev-web)
Related bugs:
#718552 [6.0.1] Error on parsing of active_id in domain on act_windows
https://bugs.launchpad.net/bugs/718552
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client-web/trunk-bug-718552-sma/+merge/50099
--
https://code.launchpad.net/~openerp-dev/openobject-client-web/trunk-bug-718552-sma/+merge/50099
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-client-web/trunk-bug-718552-sma.
=== modified file 'addons/openerp/utils/tools.py'
--- addons/openerp/utils/tools.py 2011-02-10 16:09:23 +0000
+++ addons/openerp/utils/tools.py 2011-02-17 06:33:00 +0000
@@ -60,7 +60,7 @@
if isinstance(value, list):
for index in range(len(value)):
domain_element = value[index]
- if not (isinstance(domain_element, tuple) and domain_element[2] == 'active_id'):
+ if not (isinstance(domain_element, tuple) and domain_element[2] == 'active_id' or ['active_id']):
continue
value[index] = (domain_element[0], domain_element[1], context['active_id'])
elif isinstance(value, dict):
Follow ups