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

I want to make 'mrp.unbuild' this model's entire form view readonly. The following from Odoo 13 is not working in V15.

https://www.odoo.com/forum/help-1/is-there-any-way-that-i-can-make-a-entire-form-readonly-132701

아바타
취소
베스트 답변

I assume your idea was not allow user to edit the form, in that case, you can try to set form view to edit="0", it will prevent user to click on "Edit" button.

Example:

아바타
취소

<form string="Calendar View/Edit" edit="0">
// your code
</form>

What if we want the form to be readonly for a specific group except for activity_ids (see mail.activity in the chatter). In other words, the users who have the group in their access rights can see the fields of the form and read, create or edit or delete activities.
Thanks in advance,

베스트 답변
xpath expr="//form" position="attributes"
attribute name="readonly">True attribute
xpath
아바타
취소
관련 게시물 답글 화면 활동
0
4월 22
2907
1
3월 18
6303
2
5월 25
3015
0
6월 24
947
2
3월 24
2062