콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2357 화면

Hi guys,
I want to make a database connection (which I know how to do that), but I am not sure where to write such code so that it will remain connected until the next Odoo service happens something similar to self.env.cr.execute which I believe the connection handshake doesn't happen every time we execute the queries.


Also, it should safely disconnect the connection before Odoo service restart happen.

Any help will be appreciated. Also if there is any better approach to do same then please let me know.

Thanks,
Vinay

아바타
취소
관련 게시물 답글 화면 활동
2
12월 23
14890
0
10월 23
33
3
10월 23
789
1
10월 23
569
1
8월 23
2543