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>