diff --git a/openerp/models.py b/openerp/models.py index 0b966bd2e36..f96bfae4954 100644 --- a/openerp/models.py +++ b/openerp/models.py @@ -2246,7 +2246,7 @@ class BaseModel(object): # if val is a many2one, just write the ID if type(val) == tuple: val = val[0] - if val is not False: + if f._type == 'boolean' or val is not False: cr.execute(update_query, (ss[1](val), key)) @api.model