[TEST] attempt to detect what the hell that crazy bug is coming from

bzr revid: qdp-launchpad@openerp.com-20121018072733-78g195u6yeq0m7jj
This commit is contained in:
Quentin (OpenERP) 2012-10-18 09:27:33 +02:00
parent ce552adba0
commit ece82902a4
1 changed files with 1 additions and 2 deletions

View File

@ -4358,8 +4358,7 @@ class BaseModel(object):
upd1 = upd1 + ',' + self._columns[field]._symbol_set[0]
upd2.append(self._columns[field]._symbol_set[1](vals[field]))
else:
if not isinstance(self._columns[field], fields.related):
upd_todo.append(field)
upd_todo.append(field)
if field in self._columns \
and hasattr(self._columns[field], 'selection') \
and vals[field]: