Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4929 Ansichten

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

Avatar
Verwerfen

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

Beste Antwort

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 

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Apr. 24
1431
1
Jan. 24
14260
1
März 22
2280
2
März 18
5064
0
Jan. 18
3179