diff options
| author | wan <wan@odoo.com> | 2019-08-19 11:34:40 +0000 |
|---|---|---|
| committer | wan <wan@odoo.com> | 2019-08-19 11:35:40 +0000 |
| commit | 9f22d7a445cfbd4917c31344897ddd68afc26748 (patch) | |
| tree | 9845db63dda12f981f785366f0a42dff86b008c2 /addons/web/static/src/js/views/basic | |
| parent | 6f55fd65da8c50d36ca97654a920fb075076f125 (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
