How to Use Pre Init hook in Odoo 17 | Odoo 17 Development Tutorials – CBMS Odoo ERP

In Odoo, Hooks are Python methods or functions that are invoked at specific points during the execution of Odoo’s processing cycle. Hooks can be used to extend or modify the behavior  without directly modifying its core code.  The pre-init hook s a method provided by the Odoo framework to execute custom code before the initialization of […]

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

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 […]