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
2508 Widoki

Hello everybody,

I try to set a group on search view. 

If any one have an idea how work groups on view. Could you explain me ? 

For the story, I would like have a specific search in function of user group. 

 


Awatar
Odrzuć

Odoo Development Guidlines: http://learnopenerp.blogspot.com

Najlepsza odpowiedź

Hello John,

You can apply group on field, filter, group tag in search view.

Assume that if you want to prevent some filter from user access then you can use like:

<filter string="Label" name="filter_feature"  domain="[('active','=',False)]" groups="group_name"/>

You can apply group on group by filter like:

<group string="Group By">

<filter name="group_filter_name" string="Label" groups="group_name" context="{'group_by': 'filted_name'}"/> 

</group>


Hope it will helpful for you.

Thanks and regards

Haresh Kansara

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 25
25865
2
lip 22
4582
1
wrz 21
4278
3
wrz 21
9067
2
wrz 21
10192