Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6930 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

Thank you Niyas. It's really working

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 23
3017
2
thg 7 23
5969
2
thg 9 24
4712
1
thg 5 24
1249
0
thg 4 24
665