diff options
Diffstat (limited to 'odoo/models.py')
| -rw-r--r-- | odoo/models.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/odoo/models.py b/odoo/models.py index d41abe52313..374addedd74 100644 --- a/odoo/models.py +++ b/odoo/models.py @@ -697,14 +697,8 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})): for j, val in enumerate(lines2[0]): if val or isinstance(val, bool): current[j] = val - # check value of current field - if not current[i] and not isinstance(current[i], bool): - # assign xml_ids, and forget about remaining lines - xml_ids = [item[1] for item in value.name_get()] - current[i] = ','.join(xml_ids) - else: - # append the other lines at the end - lines += lines2[1:] + # append the other lines at the end + lines += lines2[1:] else: current[i] = False |
