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

Looking for some code or a module that will allow me to limit the unpublishing and publishing of products to certain people.


I would like others to still be able to edit products, but not be able to toggle the is_published field.


Any ideas?  Odoo v16.

아바타
취소
베스트 답변

Just create a res.group record to identify those users and take that group into account in order to raise an Exception if the User have the group that forbid the functionality to properly execute by extending the methods that publish and unpublish the products

아바타
취소
관련 게시물 답글 화면 활동
1
10월 23
2143
1
12월 22
10987
2
10월 18
8956
0
10월 15
29
0
10월 15
3286