This question has been flagged

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.


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 \'\'}'}"/>
Avatar
Discard