Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
6658 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit

Thank you Niyas. It's really working

Nejlepší odpověď

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 23
2778
2
čvc 23
5816
2
zář 24
4572
1
kvě 24
1171
0
dub 24
621