← Back to team overview

credativ team mailing list archive

Re: [Bug 923879] Re: CRM import crash

 

Ravish:
The conflict is caused by a package external to OpenERP. It will not appear
in an isolated instalation, but other cases may arise with the same problem.

I think that version 6.1 has implemented the new import policy in part for
the same reason. (import openerp.addons.<module_name>)

Once detected that the crm package is exposed to this problem due to the
use of the old import policy, it seems useful to point out the problematic
spots and to change to the new import policy before the release of the 6.1
package

Thanks for your review.

El 31 de enero de 2012 03:15, Ravish(OpenERP)
<923879@xxxxxxxxxxxxxxxxxx>escribió:

> Hello Gustavo ,
>
> I have checked your both the issues. It's working properly for me.
> For your reference ,I have attached video .please go throw it.
>
> Thanks!
>
> ** Attachment added: "Watch this video for more info"
>
> https://bugs.launchpad.net/openobject-addons/+bug/923879/+attachment/2702354/+files/crm.ogv
>
> ** Changed in: openobject-addons
>       Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/923879
>
> Title:
>  CRM import crash
>
> Status in OpenERP Addons (modules):
>  Incomplete
>
> 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
>


--

Gustavo Adrian Marino

Mobile: +54 911 5498 2515

Email: gamarino@xxxxxxxxx

Skype: gustavo.adrian.marino

-- 
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):
  Incomplete

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


References