odoo technical video
Video Tutorial

How to Count Records Using search_count in Odoo 16

OCT 4,2023

Description:

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

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.

odoo videos odoo development odoo tutorial odoo 16

whatsapp
location

Calicut

Cybrosys Technologies Pvt. Ltd.
Neospace, Kinfra Techno Park
Kakkancherry, Calicut
Kerala, India - 673635

location

Kochi

Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, India - 682030.

location

Bangalore

Cybrosys Techno Solutions
The Estate, 8th Floor,
Dickenson Road,
Bangalore, India - 560042

Send Us A Message