Accessing records through database queries

Odoo ORM has limited methods and sometimes it is difficult to fetch certain data from the ORM. In these cases, you can fetch data in the desired format and you need to perform an operation on the data to get a certain result. Due to this, it becomes slower. To handle these special cases, you can execute SQL queries in the database. In this recipe, we will explore how you can run SQL queries from Odoo.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset