diff options
| author | ThanhDodeurOdoo <tso@odoo.com> | 2018-09-13 14:07:52 +0200 |
|---|---|---|
| committer | ThanhDodeurOdoo <tso@odoo.com> | 2018-09-17 19:12:25 +0200 |
| commit | 389cb3e8ddd04600877a5f2b1780b1cec9906287 (patch) | |
| tree | 14f5649b5e07312ab6134d20b656b65a3eb3a0fd /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 7075142bd45d3b81fcc7e5dcec8993eaa5e00d70 (diff) | |
[REF] mail: update related_attachment_count field name to match mixin namespace.
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
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
