Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4028 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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"/>
อวตาร
ละทิ้ง
ผู้เขียน

admin should enabled to update the product details

ผู้เขียน

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

ผู้เขียน

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
3441
1
ม.ค. 24
14252
1
ส.ค. 22
5794
2
มี.ค. 18
5059
0
ม.ค. 18
3166