SlideShare a Scribd company logo
How to Count Records Using
search_count in Odoo 17
Enterprise
Introduction
Enterprise
In most of the Odoo form views, we can see smart buttons with
the count of related records.
So in this slide, let’s check how we can create such smart buttons
in our custom modules.
Here in this slide, we are using a custom insurance module for
demonstration.
Enterprise
We are using search_count for showing the count of partners
who have the insurance.
Firstly, we need to add a new field to store the count in the
model.
Enterprise
Then we can add the view for the field insurance_count.
Enterprise
Next we are adding the compute function for computing the
count of partners and the action for the smart button
partners.
Enterprise
After adding these code snippets, we can see the smart
button will appear in the insurance form view.
For More Info.
Check our company website for related blogs
and Odoo book.
Check our YouTube channel for
functional and technical videos in Odoo.
Enterprise
www.cybrosys.com
Ad

More Related Content

Similar to How to Count Records Using search_count in Odoo 17 (20)

Overview Of Odoo 13 Features
Overview Of Odoo 13 FeaturesOverview Of Odoo 13 Features
Overview Of Odoo 13 Features
Varsha Technaureus
 
New Employee Login Screen in Odoo 18 POS
New Employee Login Screen in Odoo 18 POSNew Employee Login Screen in Odoo 18 POS
New Employee Login Screen in Odoo 18 POS
Celine George
 
How to Add Search Feature in Portal in Odoo 17
How to Add Search Feature in Portal in Odoo 17How to Add Search Feature in Portal in Odoo 17
How to Add Search Feature in Portal in Odoo 17
Celine George
 
How to Set Up a One-to-Many Relationship Between Two Models in Odoo 17
How to Set Up a One-to-Many Relationship Between Two Models in Odoo 17How to Set Up a One-to-Many Relationship Between Two Models in Odoo 17
How to Set Up a One-to-Many Relationship Between Two Models in Odoo 17
Celine George
 
Generate a Code on Ticket in POS Odoo 17
Generate a Code on Ticket in  POS Odoo 17Generate a Code on Ticket in  POS Odoo 17
Generate a Code on Ticket in POS Odoo 17
Celine George
 
Customer LOT_Serial Number Report in Odoo 18
Customer LOT_Serial Number Report in Odoo 18Customer LOT_Serial Number Report in Odoo 18
Customer LOT_Serial Number Report in Odoo 18
Celine George
 
How to Empty a Many2Many Field in Odoo 17
How to Empty a Many2Many Field in Odoo 17How to Empty a Many2Many Field in Odoo 17
How to Empty a Many2Many Field in Odoo 17
Celine George
 
How to hide the buttons on the POS screen in Odoo 17
How to hide the buttons on the POS screen in Odoo 17How to hide the buttons on the POS screen in Odoo 17
How to hide the buttons on the POS screen in Odoo 17
Celine George
 
Allocation of invoice discounts in Odoo 17
Allocation of invoice discounts in Odoo 17Allocation of invoice discounts in Odoo 17
Allocation of invoice discounts in Odoo 17
Celine George
 
How to Generate Customer Statements Report in Odoo 18
How to Generate Customer Statements Report in Odoo 18How to Generate Customer Statements Report in Odoo 18
How to Generate Customer Statements Report in Odoo 18
Celine George
 
HTML Editor in Odoo 18 - Odoo 18 Technical Slides
HTML Editor in Odoo 18 - Odoo 18 Technical SlidesHTML Editor in Odoo 18 - Odoo 18 Technical Slides
HTML Editor in Odoo 18 - Odoo 18 Technical Slides
Celine George
 
How to Call Python Function from Menu Item
How to Call Python Function from Menu ItemHow to Call Python Function from Menu Item
How to Call Python Function from Menu Item
Celine George
 
Insert pipeline into article_ spreadsheeteet.pptx
Insert pipeline into article_ spreadsheeteet.pptxInsert pipeline into article_ spreadsheeteet.pptx
Insert pipeline into article_ spreadsheeteet.pptx
Celine George
 
