Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
7639 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează

Thank you Niyas. It's really working

Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 23
3566
2
iul. 23
6521
4
iun. 25
8740
2
sept. 24
5126
1
mai 24
1593