Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
4953 Tampilan

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.

Avatar
Buang
Jawaban Terbai

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:


Avatar
Buang
Penulis Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jul 23
3055
3
Jul 25
7051
1
Mei 25
1164
3
Feb 25
4708
2
Jan 25
1941