How to use post init hook in Odoo? | Post init hook in Odoo 17 | Odoo 17 Development Tutorials – CBMS Odoo ERP

How to use post init hook in Odoo? | Post init hook in Odoo 17 | Odoo 17 Development Tutorials – CBMS Odoo ERP

0 minutes, 32 seconds Read

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. #odoo17

Post_init_hook are the functions that will execute 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.

The post init hook can receive arguments as an environment (env). It will create some records. #odootutorials #odoodevelopment

Connect With Us:
—————————————
➡️ Website:
➡️ Email: info@cybrosys.com
➡️ Twitter:
➡️ LinkedIn:
➡️ Facebook:
➡️ Instagram:
➡️ Pinterest:

#post #init #hook #Odoo #Post #init #hook #Odoo #Odoo #Development #Tutorials

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *