Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4998 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
lug 23
3118
3
lug 25
7289
1
mag 25
1269
3
feb 25
4799
2
gen 25
2044