Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4422 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
3716
1
Jan 24
14927
1
Agu 22
6511
2
Mar 18
5619
0
Jan 18
3791