İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4013 Görünümler

how can we disable update button in inventory tab in product form when log in as a non-admin user

Avatar
Vazgeç
En İyi Yanıt

Hi,

Add group to the button.

ie,

<button name="%(action_view_change_product_quantity)d" string="update"
                            type="action"
                            class="oe_link" groups="stock.group_stock_manager"/>
Avatar
Vazgeç
Üretici

admin should enabled to update the product details

Üretici

the non admin users should have only the read access,but the admin should have the rights to update by all means

Üretici

groups="stock.group_stock_manager."which group do you mean?

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Mar 15
3438
1
Oca 24
14226
1
Ağu 22
5774
2
Mar 18
5055
0
Oca 18
3162