summaryrefslogtreecommitdiff
path: root/odoo/models.py
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2020-07-02 08:56:08 +0000
committerRaphael Collet <rco@odoo.com>2020-07-08 11:58:33 +0000
commitdd8a6b8a8299afaac699d04f2ed886ff85c685fe (patch)
tree6352a86a099bdcf8e0252364c0f0a670018feb9f /odoo/models.py
parent04250d80163bb785b674b85fe24354c9d999efea (diff)
[ADD] test_new_api: tests on queries made by create with computed fields
closes odoo/odoo#54209 Related: odoo/upgrade#1464 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'odoo/models.py')
-rw-r--r--odoo/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/models.py b/odoo/models.py
index 4988bf4eada..99a45c0de00 100644
--- a/odoo/models.py
+++ b/odoo/models.py
@@ -3633,7 +3633,7 @@ Record ids: %(records)s
# determine SQL values
columns = [] # list of (column_name, format, value)
- for name, val in vals.items():
+ for name, val in sorted(vals.items()):
if self._log_access and name in LOG_ACCESS_COLUMNS and not val:
continue
field = self._fields[name]