How to Manage Comparison Price in Odoo 18 Website
How to Manage Comparison Price in Odoo 18 WebsiteHow to Manage Comparison Price in Odoo 18 Website
How to Manage Comparison Price in Odoo 18 Website
Celine George
 
How to Configure Pricer Store in Odoo 18 POS
How to Configure Pricer Store in Odoo 18 POSHow to Configure Pricer Store in Odoo 18 POS
How to Configure Pricer Store in Odoo 18 POS
Celine George
 
How to Manage Margin & Cost in Odoo 17 POS
How to Manage Margin & Cost in Odoo 17 POSHow to Manage Margin & Cost in Odoo 17 POS
How to Manage Margin & Cost in Odoo 17 POS
Celine George
 
How to Register Payment Against Draft Invoice in Odoo 18
How to Register Payment Against Draft Invoice in Odoo 18How to Register Payment Against Draft Invoice in Odoo 18
How to Register Payment Against Draft Invoice in Odoo 18
Celine George
 
How to Configure Subcontracting in Odoo 17 Manufacturing App
How to Configure Subcontracting in Odoo 17 Manufacturing AppHow to Configure Subcontracting in Odoo 17 Manufacturing App
How to Configure Subcontracting in Odoo 17 Manufacturing App
Celine George
 
How to Configure Subcontracting in Odoo 17 Manufacturing App
How to Configure Subcontracting in Odoo 17 Manufacturing AppHow to Configure Subcontracting in Odoo 17 Manufacturing App
How to Configure Subcontracting in Odoo 17 Manufacturing App
Celine George
 
How to Use Log Access Attribute in Odoo 17
How to Use Log Access Attribute in Odoo 17How to Use Log Access Attribute in Odoo 17
How to Use Log Access Attribute in Odoo 17
Celine George
 
New Employee Login Screen in Odoo 18 POS
New Employee Login Screen in Odoo 18 POSNew Employee Login Screen in Odoo 18 POS
New Employee Login Screen in Odoo 18 POS
Celine George
 
How to Add Search Feature in Portal in Odoo 17
How to Add Search Feature in Portal in Odoo 17How to Add Search Feature in Portal in Odoo 17
How to Add Search Feature in Portal in Odoo 17
Celine George
 
How to Set Up a One-to-Many Relationship Between Two Models in Odoo 17
How to Set Up a One-to-Many Relationship Between Two Models in Odoo 17How to Set Up a One-to-Many Relationship Between Two Models in Odoo 17
How to Set Up a One-to-Many Relationship Between Two Models in Odoo 17
Celine George
 
Generate a Code on Ticket in POS Odoo 17
Generate a Code on Ticket in  POS Odoo 17Generate a Code on Ticket in  POS Odoo 17
Generate a Code on Ticket in POS Odoo 17
Celine George
 
Customer LOT_Serial Number Report in Odoo 18
Customer LOT_Serial Number Report in Odoo 18Customer LOT_Serial Number Report in Odoo 18
Customer LOT_Serial Number Report in Odoo 18
Celine George
 
How to Empty a Many2Many Field in Odoo 17
How to Empty a Many2Many Field in Odoo 17How to Empty a Many2Many Field in Odoo 17
How to Empty a Many2Many Field in Odoo 17
Celine George
 
How to hide the buttons on the POS screen in Odoo 17
How to hide the buttons on the POS screen in Odoo 17How to hide the buttons on the POS screen in Odoo 17
How to hide the buttons on the POS screen in Odoo 17
Celine George
 
Allocation of invoice discounts in Odoo 17
Allocation of invoice discounts in Odoo 17Allocation of invoice discounts in Odoo 17
Allocation of invoice discounts in Odoo 17
Celine George
 
How to Generate Customer Statements Report in Odoo 18
How to Generate Customer Statements Report in Odoo 18How to Generate Customer Statements Report in Odoo 18
How to Generate Customer Statements Report in Odoo 18
Celine George
 
HTML Editor in Odoo 18 - Odoo 18 Technical Slides
HTML Editor in Odoo 18 - Odoo 18 Technical SlidesHTML Editor in Odoo 18 - Odoo 18 Technical Slides
HTML Editor in Odoo 18 - Odoo 18 Technical Slides
Celine George
 
