summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorwan <wan@odoo.com>2019-08-19 11:34:40 +0000
committerwan <wan@odoo.com>2019-08-19 11:35:40 +0000
commit9f22d7a445cfbd4917c31344897ddd68afc26748 (patch)
tree9845db63dda12f981f785366f0a42dff86b008c2 /addons/web/static/src/js/views/basic
parent6f55fd65da8c50d36ca97654a920fb075076f125 (diff)
[FIX] base: same vat with empty string vat
If partner.vat is an empty string, python evaluates it as falsy and doesn't check the remaining of the line. This makes the framework to send ["", ""] as values for the many2one to the browser instead of false. By forcing to have True or False, this is not a problem anymore as bool() will be False, and False will result in the correct value in the read. closes odoo/odoo#35807 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions