Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
elok. 23
1755
1
helmik. 19
7323
2
kesäk. 20
3659
1
heinäk. 25
889
5
toukok. 25
18307