| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-09-17 | [REF] mail: update related_attachment_count field name to match mixin namespace. | ThanhDodeurOdoo | |
| Reason: The Attachment count of mail_thread is used by the new attachment button of the chatter, the compute field has been chosen over a search_count JS RPC to keep a synchronous chatter and prevent flickering. This commit refactors those changes to follow the naming conventions of mail_thread and to optimize the count method for eventual reuse follwing TDE's advices. - Changed the name of a mail_thread's related_attachment_count into message_attachment_count. - Changed the count method to a read_group. PR: 26989 Task: 1860031 | |||
| 2018-09-13 | [IMP] mail: new attachment button in the chatter | ThanhDodeurOdoo | |
| - Added a new button to the chatter that displays the amount of attachments on the current record and when clicked, all the attachments attached to the current record - added mail.FormView (includes), used by the chatter attachment button to fetch the field value of attachment_count. - added a computed field "attachment_count" to mail.thread that contains the amount of attachment attached to the record. - changed the followers div, it is now sharing a "right side" area with the attachment button. task: 1860031 | |||
