Wednesday, June 18, 2025
1 change · saas-18.3
Enhancements to existing features
The web interface now allows the warning shown when editing properties to be customized by related apps. This supports clearer messages for asset users when an asset has no associated model, avoiding confusing text such as “Model undefined.”
Original PR description
When the button 'Add Properties' is clicked in an asset without an asset model associated, a warning is raised. The warning message is unclear in this case: "Oops! You cannot edit the Model undefined". This commit moves the warning message to the method `_propertyEditWarningText()`, which can then be extended in account_assets in odoo/enterprise#87807 task-4822091 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr