Repository navigation
Conversation
|
But sales uses the mail from the sales team, in project, the mail from the project, from helpdesk, the one from team.... From invoices maybe it gets it from journal. I don't know, I did not review the code, but this is what I usually use |
Exactly, all the emails come from a different place and those emails are used to send or receive emails, which is not the case here. And there's no concept of "team" in odoo. That's only available for crm and is only for sales. I could implement this only in EDI but I don't find this to be very specific to EDI exchanges only. You might want to send an email from global company email referring to the purchase dept or sales w/o hardcoding it in the mail template. |
|
@etobella can you check my last comment? :) |
|
Well, I thought that was the use of alias. However, I am not against or in favor of it. |
Add a module letting each company define the email address to use for each department (sale, purchase, accounting, logistics, support). Rationale: we want outgoing emails to be sent from a department address (e.g. sales@ or purchase@) instead of the generic company address, and the choice must be per company, so it cannot be a global system parameter. Odoo core only offers a single From per company (res.company email / alias domain default), and the outgoing server options (from_filter, smtp_from) select a server, not a department sender. Aliases are inbound routing objects and do not define a sender. Sales teams (crm.team) have an inbound alias only, and hr.department has no email at all. Hence, to my knowledge there's nothing available that allows to configure this in a centralized way. The module does not change how mails are sent: wiring the sender into mail templates or other features is your work, dear integrator :)
48db5fc to
c059968
Compare
|
@simahawk can you open the PR for reviews? |
Add a module letting each company define the email address to use for each department (sale, purchase, accounting, logistics, support).
Rationale: we want outgoing emails to be sent from a department address (e.g. sales@ or purchase@) instead of the generic company address, and the choice must be per company, so it cannot be a global system parameter. Odoo core only offers a single From per company (res.company email / alias domain default), and the outgoing server options (from_filter, smtp_from) select a server, not a department sender. Aliases are inbound routing objects and do not define a sender. Sales teams (crm.team) have an inbound alias only, and hr.department has no email at all.
Hence, to my knowledge there's nothing available that allows to configure this in a centralized way.
The module does not change how mails are sent: wiring the sender into mail templates or other features is your work, dear integrator :)
@OCA/mail-maintainers I'm open for suggestions 🙏