Odoo Services by Deviati Nur Istiqomah Nov 7, 2022 Services None [1] ** Services are long lived pieces of code that provide a feature. They may be imported by components (with useService ) or by other services. Also, they can declare a set of depende... Read more
Odoo Registries by Deviati Nur Istiqomah Nov 7, 2022 Registries None [1] ** Registries are (ordered) key/value maps. They are the main web client extension points: many features provided by the Odoo javascript framework simply look up into a registry wh... Read more
Odoo Owl Components by Deviati Nur Istiqomah Nov 7, 2022 Owl Components None [1] ** The Odoo Javascript framework uses a custom component framework called Owl. It is a declarative component system, loosely inspired by Vue and React. Components are defined u... Read more
Odoo Javascript Modules by Deviati Nur Istiqomah Nov 7, 2022 Javascript Modules None [1] ** Odoo supports three different kinds of javascript files: plain javascript files [2] (no module system), native javascript module [3] . Odoo modules [4] (using a custom... Read more
Odoo Assets by Deviati Nur Istiqomah Nov 7, 2022 Assets None [1] ** Managing assets in Odoo is not as straightforward as it is in some other apps. One of the reasons is that we have a variety of situations where some, but not all of the assets are r... Read more
Odoo Framework Overview by Deviati Nur Istiqomah Nov 7, 2022 Framework Overview None [1] ** Introduction None [2] ** The Odoo Javascript framework is a set of features/building blocks provided by the web/ addon to help build odoo applications running in ... Read more
Odoo Mixins and Useful Classes by Deviati Nur Istiqomah Nov 7, 2022 Mixins and Useful Classes None [1] ** Odoo implements some useful classes and mixins that make it easy for you to add often-used behaviours on your objects. This guide will details most of them, with ... Read more
Odoo Web Controllers by Deviati Nur Istiqomah Nov 7, 2022 Web Controllers None [1] ** Controllers None [2] ** Controllers need to provide extensibility, much like Model [3] , but can’t use the same mechanism as the pre-requisites (a database with loaded mod... Read more
Testing Odoo by Deviati Nur Istiqomah Nov 7, 2022 Testing Odoo None [1] ** There are many ways to test an application. In Odoo, we have three kinds of tests Python unit tests (see Testing Python code [2] ): useful for testing model business logic JS... Read more
Odoo Performance by Deviati Nur Istiqomah Nov 7, 2022 Performance None [1] ** Profiling None [2] ** Profiling is about analysing the execution of a program and measure aggregated data. These data can be the elapsed time for each function, the executed SQ... Read more
Security in Odoo by Deviati Nur Istiqomah Nov 7, 2022 Security in Odoo None [1] ** Aside from manually managing access using custom code, Odoo provides two main data-driven mechanisms to manage or restrict access to data. Both mechanisms are linked to sp... Read more
Odoo QWeb Reports by Deviati Nur Istiqomah Nov 7, 2022 QWeb Reports None [1] ** Reports are written in HTML/QWeb, like website views in Odoo. You can use the usual QWeb control flow tools [2] . The PDF rendering itself is performed by wkhtmltopdf [3] . ... Read more