Monday, April 18, 2022
1 change · master
Miscellaneous changes
This commit is to prevent "AttributeError: 'NoneType' object has no attribute '_name'" When an xmlid does not exists, the _xmlid_to_obj returns None and the condition was failing when trying to retrive the model name. Closes odoo/odoo#88273 Forward-Port-Of: odoo/odoo#88392
Original PR description
This commit is to prevent "AttributeError: 'NoneType' object has no attribute '_name'" When an xmlid does not exists, the _xmlid_to_obj returns None and the condition was failing when trying to retrive the model name. Closes odoo/odoo#88273 Forward-Port-Of: odoo/odoo#88392