Skip to Content
Menu
This question has been flagged
1 Reply
2682 Views

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?

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
0
Aug 21
2802
3
Jun 21
4477
0
Apr 21
2031
1
Feb 24
1740
2
Sep 23
5991