odoo technical video
Video Tutorial

Search & Browse in Odoo 15

MAR 22,2022
Description:
In this Video, we are discussing the difference between 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. This method accepts a set of IDs and returns the record sets corresponding to that IDs.Syntax: Model.browse([ids]) ? records.
The search() method is used to search records within the given model based on the search domain passed as the argument. This method accepts a search domain to check for matching conditions inside the model and returns the recordsets.Syntax: Model.search(args[, offset=0][, limit=None][, order=None][, count=False]) -> records
If no argument is provided as the search domain, all the records are matched and returned. The offset defines the number of records to be ignored, limit defines the maximum number of records to be returned, order defines the sort string and count if set as true only returns the count of records matching the domain condition.

odoo videos odoo development odoo tutorial odoo 15

whatsapp_icon
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