The search_count() method returns the number of records matching the search domain. This method accepts a search domain as its arguments. #odootechnicaltutorial Video Contents ————————- 00:15 Introduction 00:16 search_count function use case 00:36 using search_count function to show the number of records Syntax: Model.search_count(args) ? int Eg: self.search_count([(‘product_tmpl_id’, ‘=’, record.product_tmpl_id.id),(‘active’, ‘=’, True), ]) This returns […]
In this video, we are discussing the difference between the search() and browse() function in odoo15. The browse() method is used to return a set of records for the IDs passed as the parameter in the current working model. Video Contents 00:10 Introduction 00:40 Difference Between Search and Browse #odoo15developmentvideos This method accepts a set […]
In this video, we discuss the difference between search() and browse() in odoo and their use cases. #odooorm #ormmethods #odoovideos #Difference #Search #Browse #Odoo #search #browse #Odoo #ORM #Methods