summaryrefslogtreecommitdiff
path: root/addons/crm/data/mail_data.xml
AgeCommit message (Collapse)Author
2020-08-27[FIX] mail, crm: do not display body in creation message when having a subtypeDharmraj Jhala
Right now on few business objects (like leads, invoices, tasks, helpdesk tickets etc) creation message contains * subtype description; * generic creation message; This looks like multiple creation message on chatter after creation of the record as you generally have "Task Created - Task created" (subtype description then generic message). This happens when we provide custom subtype on creation by by overriding `_creation_subtype` method. This commit fixes the issue by only using provided creation subtype and removing default body. If creation subtype is not provided default creation message is posted as before. In this commit we also fix subtype for Lead/Opportunity creation and make it generic ('Lead/Opportunity created') to avoid inconsistent behavior. Finally some cleaning is made in method naming. Semi followup of 92e9e84b63a266b39d556c1db1d336373dc8b303 LINKS Task ID-2288458 PR odoo/odoo#56631 PR odoo/enterprise#12707 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-04-14[IMP] crm: lint data and menu entriesThibault Delavallée
PURPOSE Prepare enhancements of sales team membership. SPECIFICATIONS Lint crm data and demo, notably about sales team and file organization. Also move crm menu entries declaration in a single file and remove some menu entries not imported anymore. LINKS Task ID 2086889 (sales team enhancements) Task ID 2234698 (preparation lint) Community PR odoo/odoo#49520