summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2014-08-13 10:44:05 +0200
committerOlivier Dony <odo@openerp.com>2014-08-13 10:44:05 +0200
commitbd3df7bfa1a8c8744bafeb00febdf8016a395ce3 (patch)
tree10153fe561892c1074e7af767216b0207f1773fb /addons/analytic_user_function/analytic_user_function.py
parent1644708fe8e77d7527e9cfc50fdf2e28c55bf111 (diff)
[FIX] orm field (new api): preserve empty values instead of folding to False
The new API introduced a small behavior change where empty string values written or stored in a char/text field were replaced by False (i.e. as if they were NULL). This was done to mimic the web client behavior, but introduces a very surprising effect: a.name = ""; assert a.name == ""; would fail. It would also require many more tests in the code when reading existing required values from the database, as they could still be False when an empty string value had previously been stored, for some reason.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions