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

Can anyone explain me error:
Field 'meeting_id' used in attrs ({'invisible': ['|', '|', ('is_modifiable', '=', False), ('state', '=', 'canceled'), ('meeting_id', '!=', False)]}) 
is restricted to the group(s) base.group_no_one.

I'm trying to install resource.booking module developed for v.15 on Odoo v.16

Above error is deffinition of button in view

아바타
취소
베스트 답변

Hi,

You can add a invisible field to the form in order to resolve the issue.

field name="meeting_id" invisible="1" groups="!'base.group_no_one"

Thanks

아바타
취소

Thank you Niyas. It's really working

베스트 답변

Maybe this is an error in this module.

I had a similarly problem, when I wanted to modify an odoo xml by an xpath. And, I got this error. I realized, the parent of my target xml elem was restricted by "groups=''base.group_no_one".
I wanted the use an own field in my attrs, so, I had to restrict my field too in this view.

아바타
취소
관련 게시물 답글 화면 활동
1
7월 23
3017
2
7월 23
5969
2
9월 24
4715
1
5월 24
1249
0
4월 24
665