diff options
| author | Stephane Wirtel <stephane@openerp.com> | 2010-04-22 13:55:35 +0200 |
|---|---|---|
| committer | Stephane Wirtel <stephane@openerp.com> | 2010-04-22 13:55:35 +0200 |
| commit | f3aa34689688a5ff6eb2f5af7d3a8d4c60428fc0 (patch) | |
| tree | 56f17a7aba4fdb75f576670c8324a83560c41992 /addons/crm/scripts | |
| parent | db5a669c554fe607a0dbda56fa4596c83ed536b7 (diff) | |
[FIX] crm: Reset the 'Draft' flag for the opportunities and leads
bzr revid: stephane@openerp.com-20100422115535-4ou5x31qc45jlbam
Diffstat (limited to 'addons/crm/scripts')
| -rwxr-xr-x | addons/crm/scripts/openerp_mailgate/openerp_mailgate.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/crm/scripts/openerp_mailgate/openerp_mailgate.py b/addons/crm/scripts/openerp_mailgate/openerp_mailgate.py index bb0adb0444a..de8fac00fce 100755 --- a/addons/crm/scripts/openerp_mailgate/openerp_mailgate.py +++ b/addons/crm/scripts/openerp_mailgate/openerp_mailgate.py @@ -183,6 +183,7 @@ class email_parser(object): 'email_cc': msg_cc, 'user_id': False, 'description': message['body'], + 'state' : 'draft', } data.update(self.partner_get(msg_from)) |
