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

I have a client who wants to use notes and have them global across all users. It would be easiest to just remove the user dependency to display to all users. The other option is to add message_follower_ids upon creation to add a "general" channel as a follower but I'm clueless as to what the values would be.

Any thoughts, ideas, advice is greatly appreciated.

頭像
捨棄
最佳答案

Make a custom field to indicate if a Note is "Globally Shared":


Add the field to the User Interface:


Change the Record Rules to include this case:


When a Note is made, to mark it Globally shared, Users will check the box:


USER ONE (BLUE) WILL SEE THIS:


USER TWO (RED) WILL SEE THIS:


頭像
捨棄
作者 最佳答案

Per a user on Stack Overflow, I commented out 'security/ir.rule.xml' in notes/__openerp__.py and that made all notes public to all users. This is the functionality that my client has asked for and it works perfectly.

http://stackoverflow.com/questions/43145514/make-notes-global/43146568#43146568

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
7月 23
3101
0
8月 25
3
3
7月 25
7192
1
5月 25
1219
3
2月 25
4774