2 followers
馃憢 Hey there! Always expanding my tech knowledge, I'm a firm believer in the power of continuous learning and pushing my limits.
Temporarily Change the Model's Environment 路 Model.with_env() The with_env() method temporarily changes the environment of the current model to the new...
How to Run SQL Queries within Odoo Modules 路 How do I execute an SQL query inside an Odoo module? Steps: cr = self.env.cr You can use the self.env.cr...
Unlocking Odoo's Contextual Power: Environment and Predefined Functions 路 The environment in Odoo is an object that stores various contextual data used...
Retrieving Data Efficiently: Using read() in Odoo 路 This method allows you to read data from the database. It takes a list of fields as input and returns...
Search Made Easy: A Guide to the search() Method 路 The search() Method allows you to find records that match specific criteria. It enables you to search...
Boost Efficiency: Find and Read Records Instantly 路 It combines the functionality of the search and read functions, allowing you to perform a search and...