Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4110 Tampilan

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

Avatar
Buang
Jawaban Terbai

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
Buang
Penulis

admin should enabled to update the product details

Penulis

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

Penulis

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

Post Terkait Replies Tampilan Aktivitas
0
Mar 15
3516
1
Jan 24
14398
1
Agu 22
5980
2
Mar 18
5216
0
Jan 18
3355