[FIX] mail, project, project_issue, crm_lead: fixed 'XX Created' subtype not triggere...
authorThibault Delavallée <tde@openerp.com>
Wed, 29 May 2013 13:14:58 +0000 (15:14 +0200)
committerThibault Delavallée <tde@openerp.com>
Wed, 29 May 2013 13:14:58 +0000 (15:14 +0200)
commitd4dbd3524ca7e886376d3b4fd79427bdd3e80d34
tree9bbb3690f4167eda753c6c6e89d6844e3fbc3e9d
parentdc858b099ef60f75b92c8b15e0e34ab6db84cb3b
[FIX] mail, project, project_issue, crm_lead: fixed 'XX Created' subtype not triggered because of condition
based on state=new and not state=draft.
For tasks, issues and leads, no generic 'Document created' message is posted anymore
because of the 'XX Created' message with subtype automatically logged.
Generic creation message is logged before automatic subscription to enable
message pushing to responsibles.

bzr revid: tde@openerp.com-20130529131458-9709ffrsy479hwy3
addons/crm/crm_lead.py
addons/mail/mail_thread.py
addons/project/project.py
addons/project_issue/project_issue.py