diff options
Diffstat (limited to 'odoo')
| -rw-r--r-- | odoo/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/models.py b/odoo/models.py index ff34e09f754..d77c22f4dad 100644 --- a/odoo/models.py +++ b/odoo/models.py @@ -911,7 +911,7 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})): if lines2: # merge first line with record's main line for j, val in enumerate(lines2[0]): - if val or isinstance(val, bool): + if val or isinstance(val, (int, float)): current[j] = val # append the other lines at the end lines += lines2[1:] |
