diff --git a/proteus/__init__.py b/proteus/__init__.py index 812e0ebb9b..2fc45289d1 100644 --- a/proteus/__init__.py +++ b/proteus/__init__.py @@ -921,7 +921,7 @@ class Model(object): for record in to_remove: # remove without signal list.remove(getattr(self, field), record) - if value and value.get('add') or value.get('update'): + if value and (value.get('add') or value.get('update')): for index, vals in value.get('add', []): relation = Model.get(self._fields[field]['relation'], self._config)