Hello, I am new to odoo, for my custom module I need to send a single email to all my selected res.partners from tree view. After selecting records, I have used mail.mail to send emails but when i click on send email action my mail.mail form do no show any data in email_to field and i had to fill that field explicitly for every record i wanted. Would you please help me to know how to select multiple entries from a tree view for my email_to field or is their any other way to achieve this.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
4407
Views
here is my Act_window code from view.xml
<act_window id="Identifier"
name="Send E"
src_model="res.partner"
res_model="mail.mail"
view_mode="form"
multi="True"
target="new"
key2="client_action_multi"
context="{'default_email_to': '${object.id or \'\'}'}"/>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Aug 23
|
796 | ||
|
1
Feb 19
|
5044 | ||
|
2
Jun 20
|
2948 | ||
|
0
Oct 24
|
3 | ||
|
2
Jul 24
|
605 |