diff --git a/openerp/models.py b/openerp/models.py index e2b05b02458..f6128f9435f 100644 --- a/openerp/models.py +++ b/openerp/models.py @@ -4176,7 +4176,7 @@ class BaseModel(object): # invalidate and mark new-style fields to recompute; do this before # setting other fields, because it can require the value of computed # fields, e.g., a one2many checking constraints on records - recs.modified([u[0] for u in updates]) + recs.modified(self._fields) # call the 'set' method of fields which are not classic_write upd_todo.sort(lambda x, y: self._columns[x].priority-self._columns[y].priority)