Files
odoo_source/addons/mail/security/ir.model.access.csv
T
Jérome Maes 449f254638 [REF] mail : include real time, and replace Timeline features
This commit add instant messaging features in mail module to make it a real team collaboration tool. Lots of these new features will replace Timeleine view (which is not removed in this commit). Many files have been moved, split or created for a better structure.

- My Channels : A user can be member of channel (mail.channel). These are discussion group, but also an aggregate of notification. Setting a channel as document follower, it will receive all the message (of the chatter) in real time, as information stream.

- A new Inbox : this aims to replace the timeline view. The user will see its channels grouped by 'slot', and receive the message in real time. Jump to the form view, invite people, create private discussion group, talk directly to another employee, ... are the main features. Your message can still be starred. The 'Inbox' will only contain your needaction.

- Needaction concept : a needaction is a message calling you to do something. If you follow a document as a person, the posted message will be 'needaction' for you. It can also be a message where you are mention with a '@my_name' (this feature is not added in this commit).

- The chatter doesn't change so much. It still allow you to see the discussion about the document, to star some message, and treat your needaction.

- Chat : the only way to have a minified conversation is from the Inbox Client Action. It allow you to keep an eye on a channel when working on document.

- Compose Message : it is now common to the Inbox, and the chatter. It offers shortcode substitution, attachments management, and optional subtype.

- UI : the chat window has been clean, they have a new look now.

To do so,
- Chatter code have been completely rewrite, independently of timeline view
- Add 'bus' as mail dependency, to insure real time
- A mail.message is broadcasted on the bus channel (db, mail.channel, channel_id), and a channel header on (db, res.partner, partner_id)
- Extracting mail_thread mixin used for Chatter and ChatMailThread (Inbox client action). This uniformize the programming structure with the server side
- Clean CSS style and use LESS instead of CSS
- Define a new messafe format (message_format method in mail_message.py), compatible with fetching and broadcasting
- Apply guideline coding conventions

This commit also break the module im_livechat, since im_chat models don't exists anymore and will be fixed in the next commit.

Thanks to Thibault Delavallee (tde) for the long debates and precious advices, Richard Mathot (rim) for the support, Simon Lejeune (sle) for the client action layout, and the Usability Team (apr, lle, bst yti) for the long testing.

Conflicts:
	addons/mail/models/mail_thread.py
2015-09-01 20:16:09 +02:00

2.8 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_mail_message_allmail.message.allmodel_mail_message1000
3access_mail_message_portalmail.message.portalmodel_mail_messagebase.group_portal1111
4access_mail_message_usermail.message.usermodel_mail_messagebase.group_user1111
5access_mail_mail_allmail.mail.allmodel_mail_mail1000
6access_mail_mail_portalmail.mail.portalmodel_mail_mailbase.group_portal1110
7access_mail_mail_usermail.mail.usermodel_mail_mailbase.group_user1110
8access_mail_mail_systemmail.mail.systemmodel_mail_mailbase.group_system1111
9access_mail_followers_allmail.followers.allmodel_mail_followers1000
10access_mail_followers_portalmail.followers.portalmodel_mail_followersbase.group_portal1110
11access_mail_followers_usermail.followers.usermodel_mail_followersbase.group_user1110
12access_mail_followers_systemmail.followers.systemmodel_mail_followersbase.group_system1111
13access_mail_channel_allmail.group.allmodel_mail_channel1000
14access_mail_channel_usermail.group.usermodel_mail_channelbase.group_user1111
15access_mail_channel_partner_publicmail.channel.partner.publicmodel_mail_channel_partnerbase.group_public1000
16access_mail_channel_partner_portalmail.channel.partner.portalmodel_mail_channel_partnerbase.group_portal1111
17access mail_channel_partner_usermail.channel.partner.usermodel_mail_channel_partnerbase.group_user1111
18access_mail_alias_allmail.alias.allmodel_mail_alias1000
19access_mail_alias_usermail.alias.usermodel_mail_aliasbase.group_user1110
20access_mail_alias_systemmail.alias.systemmodel_mail_aliasbase.group_system1111
21access_mail_message_subtype_allmail.message.subtype.allmodel_mail_message_subtype1000
22access_mail_message_subtype_usermail.message.subtype.usermodel_mail_message_subtype1111
23access_mail_tracking_value_allmail.tracking.value.allmodel_mail_tracking_value1000
24access_mail_tracking_value_portalmail.tracking.value.portalmodel_mail_tracking_valuebase.group_portal1111
25access_mail_tracking_value_usermail.tracking.value.usermodel_mail_tracking_valuebase.group_user1111
26access_mail_tracking_value_systemmail.tracking.value.systemmodel_mail_tracking_valuebase.group_system1111
27access_mail_thread_allmail.thread.allmodel_mail_thread1111
28access_publisher_warranty_contract_allpublisher.warranty.contract.allmodel_publisher_warranty_contract1111
29access_mail_templatemail.templatemodel_mail_templatebase.group_user1110
30access_mail_template_systemmail.template_systemmodel_mail_templatebase.group_system1111
31access_mail_shortcodemail.shortcodemodel_mail_shortcodebase.group_user1111
32access_mail_shortcode_portalmail.shortcode.portalmodel_mail_shortcodebase.group_portal1000