Community mailing list archives

community@mail.odoo.com

Re: Multiple invoice contacts for email

by
Graeme Gellatly
- 05/26/2016 05:00:48

Interesting I had to do exactly this today.  However your case is much simpler, just edit the template.

A list comprehension that returns a comma seperated list of partner_ids as strings is all you need. E.g ${','.join([str(x.id) for x in... If x.type =... And x.email])}


On Thu, 26 May 2016 6:37 PM Torvald Baade Bringsvor <torvald@bringsvor.com> wrote:
Thanks for the tip, that actually works. Don't know why I didn't think of that :-)

It's a bit of a hack, but it will do for now. Appreciated.

-Torvald


Torvald Baade Bringsvor
Bringsvor Consulting AS - Odoo (formerly OpenERP) implementation partner


2016-05-26 8:27 GMT+02:00 Pedro Manuel Baeza Romero <pedro.baeza@gmail.com>:
I think there's a trick, but I haven't tried since a long time ago (so maybe it has been inhibited): on the contact e-mail, put several e-mail addresses split by a comma (or a semicolon, I don't remember well), and the e-mail will be sent to both.

Regards.
2016-05-26 8:22 GMT+02:00 Torvald Baade Bringsvor <torvald@bringsvor.com>:
Hi

I have a situation where my customer wishes to receive invoices on two email addresses. So the best thing would be to be able to click on the button to send by email, and then there could be two invoice contacts or something.

However,k as it is today, Odoo seems to be using the email address of the partner, not the invoice contact, to send invoices.

Are there any modules out there that can help me with sending invoices to multiple emails, or do I have to make something new?



Torvald Baade Bringsvor
Bringsvor Consulting AS - Odoo (formerly OpenERP) implementation partner

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe