Skip to Content
Menu
This question has been flagged
3316 Views

Hi. I need to run certain python code with the odoo enviroment at the start od odoo v13 (for some firebase work).


I tried in the __init__.py in modules folder, and i dont get to get the odoo orm.

I tried overriding the _register_hook(self): of a custom model, and i cant get it done.

I tried with an ir.cron action, and i cant get it working.


Someone can explain me the correct approach?
Avatar
Discard

I am looking for a simulate thing. Want to start new thread on startup.

Hi, did you find a solution about this?