summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-05-05 12:01:22 +0200
committerRaphael Collet <rco@openerp.com>2015-05-05 17:33:16 +0200
commit071152216fe44039f75e821b0cbf31344b66d174 (patch)
treec73bb63fa744a1089d31f27293f5e57995c258f7 /addons/web/static/src/xml/base.xml
parent9d7b6aa67f794172e45630a2849dc559706f8d34 (diff)
[FIX] fields: when computing digits, use an existing cursor instead of a new one
The computation of property `digits` was creating a new cursor to call the function that determines digits. This technique is fragile because the current cursor may have pending updates that the new cursor will not see. The issue was discovered by Cécile Tonglet (cto). She observed an infinite loop during a database migration, and a traceback inside the loop showed the presence of the `digits` property. This change fixes the infinite loop issue.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions