← Back to team overview

credativ team mailing list archive

[Bug 923879] [NEW] CRM import crash

 

Public bug reported:

On v6.1, trunk, module crm crashed on import from other module (mail).
It crashes with other installed packages.

=== modified file 'crm/crm_lead.py'
--- crm/crm_lead.py	2012-01-25 16:04:17 +0000
+++ crm/crm_lead.py	2012-01-30 01:32:09 +0000
@@ -27,7 +27,7 @@
 from crm import crm_case
 import binascii
 import tools
-from mail.mail_message import to_email
+from openerp.addons.mail.mail_message import to_email
 
 CRM_LEAD_PENDING_STATES = (
     crm.AVAILABLE_STATES[2][0], # Cancelled

=== modified file 'crm/wizard/crm_add_note.py'
--- crm/wizard/crm_add_note.py	2012-01-09 15:10:55 +0000
+++ crm/wizard/crm_add_note.py	2012-01-30 01:33:30 +0000
@@ -1,7 +1,7 @@
 from .. import crm
 from osv import fields, osv
 from tools.translate import _
-from mail.mail_message import truncate_text
+from openerp.addons.mail.mail_message import truncate_text
 
 AVAILABLE_STATES = crm.AVAILABLE_STATES + [('unchanged', 'Unchanged')]

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/923879

Title:
  CRM import crash

Status in OpenERP Addons (modules):
  New

Bug description:
  On v6.1, trunk, module crm crashed on import from other module (mail).
  It crashes with other installed packages.

  === modified file 'crm/crm_lead.py'
  --- crm/crm_lead.py	2012-01-25 16:04:17 +0000
  +++ crm/crm_lead.py	2012-01-30 01:32:09 +0000
  @@ -27,7 +27,7 @@
   from crm import crm_case
   import binascii
   import tools
  -from mail.mail_message import to_email
  +from openerp.addons.mail.mail_message import to_email
   
   CRM_LEAD_PENDING_STATES = (
       crm.AVAILABLE_STATES[2][0], # Cancelled

  === modified file 'crm/wizard/crm_add_note.py'
  --- crm/wizard/crm_add_note.py	2012-01-09 15:10:55 +0000
  +++ crm/wizard/crm_add_note.py	2012-01-30 01:33:30 +0000
  @@ -1,7 +1,7 @@
   from .. import crm
   from osv import fields, osv
   from tools.translate import _
  -from mail.mail_message import truncate_text
  +from openerp.addons.mail.mail_message import truncate_text
   
   AVAILABLE_STATES = crm.AVAILABLE_STATES + [('unchanged', 'Unchanged')]

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/923879/+subscriptions


Follow ups

References