24c7cc856f71d07f82fa9a560b7912e76fbbf58e
Before this commit, when in a call on another device and then calling from another device, there might be the following traceback: ``` TypeError: Cannot read properties of undefined (reading 'lastObservedRecords') at ModelManager.removeListener at RelationSet.delete at RelationSet.clear at ModelField._setRelationReplace at ModelField.parseAndExecuteCommands at ModelManager._update at Listener.onChange at ModelManager._notifyListenersInUpdateCycle at ModelManager._flushUpdateCycle at ModelManager.update ``` This is caused by removing a non-existent listener on a field, very likely related to a relational field from the call being terminated. This commit fixes the issue by silently skipping removal of listener when it's undefined. Task-3241562 closes odoo/odoo#116192 X-original-commit: 24af22187ce8401d925edb1dda02652f993c7394 Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%