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)

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
 
Odoo v13 Features List | Odoo 13 Guide | Kanak Infosystems
Odoo v13 Features List | Odoo 13 Guide | Kanak InfosystemsOdoo v13 Features List | Odoo 13 Guide | Kanak Infosystems
Odoo v13 Features List | Odoo 13 Guide | Kanak Infosystems
Kanakinfosystems LLP
 
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
 
Odoo v13 Features List | Odoo 13 Guide | Kanak Infosystems
Odoo v13 Features List | Odoo 13 Guide | Kanak InfosystemsOdoo v13 Features List | Odoo 13 Guide | Kanak Infosystems
Odoo v13 Features List | Odoo 13 Guide | Kanak Infosystems
Kanakinfosystems LLP
 

More from Celine George (20)

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 Change Sequence Number in Odoo 18 Sale Order
How to Change Sequence Number in Odoo 18 Sale OrderHow to Change Sequence Number in Odoo 18 Sale Order
How to Change Sequence Number in Odoo 18 Sale Order
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 Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives 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 Change Sequence Number in Odoo 18 Sale Order
How to Change Sequence Number in Odoo 18 Sale OrderHow to Change Sequence Number in Odoo 18 Sale Order
How to Change Sequence Number in Odoo 18 Sale Order
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 Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18
Celine George
 
Ad

Recently uploaded (20)

Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
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
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
INSULIN.pptx by Arka Das (Bsc. Critical care technology)
INSULIN.pptx by Arka Das (Bsc. Critical care technology)INSULIN.pptx by Arka Das (Bsc. Critical care technology)
INSULIN.pptx by Arka Das (Bsc. Critical care technology)
ArkaDas54
 
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
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERSIMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
rajaselviazhagiri1
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
Pope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptxPope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptx
Martin M Flynn
 
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
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
Bipolar Junction Transistors (BJTs): Basics, Construction & Configurations
Bipolar Junction Transistors (BJTs): Basics, Construction & ConfigurationsBipolar Junction Transistors (BJTs): Basics, Construction & Configurations
Bipolar Junction Transistors (BJTs): Basics, Construction & Configurations
GS Virdi
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
Nguyen Thanh Tu Collection
 
The History of Kashmir Lohar Dynasty NEP.ppt
The History of Kashmir Lohar Dynasty NEP.pptThe History of Kashmir Lohar Dynasty NEP.ppt
The History of Kashmir Lohar Dynasty NEP.ppt
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdf
GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdfGENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdf
GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdf
Quiz Club of PSG College of Arts & Science
 
E-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26ASE-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26AS
Abinash Palangdar
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
Look Up, Look Down: Spotting Local History Everywhere
Look Up, Look Down: Spotting Local History EverywhereLook Up, Look Down: Spotting Local History Everywhere
Look Up, Look Down: Spotting Local History Everywhere
History of Stoke Newington
 
Module_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptxModule_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptx
drroxannekemp
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
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
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
INSULIN.pptx by Arka Das (Bsc. Critical care technology)
INSULIN.pptx by Arka Das (Bsc. Critical care technology)INSULIN.pptx by Arka Das (Bsc. Critical care technology)
INSULIN.pptx by Arka Das (Bsc. Critical care technology)
ArkaDas54
 
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
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERSIMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
rajaselviazhagiri1
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
Pope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptxPope Leo XIV, the first Pope from North America.pptx
Pope Leo XIV, the first Pope from North America.pptx
Martin M Flynn
 
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
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
Bipolar Junction Transistors (BJTs): Basics, Construction & Configurations
Bipolar Junction Transistors (BJTs): Basics, Construction & ConfigurationsBipolar Junction Transistors (BJTs): Basics, Construction & Configurations
Bipolar Junction Transistors (BJTs): Basics, Construction & Configurations
GS Virdi
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
Nguyen Thanh Tu Collection
 
E-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26ASE-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26AS
Abinash Palangdar
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
Look Up, Look Down: Spotting Local History Everywhere
Look Up, Look Down: Spotting Local History EverywhereLook Up, Look Down: Spotting Local History Everywhere
Look Up, Look Down: Spotting Local History Everywhere
History of Stoke Newington
 
Module_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptxModule_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptx
drroxannekemp
 
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
  翻译: