Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4935 Vizualizări

hello odoo community

I have a button in purchase requestion form, it's visible in states of "in_progress" for group1 and group 2 but I want invisible this button if one user of group2 creates purchase requestion in other words I don't want a user to approve his own request

how can I do that?

<button groups="group1,group2" name="tender_done" states="in_progress" string="Done" type="object" icon="gtk-jump-to" />

openerp V6

Imagine profil
Abandonează

How to visible and invisible fields in odoo: https://goo.gl/BCxCpk

Cel mai bun răspuns

Whenever you put groups attribute and define than it'll always accessible for that groups users only so why did you put group2 if you are not allow to proceed just remove it

You are defined the group1,group2 on button so basically this button can accessible for both groups access Users 

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
apr. 24
1432
1
ian. 24
14262
1
mar. 22
2283
2
mar. 18
5066
0
ian. 18
3182