Reviewers: ,


Please review this at http://codereview.tryton.org/351003/

Affected files:
  M trytond/model/model.py


Index: trytond/model/model.py
===================================================================

--- a/trytond/model/model.py
+++ b/trytond/model/model.py
@@ -396,7 +396,7 @@
                 if self._columns[field].on_change:
                     args = {}
                     for arg in self._columns[field].on_change:
-                        args[arg] = value.get(arg, False)
+                        args[arg] = value.get(arg, None)
                         if arg in self._columns \
                                 and self._columns[arg]._type == 'many2one':
                             if isinstance(args[arg], (list, tuple)):



--
[email protected] mailing list

Reply via email to