Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3323 Näkymät

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
Hylkää

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

Hi, did you find a solution about this?