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

I have a server action that performs some operation based on the value of the current record context, but odoo forbids calling a server action on a record when write permission is not accorded.

I'm questioning why is it necessary to check for write permission before launching the server action and how can I work around this.

I can inherit the model and override the method but I want to know if there is another solution.

 This is the link to the code that checks for the permission is located in the run method of IrActionsServer model inside the ir_actions file


Thanks,

아바타
취소
관련 게시물 답글 화면 활동
2
10월 23
5256
1
11월 23
2717
3
8월 25
2258
1
5월 25
2522
1
4월 25
3502