SlideShare a Scribd company logo
3
Most read
4
Most read
5
Most read
Post init hook in Odoo 17
Introduction
Enterprise
● In Odoo, hooks are functions that are presented as a string
in the __init__ file of a module. They are the functions that
can execute before and after the existing code.
● Post_init_hook are the functions that executes after the
module installation. These functions are included by
specifying their names within the __init__.py file and are
typically responsible for generating certain data.
Enterprise
● First of all we need to add post init hook in the
manifest file of the module.
● In the post init hook need to specify the method to
execute after installing the module.
Enterprise
● Then we need to define the post init method in the __init__
file of the module. This method that executes after
installing the module will help to create records as a
sample one.
Enterprise
● Then we need to install our module from the apps.
Enterprise
● After installing the module, if we go to our module here,
you can see a record automatically created data by
default.
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

More Related Content

PPTX
Post load hook in Odoo 17 - Odoo 17 Slides
PPTX
How to Use Pre Init hook in Odoo 17 -Odoo 17 Slides
PPTX
How to use Init Hooks in Odoo 18 - Odoo Slides
PPTX
External dependencies ,pre init hook & post init hook in odoo
PPTX
Uninstall Hook in Odoo 17 - Odoo 17 Slides
PPTX
How to Implement OWL Notification Service in Odoo 18
PPTX
Tracking Profit Margins in Sales Orders with Odoo 18
PPTX
How to Configure Outgoing Shipment in 3 Steps Using Odoo 18
Post load hook in Odoo 17 - Odoo 17 Slides
How to Use Pre Init hook in Odoo 17 -Odoo 17 Slides
How to use Init Hooks in Odoo 18 - Odoo Slides
External dependencies ,pre init hook & post init hook in odoo
Uninstall Hook in Odoo 17 - Odoo 17 Slides
How to Implement OWL Notification Service in Odoo 18
Tracking Profit Margins in Sales Orders with Odoo 18
How to Configure Outgoing Shipment in 3 Steps Using Odoo 18

More from Celine George (20)

PPTX
How to Configure Outgoing Shipment in 1 Step Using Odoo 18.pptx
PPTX
How to Configure Outgoing Shipment in 2 Steps Using Odoo 18
PPTX
How to Add New Applicants in Odoo 18 Recruitment
PPTX
How to Analyze the Recruitment Process in Odoo 18 Recruitment
PPTX
How to Manage Referral Reporting in Odoo 18 Referrals
PPTX
How to Set, Track, & Review Employee Goals in Odoo 18 Appraisals
PPTX
Revamp in MTO Odoo 18 Inventory - Odoo Slides
PPTX
How to Manage Starshipit in Odoo 18 - Odoo Slides
PPTX
How to Manage Bill Control Policy in Odoo 18
PPTX
How to Manage Loyalty Points in Odoo 18 Sales
PPTX
Odoo 18 Sales_ Managing Quotation Validity
PPTX
How to Manage Global Discount in Odoo 18 POS
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
PPTX
How to Apply for a Job From Odoo 18 Website
PPTX
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
How to Configure Outgoing Shipment in 1 Step Using Odoo 18.pptx
How to Configure Outgoing Shipment in 2 Steps Using Odoo 18
How to Add New Applicants in Odoo 18 Recruitment
How to Analyze the Recruitment Process in Odoo 18 Recruitment
How to Manage Referral Reporting in Odoo 18 Referrals
How to Set, Track, & Review Employee Goals in Odoo 18 Appraisals
Revamp in MTO Odoo 18 Inventory - Odoo Slides
How to Manage Starshipit in Odoo 18 - Odoo Slides
How to Manage Bill Control Policy in Odoo 18
How to Manage Loyalty Points in Odoo 18 Sales
Odoo 18 Sales_ Managing Quotation Validity
How to Manage Global Discount in Odoo 18 POS
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Tips Management in Odoo 18 POS - Odoo Slides
How to Close Subscription in Odoo 18 - Odoo Slides
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
How to Track Skills & Contracts Using Odoo 18 Employee
How to Apply for a Job From Odoo 18 Website
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
Continental Accounting in Odoo 18 - Odoo Slides
Ad

Recently uploaded (20)

PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Complications of Minimal Access Surgery at WLH
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
master seminar digital applications in india
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Cell Structure & Organelles in detailed.
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Lesson notes of climatology university.
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Basic Mud Logging Guide for educational purpose
PDF
Classroom Observation Tools for Teachers
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Supply Chain Operations Speaking Notes -ICLT Program
Complications of Minimal Access Surgery at WLH
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
O7-L3 Supply Chain Operations - ICLT Program
TR - Agricultural Crops Production NC III.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Final Presentation General Medicine 03-08-2024.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
human mycosis Human fungal infections are called human mycosis..pptx
master seminar digital applications in india
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Cell Structure & Organelles in detailed.
102 student loan defaulters named and shamed – Is someone you know on the list?
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Lesson notes of climatology university.
Microbial disease of the cardiovascular and lymphatic systems
Basic Mud Logging Guide for educational purpose
Classroom Observation Tools for Teachers
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Ad

Post init hook in the odoo 17 ERP Module

  • 1. Post init hook in Odoo 17
  • 2. Introduction Enterprise ● In Odoo, hooks are functions that are presented as a string in the __init__ file of a module. They are the functions that can execute before and after the existing code. ● Post_init_hook are the functions that executes after the module installation. These functions are included by specifying their names within the __init__.py file and are typically responsible for generating certain data.
  • 3. Enterprise ● First of all we need to add post init hook in the manifest file of the module. ● In the post init hook need to specify the method to execute after installing the module.
  • 4. Enterprise ● Then we need to define the post init method in the __init__ file of the module. This method that executes after installing the module will help to create records as a sample one.
  • 5. Enterprise ● Then we need to install our module from the apps.
  • 6. Enterprise ● After installing the module, if we go to our module here, you can see a record automatically created data by default.
  • 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