diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2019-12-10 15:52:57 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2019-12-10 15:57:17 +0000 |
| commit | 76e36be45f5a17b9b708b548d59b21f30d317d21 (patch) | |
| tree | 0adbdc6e4761238b1d57cd7a6ad4208ea6035b34 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | f21b696c6e837c3807168ced990a28f1d51b87e9 (diff) | |
[FIX] product: no default_code empty string
Currently, empty strings and False have different meaning when assigning
a Char or Text field with ORM methods.
So avoid setting empty string on `default_code`.
opw-2151849
closes #41662
closes odoo/odoo#41674
X-original-commit: d038cc1a0a6e1d939318763aa9dba48aa1eafcf5
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
