Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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 \'\'}'}"/>
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 23
1752
1
lut 19
7310
2
cze 20
3654
1
lip 25
875
5
maj 25
18299