Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3332 Lượt xem

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?
Ảnh đại diện
Huỷ bỏ

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

Hi, did you find a solution about this?