Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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 \'\'}'}"/>
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 23
1757
1
thg 2 19
7339
2
thg 6 20
3664
1
thg 7 25
914
5
thg 5 25
18328