Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4 Răspunsuri
321 Vizualizări

How can I automatically create a purchase order triggered by an e-mail sent to the incoming mail account configured in Odoo? E.g. An e-mail received from a quotation answer of a vendor.

Imagine profil
Abandonează
Cel mai bun răspuns

Thanks for sharing this! Using incoming emails to trigger purchase orders can really streamline the procurement process, especially for businesses handling frequent orders. One key thing to keep in mind is setting up proper email filters and validation rules, so only legitimate purchase requests create orders automatically. Also, integrating this with your vendor and product database can prevent errors like duplicate orders or wrong product entries. Has anyone tried combining this with automated approval workflows to add an extra layer of control before the PO is finalized?

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Thank you @Cybrosis and @Lakhan Vachhani ! 

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,


In Odoo, incoming e-mails can be used to trigger actions through the mail gateway, but creating purchase orders from vendor replies is not supported out of the box. You can configure an incoming mail server and set up an alias, but since purchase orders don’t natively support email aliases, customization is required.


The typical solution is to extend the purchase order model so that when an e-mail arrives at a designated alias (e.g., purchase@yourdomain.com), Odoo creates a draft purchase order automatically. The vendor can be identified using the sender’s e-mail address, and basic details like the subject or body of the message can be used as the PO reference.


For more advanced workflows, you could parse e-mail attachments or content to fill in quantities and prices. This can be done through a custom module with minimal code or by setting up Odoo Studio automated actions to generate a blank draft PO linked to the vendor for manual completion. In short, it’s possible, but it requires either customization or automation on top of Odoo’s standard mail handling.



Hope it helps

Imagine profil
Abandonează
Cel mai bun răspuns

Hello Luca Palo,


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
feb. 25
1309
4
sept. 25
783
1
mar. 25
1146
1
oct. 25
145
1
sept. 25
697