تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4031 أدوات العرض

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?

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
3441
1
يناير 24
14252
1
أغسطس 22
5795
2
مارس 18
5061
0
يناير 18
3166