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

how can we disable update button in inventory tab in product form when log in as a non-admin user

아바타
취소
베스트 답변

Hi,

Add group to the button.

ie,

<button name="%(action_view_change_product_quantity)d" string="update"
                            type="action"
                            class="oe_link" groups="stock.group_stock_manager"/>
아바타
취소
작성자

admin should enabled to update the product details

작성자

the non admin users should have only the read access,but the admin should have the rights to update by all means

작성자

groups="stock.group_stock_manager."which group do you mean?

관련 게시물 답글 화면 활동
0
3월 15
3454
1
1월 24
14275
1
8월 22
5830
2
3월 18
5086
0
1월 18
3212