コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4936 ビュー

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

アバター
破棄

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

最善の回答

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 

アバター
破棄
関連投稿 返信 ビュー 活動
1
4月 24
1432
1
1月 24
14262
1
3月 22
2291
2
3月 18
5066
0
1月 18
3182