How to Call Python Function from Menu Item
How to Call Python Function from Menu ItemHow to Call Python Function from Menu Item
How to Call Python Function from Menu Item
Celine George
 
Insert pipeline into article_ spreadsheeteet.pptx
Insert pipeline into article_ spreadsheeteet.pptxInsert pipeline into article_ spreadsheeteet.pptx
Insert pipeline into article_ spreadsheeteet.pptx
Celine George
 
How to Manage Comparison Price in Odoo 18 Website
How to Manage Comparison Price in Odoo 18 WebsiteHow to Manage Comparison Price in Odoo 18 Website
How to Manage Comparison Price in Odoo 18 Website
Celine George
 
How to Configure Pricer Store in Odoo 18 POS
How to Configure Pricer Store in Odoo 18 POSHow to Configure Pricer Store in Odoo 18 POS
How to Configure Pricer Store in Odoo 18 POS
Celine George
 
How to Manage Margin & Cost in Odoo 17 POS
How to Manage Margin & Cost in Odoo 17 POSHow to Manage Margin & Cost in Odoo 17 POS
How to Manage Margin & Cost in Odoo 17 POS
Celine George
 
How to Register Payment Against Draft Invoice in Odoo 18
How to Register Payment Against Draft Invoice in Odoo 18How to Register Payment Against Draft Invoice in Odoo 18
How to Register Payment Against Draft Invoice in Odoo 18
Celine George
 
How to Configure Subcontracting in Odoo 17 Manufacturing App
How to Configure Subcontracting in Odoo 17 Manufacturing AppHow to Configure Subcontracting in Odoo 17 Manufacturing App
How to Configure Subcontracting in Odoo 17 Manufacturing App
Celine George
 
How to Configure Subcontracting in Odoo 17 Manufacturing App
How to Configure Subcontracting in Odoo 17 Manufacturing AppHow to Configure Subcontracting in Odoo 17 Manufacturing App
How to Configure Subcontracting in Odoo 17 Manufacturing App
Celine George
 
How to Use Log Access Attribute in Odoo 17
How to Use Log Access Attribute in Odoo 17How to Use Log Access Attribute in Odoo 17
How to Use Log Access Attribute in Odoo 17
Celine George
 

More from Celine George (20)

How to Manage Blanket Order in Odoo 18 - Odoo Slides
How to Manage Blanket Order in Odoo 18 - Odoo SlidesHow to Manage Blanket Order in Odoo 18 - Odoo Slides
How to Manage Blanket Order in Odoo 18 - Odoo Slides
Celine George
 
How to Manage Customer Info from POS in Odoo 18
How to Manage Customer Info from POS in Odoo 18How to Manage Customer Info from POS in Odoo 18
How to Manage Customer Info from POS in Odoo 18
Celine George
 
How to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 SalesHow to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 Sales
Celine George
 
How to Manage Manual Reordering Rule in Odoo 18 Inventory
How to Manage Manual Reordering Rule in Odoo 18 InventoryHow to Manage Manual Reordering Rule in Odoo 18 Inventory
How to Manage Manual Reordering Rule in Odoo 18 Inventory
Celine George
 
How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18
Celine George
 
How to Configure Extra Steps During Checkout in Odoo 18 Website
How to Configure Extra Steps During Checkout in Odoo 18 WebsiteHow to Configure Extra Steps During Checkout in Odoo 18 Website
How to Configure Extra Steps During Checkout in Odoo 18 Website
Celine George
 
How to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo SlidesHow to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo Slides
Celine George
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
How to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 PurchaseHow to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 Purchase
Celine George
 
How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18
Celine George
 
How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18
Celine George
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
Form View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo SlidesForm View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo Slides
Celine George
 
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
Celine George
 
How to Configure Scheduled Actions in odoo 18
How to Configure Scheduled Actions in odoo 18How to Configure Scheduled Actions in odoo 18
How to Configure Scheduled Actions in odoo 18
Celine George
 
