跳至內容
選單
此問題已被標幟
1 回覆
1883 瀏覽次數

Looking for some code or a module that will allow me to limit the unpublishing and publishing of products to certain people.


I would like others to still be able to edit products, but not be able to toggle the is_published field.


Any ideas?  Odoo v16.

頭像
捨棄
最佳答案

Just create a res.group record to identify those users and take that group into account in order to raise an Exception if the User have the group that forbid the functionality to properly execute by extending the methods that publish and unpublish the products

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
10月 23
2080
1
12月 22
10911
2
10月 18
8900
0
10月 15
29
0
10月 15
3260