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

Hi everyone

I am new to Odoo and am looking for a way to call my custom API endpoint if a model changes. I looked into automated server actions but the only things I can do is send an email or call custom python code. It doesn't look like I can invoke a request inside the custom python code.

How can I implement/add this feature? If possible (no worries if not), could you point me to development documentation? I'm really new to this so any extra information is much appreciated!

Kind regards

Sam

아바타
취소

hope these tips will solve your problem: https://sites.google.com/view/thinkincode/erp/odoo

베스트 답변

Can you override the write method and insert your code before/after the standard write method is called?

https://www.odoo.com/forum/help-1/question/v9-how-to-inherit-write-function-92397

아바타
취소
관련 게시물 답글 화면 활동
3
8월 20
10450
0
7월 17
3197
0
3월 24
2064
4
9월 21
10737
0
6월 19
3871