How to Manage Upselling in Odoo 18 Sales
How to Manage Upselling in Odoo 18 SalesHow to Manage Upselling in Odoo 18 Sales
How to Manage Upselling in Odoo 18 Sales
Celine George
 
How to Add Customer Note in Odoo 18 POS - Odoo Slides
How to Add Customer Note in Odoo 18 POS - Odoo SlidesHow to Add Customer Note in Odoo 18 POS - Odoo Slides
How to Add Customer Note in Odoo 18 POS - Odoo Slides
Celine George
 
How to Create A Todo List In Todo of Odoo 18
How to Create A Todo List In Todo of Odoo 18How to Create A Todo List In Todo of Odoo 18
How to Create A Todo List In Todo of Odoo 18
Celine George
 
Link your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRMLink your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRM
Celine George
 
How to Manage Blanket Order in Odoo 18 - Odoo Slides
How to Manage Blanket Order in Odoo 18 - Odoo SlidesHow to Manage Blanket Order in Odoo 18 - Odoo Slides
How to Manage Blanket Order in Odoo 18 - Odoo Slides
Celine George
 
How to Manage Customer Info from POS in Odoo 18
How to Manage Customer Info from POS in Odoo 18How to Manage Customer Info from POS in Odoo 18
How to Manage Customer Info from POS in Odoo 18
Celine George
 
How to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 SalesHow to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 Sales
Celine George
 
How to Manage Manual Reordering Rule in Odoo 18 Inventory
How to Manage Manual Reordering Rule in Odoo 18 InventoryHow to Manage Manual Reordering Rule in Odoo 18 Inventory
How to Manage Manual Reordering Rule in Odoo 18 Inventory
Celine George
 
How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18
Celine George
 
How to Configure Extra Steps During Checkout in Odoo 18 Website
How to Configure Extra Steps During Checkout in Odoo 18 WebsiteHow to Configure Extra Steps During Checkout in Odoo 18 Website
How to Configure Extra Steps During Checkout in Odoo 18 Website
Celine George
 
How to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo SlidesHow to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo Slides
Celine George
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
How to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 PurchaseHow to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 Purchase
Celine George
 
How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18
Celine George
 
How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18
Celine George
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
Form View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo SlidesForm View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo Slides
Celine George
 
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
Celine George
 
How to Configure Scheduled Actions in odoo 18
How to Configure Scheduled Actions in odoo 18How to Configure Scheduled Actions in odoo 18
How to Configure Scheduled Actions in odoo 18
Celine George
 
How to Manage Upselling in Odoo 18 Sales
How to Manage Upselling in Odoo 18 SalesHow to Manage Upselling in Odoo 18 Sales
How to Manage Upselling in Odoo 18 Sales
Celine George
 
How to Add Customer Note in Odoo 18 POS - Odoo Slides
How to Add Customer Note in Odoo 18 POS - Odoo SlidesHow to Add Customer Note in Odoo 18 POS - Odoo Slides
How to Add Customer Note in Odoo 18 POS - Odoo Slides
Celine George
 
How to Create A Todo List In Todo of Odoo 18
How to Create A Todo List In Todo of Odoo 18How to Create A Todo List In Todo of Odoo 18
How to Create A Todo List In Todo of Odoo 18
Celine George
 
Link your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRMLink your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRM
Celine George
 
Ad

Recently uploaded (20)

IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERSIMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
rajaselviazhagiri1
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
Conditions for Boltzmann Law – Biophysics Lecture Slide
Conditions for Boltzmann Law – Biophysics Lecture SlideConditions for Boltzmann Law – Biophysics Lecture Slide
Conditions for Boltzmann Law – Biophysics Lecture Slide
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
libbys peer assesment.docx..............
libbys peer assesment.docx..............libbys peer assesment.docx..............
libbys peer assesment.docx..............
19lburrell
 
Rebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter worldRebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter world
Ned Potter
 
