コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5001 ビュー

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
3121
3
7月 25
7315
1
5月 25
1279
3
2月 25
4803
2
1月 25
2054