I am trying to write a customize Odoo module which need to call some form of PRE-installation or POST-installation function / hook , wandering any of you have this knowledge which can share with me how to go about it ?
Sample of process : e.g. During installation , when user click to install the custom module , it will call a Pre-installation hook and do some initialization, copying of files or other and then after that once it finished , we can capture the return installation process of Odoo and run a Post-installation hook. And it will only execute once during the time where the module install / upgrade.
Do appreciate to share a pointer of where this Pre / Post installation code should go into my module code ?
Thanks Kalmen