Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2732 Widoki

Hi,


I've imported a bunch of groups using odoo's import xls system.


Here's the metadata from one of them:



I want to show a field only to users from that group. Here's my code:

<field name="default_code" position="after">
<field name="z_ncm" groups="__import__.hh_group_metal"/>
</field>


Neither groups="__import__.hh_group_metal nor groups="sale.hh_group_metal work...


What am I doing wrong?

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

Seems everything given correctly, are you sure that tested user is not in this group ? As per you have given, the field will be visible only for the users inside the group.

Thanks

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 21
2833
3
cze 21
4539
0
kwi 21
2067
1
lut 24
1791
2
wrz 23
6060