diff --git a/openerp/models.py b/openerp/models.py index 390941db954..cc0a4979bef 100644 --- a/openerp/models.py +++ b/openerp/models.py @@ -907,10 +907,10 @@ class BaseModel(object): if lines2: # merge first line with record's main line for j, val in enumerate(lines2[0]): - if val: + if val or isinstance(val, bool): current[j] = val # check value of current field - if not current[i]: + 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)