When the value of fields is getting None. And no value is assigned to the `field`. So the traceback will be generated. In this commit, we will assign a default value to the field if the field gets a None value. So that it won't get a None value in any case. sentry-4211843089 closes odoo/odoo#123193 X-original-commit: 3e652808305d3ef4674963195f3c7cdf91b37654 Signed-off-by: Julien Castiaux (juc) <juc@odoo.com> Signed-off-by: Archana Vaghasiya (arva) <arva@odoo.com>