Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
6927 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää

Thank you Niyas. It's really working

Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 23
3017
2
heinäk. 23
5969
2
syysk. 24
4712
1
toukok. 24
1247
0
huhtik. 24
665