← Back to team overview

openerp-india team mailing list archive

[Bug 905209] Re: mailgate.message has no method message_new

 

Hello,

Thanks for your answer. I understand your don't want to add features in
current releases. It would be a nice feature for the CRM (like that, the
user could see all mails related to a client in the client history tab).

What I especially wanted to know was if the features was not implemented (according to your comment, it would be that) or if it was a configuration problem. What I say in the 2nd paragraph is that I tryed to use the action related to the mail receiving to create a mailgate.message object. I could, but there was 2 problems:
- I don't know how to fetch details of the e-mail (like subject, content, sender, etc.) and I had to set "hard-coded" values.
- The "Model" field in the form is obligatory, and if I set an object (like a CRM lead), a lead (or another object) is created each time I receive an e-mail. What I don't want (I just want to archive e-mails and link it to a partner).

In 3rd paragraph, I explain how the message_new would be to respect my
process: when you receive an e-mail to info@xxxxxxxxxxxxx, OpenERP gets
the e-mail (fetchmail), search in contacts database (method message_new
of mailgate.message) and, if it find it, it save the e-mail and link it
to the corresponding partner.

** Changed in: openobject-addons
       Status: Incomplete => Opinion

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

Title:
  mailgate.message has no method message_new

Status in OpenERP Addons (modules):
  Opinion

Bug description:
  Hello,

  I try to set the fetchmail module to save emails in openerp linked to
  the corresponding partner. For that, I use the fetchmail module. I
  created an email server, but I don't know which Model choose. The more
  logical would be to user Mailgateway Message.But it has no message_new
  method.

  I tryed using an action, but the Model field is obligatory (and I must
  create another object when e-mail arrive). And in the action, I cannot
  access to the received e-mail data.

  So, the mailgate.message would have a message_new method that create a
  new object and link it to the partner that has the e-mail address in
  its contacts.

  Thanks

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


References