Skip to Content
Menu
This question has been flagged
2 Replies
2675 Views

Is it possible to recieve emails (with attachments) from new customers into Odoo and add these emails to a sales quotation?

We were thinking about receiving these emails in Documents, but we don't see a way to get them from documents to sales quotations.


Anny ideas?


Odoo 16.


Thanks in advance!

Jan

Avatar
Discard
Author Best Answer

¡Hola desde Valencia!


I tried your solution. The e-mail arrived in Odoo, but Odoo replied with an error mail.

The message couldn't be accepted by Odoo.

Translations from Dutch to English:

offerte = quotation

verkooporder = salesorder

Jan

Avatar
Discard

You are right. Excuse me.
I'll edit my aswer.

Best Answer

You can create an alias. Menú: (Debug mode) Settings / Technical / Aliases

When Odoo receives an email on the alias address creates a record in the "Aliased Model", puts the email text on the chatter and adds the attached files. 

--- 

ASWER EDITED 30/08/2024:

As colleagues say, the above proposal raises an error. The "sale.order" model requires the partner as a mandatory value.

I propose to create a generic client to be able to create the record and set the ID of this client as the default value in the mail alias.



I tested it and it works. 


The only issue is that the "name" field of the order is filled with the subject of the mail and not using the sequence. 



If this is a problem, it can be solved with a custom module or an automated action.

Avatar
Discard

I was searching for a way to do this exact process in ODOO.  I tried the above mentioned method by creating an alias and the emails just bounce back.  Were you ever able to find a solution that worked?

You are right. Excuse me.
I'll edit my aswer.

Thank you!

I have successfully implemented your suggestions and it is now working. Thanks so much! I'll now pass this along to my technical team to see if they can deal with the Sales Order not being the subject of the email. Maybe they can get it to use a normal Sales Order number.

Related Posts Replies Views Activity
0
May 23
1772
2
Mar 15
5700
0
Dec 22
1643
2
Sep 24
6308
0
Jan 21
2203