A singleton error refers to an issue that occurs when attempting to create multiple instances of a class or object that is designed to have only one instance throughout the lifetime of an application. #odoo16 #odoodevelopment Singletons are commonly used in software development to ensure that there is only one instance of a particular object […]
In Odoo error/warning messages are used to prevent the execution of a running program. This video discusses how to show an error or warning message in Odoo16. In Odoo there are different types of exceptions. Some of them are Validation Error Access Denied Access Error User Error #odoodevelopment #odoodeveloper #odooerrors Connect With Us: —————— ➡️ […]
Odoo api.onchange decorator is used to invoke a method when a field’s value changed. It can be used to validate the data or to trigger an action. Video Contents 00:15 Introduction 00:45 Define an onchange function The function of this decorator will be called when the field value changes. Moreover, it supports only single field […]
In certain situations, there will be a need to prevent the program from continuing its execution. We can do this by showing up an error message by raising exceptions. In addition to the exceptions available in python, Odoo provides a few more exceptions which include: 1. access denied 2. access error 3. cache miss 4. […]
In some cases, based on conditions or values we want to show alert messages to users to show that. In odoo, we can use alert messages in the view xml based on the conditions. This video shows how to show such alert messages on form views. #odoocourse #odoodevelopment #odoo #odoo14 #odootechnical #odoo14technical #Set #Alert #Messages […]