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

hello odoo community

I have a button in purchase requestion form, it's visible in states of "in_progress" for group1 and group 2 but I want invisible this button if one user of group2 creates purchase requestion in other words I don't want a user to approve his own request

how can I do that?

<button groups="group1,group2" name="tender_done" states="in_progress" string="Done" type="object" icon="gtk-jump-to" />

openerp V6

아바타
취소

How to visible and invisible fields in odoo: https://goo.gl/BCxCpk

베스트 답변

Whenever you put groups attribute and define than it'll always accessible for that groups users only so why did you put group2 if you are not allow to proceed just remove it

You are defined the group1,group2 on button so basically this button can accessible for both groups access Users 

아바타
취소
관련 게시물 답글 화면 활동
1
4월 24
1509
1
1월 24
14382
1
3월 22
2416
2
3월 18
5192
0
1월 18
3337