diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2021-05-18 07:58:47 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2021-05-18 08:01:48 +0000 |
| commit | 7d956af5106b9efe22b602af007088ce8c2c16ce (patch) | |
| tree | 4822d826ebc56fec426b7a0ab48a2cca6b125192 /addons/web/static/src/xml/debug.xml | |
| parent | 3e4a541277828ec9cd0bd97587c6d87dc91ccf08 (diff) | |
[FIX] fleet: new contract no vehicle no error
If you set the type (cost_subtype_id) of a new contract
(fleet.vehicle.log.contract) before setting vehicle_id you got an error:
name = record.cost_subtype_id.name + ' ' + name
TypeError: can only concatenate str (not "bool") to str
because vehicle name was False.
opw-2527268
closes odoo/odoo#70929
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/debug.xml')
0 files changed, 0 insertions, 0 deletions
