How to Count Records Using search_count in Odoo 16 | search_count() method in Odoo 16 – CBMS Odoo ERP

The search_count() method returns the number of records matching the search domain. This method accepts a search domain as its argument.Syntax: Model.search_count(args)? int #odoo16 #odootutorials Eg: self.search_count([(‘product_tmpl_id’, ‘=’, record.product_tmpl_id.id),(‘active’, ‘=’, True), ])This returns the set of records satisfying the domain conditions given as the arguments inside the model. #odoodevelopment #odoo #odoobeginers Connect With Us: ————————————— […]

Model Constraints SQL Constraints in Odoo 16 | _sql_constraints | Odoo 16 Development Tutorial – CBMS Odoo ERP

Odoo helps to set validations to recordsets with the help of python and model constraints. Here this video, it explains how to add SQL constraints to set validations. They usually are of different types like a unique constraint, check, and Not null. #odoo16 #odoodevelopment #odootutorials Connect With Us: ———————- ➡️Website: ➡️Email: info@cybrosys.com ➡️Twitter: ➡️LinkedIn: ➡️Facebook: […]

How to Define Menu & Actions in Odoo 16 | Odoo 16 Development Tutorial | How to Create Menu in Odoo – CBMS Odoo ERP

Odoo has a flexible way to define actions and menus. In this video, we are discussing about menu creation and window actions while clicking on a particular menu item. #odoo16videos #odootutorials #odootraining Video Chapters 00:00 Introduction 00:23 Menu creation in Odoo 02:44 Actions in Odoo Connect With Us: ———————- ➡️Website: ➡️Email: info@cybrosys.com ➡️Twitter: ➡️LinkedIn: ➡️Facebook: […]

Odoo Development – Server Actions in Odoo 13 – CBMS Odoo ERP

Odoo developement tutorials – Types of Actions in Odoo Server Actions (ir.actions.server) class odoo.addons.base.models.ir_actions.IrActionsServer(pool, cr) Server actions model. Server action work on a base model and offer various type of actions that can be executed automatically, for example using base action rules, of manually, by adding the action in the ‘More’ contextual menu. Since Odoo […]