how to run a function at the time installation module
If you want to run a specific function, before install the module, example, re-update current data,
so add a line to define action pre_init_hook to file __openerp__.py like this:
'pre_init_hook': 'function_A'
How to pre_init_hook method in openerp v7.?????
ReplyDelete