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

In the sales module (or any module with a partner that has an address), when creating a new customer the address fields ask for state and country.

I would like to only allow administrators to create/edit state and country. Non administrators should only be able to select a state and country from the dropdown, but not create new ones.

How would I go about doing this?

아바타
취소

Override create method and check login user group if the login user group is admin than allow him to create other wise restrict the user.

Override Create Method: https://goo.gl/4BkizH

Check login user group: https://goo.gl/Ts3qqK

관련 게시물 답글 화면 활동
2
3월 25
5274
2
2월 20
3327
2
1월 19
2780
1
11월 16
4930
0
2월 16
2603