From a6a15c7cc507a8fbcfe41f9155edf14fc6a73e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 15 Aug 2012 00:21:50 +0200 Subject: [PATCH] on_change_value needs to have id Client sent id in values of one2many lines to allow update of them. --- proteus/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/proteus/__init__.py b/proteus/__init__.py index cba74a45b2..9039085a83 100644 --- a/proteus/__init__.py +++ b/proteus/__init__.py @@ -697,7 +697,6 @@ class Model(object): def _get_on_change_value(self): values = self._get_eval() - del values['id'] for field, definition in self._fields.iteritems(): if definition['type'] == 'one2many': values[field] = [x._get_on_change_value()