diff options
| author | Mantavya Gajjar <mga@tinyerp.com> | 2010-04-18 02:37:21 +0530 |
|---|---|---|
| committer | Mantavya Gajjar <mga@tinyerp.com> | 2010-04-18 02:37:21 +0530 |
| commit | 5aa72a05f158fdb0b8e625f20b90a5b24d9e535a (patch) | |
| tree | 02126617eae923e2b7c22c8d089200f9c0255da0 /addons/crm/scripts | |
| parent | 64ea0e8b38f491219480490ee4dc1217489eead3 (diff) | |
[REVIEW]: improvement in to the crm module
improvement in crm for email integration
bzr revid: mga@tinyerp.com-20100417210721-9munqmiyynacaia4
Diffstat (limited to 'addons/crm/scripts')
| -rwxr-xr-x | addons/crm/scripts/openerp_mailgate/openerp_mailgate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/scripts/openerp_mailgate/openerp_mailgate.py b/addons/crm/scripts/openerp_mailgate/openerp_mailgate.py index 497f1014eb9..bb0adb0444a 100755 --- a/addons/crm/scripts/openerp_mailgate/openerp_mailgate.py +++ b/addons/crm/scripts/openerp_mailgate/openerp_mailgate.py @@ -282,7 +282,7 @@ class email_parser(object): if actions['state'] in ['draft', 'close', 'cancel', 'open', 'pending']: act = 'case_' + actions['state'] - for k1, k2 in [('cost', 'planned_cost'), ('revenue', 'planned_revenue'), ('probability', 'probability')]: + for k1, k2 in [('cost', 'planned_cost'), ('revenue', 'planned_revenue'), ('probability', 'probability')]: try: data[k2] = float(actions[k1]) except: |