PUBH1000 Slides - Module 11: Governance for Health
PUBH1000 Slides - Module 11: Governance for HealthPUBH1000 Slides - Module 11: Governance for Health
PUBH1000 Slides - Module 11: Governance for Health
JonathanHallett4
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
businessweekghana
 
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit..."Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
AlionaBujoreanu
 
INDIA QUIZ FOR SCHOOLS | THE QUIZ CLUB OF PSGCAS | AUGUST 2024
INDIA QUIZ FOR SCHOOLS | THE QUIZ CLUB OF PSGCAS | AUGUST 2024INDIA QUIZ FOR SCHOOLS | THE QUIZ CLUB OF PSGCAS | AUGUST 2024
INDIA QUIZ FOR SCHOOLS | THE QUIZ CLUB OF PSGCAS | AUGUST 2024
Quiz Club of PSG College of Arts & Science
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
114P_English.pdf114P_English.pdf114P_English.pdf
114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf
114P_English.pdf114P_English.pdf114P_English.pdf
paulinelee52
 
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFAMCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-14-2025 .pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-14-2025  .pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-14-2025  .pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-14-2025 .pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
Dr. Nasir Mustafa
 
Dastur_ul_Amal under Jahangir Key Features.pptx
Dastur_ul_Amal under Jahangir Key Features.pptxDastur_ul_Amal under Jahangir Key Features.pptx
Dastur_ul_Amal under Jahangir Key Features.pptx
omorfaruqkazi
 
PUBH1000 Slides - Module 12: Advocacy for Health
PUBH1000 Slides - Module 12: Advocacy for HealthPUBH1000 Slides - Module 12: Advocacy for Health
PUBH1000 Slides - Module 12: Advocacy for Health
JonathanHallett4
 
Cyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top QuestionsCyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top Questions
SONU HEETSON
 
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERSIMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
rajaselviazhagiri1
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
libbys peer assesment.docx..............
libbys peer assesment.docx..............libbys peer assesment.docx..............
libbys peer assesment.docx..............
19lburrell
 
Rebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter worldRebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter world
Ned Potter
 
PUBH1000 Slides - Module 11: Governance for Health
PUBH1000 Slides - Module 11: Governance for HealthPUBH1000 Slides - Module 11: Governance for Health
PUBH1000 Slides - Module 11: Governance for Health
JonathanHallett4
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
businessweekghana
 
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit..."Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
AlionaBujoreanu
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
114P_English.pdf114P_English.pdf114P_English.pdf
114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf
114P_English.pdf114P_English.pdf114P_English.pdf
paulinelee52
 
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFAMCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
Dr. Nasir Mustafa
 
Dastur_ul_Amal under Jahangir Key Features.pptx
Dastur_ul_Amal under Jahangir Key Features.pptxDastur_ul_Amal under Jahangir Key Features.pptx
Dastur_ul_Amal under Jahangir Key Features.pptx
omorfaruqkazi
 
PUBH1000 Slides - Module 12: Advocacy for Health
PUBH1000 Slides - Module 12: Advocacy for HealthPUBH1000 Slides - Module 12: Advocacy for Health
PUBH1000 Slides - Module 12: Advocacy for Health
JonathanHallett4
 
Cyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top QuestionsCyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top Questions
SONU HEETSON
 
Ad

How to Count Records Using search_count in Odoo 17

  • 1. How to Count Records Using search_count in Odoo 17 Enterprise
  • 2. Introduction Enterprise In most of the Odoo form views, we can see smart buttons with the count of related records. So in this slide, let’s check how we can create such smart buttons in our custom modules. Here in this slide, we are using a custom insurance module for demonstration.
  • 3. Enterprise We are using search_count for showing the count of partners who have the insurance. Firstly, we need to add a new field to store the count in the model.
  • 4. Enterprise Then we can add the view for the field insurance_count.
  • 5. Enterprise Next we are adding the compute function for computing the count of partners and the action for the smart button partners.
  • 6. Enterprise After adding these code snippets, we can see the smart button will appear in the insurance form view.
  • 7. For More Info. Check our company website for related blogs and Odoo book. Check our YouTube channel for functional and technical videos in Odoo. Enterprise www.cybrosys.com