Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3330 Tampilan

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
Buang

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

Hi, did you find a solution about this?