Skip to Content
Menu
This question has been flagged
1 Reply
1384 Views

i created this button..

      <form string="Button record">

              <header>

                <button string="send mail" type="object" name="btn_send_email"

                 class="oe_button oe_tree_button oe_highlight"

                  confirm="Are you sure you want to send this email"/>

              </header>

            </form>



now in the python code what do i write?

Avatar
Discard
Best Answer

Hi om,

For that you have to develop feature to send email. but it's hard to do. so for that there is one inbuild feature odoo provide. Just see in sale/purchase module in that open any order, there you can see one button SEND BY EMAIL. yoi can use thid feature to send email and you can attach files also. I think there are lots of apps are available to help you for this.

But if you want to do code then, inherit mail comopose message 

Accept and uptote if helpful

Thanks and regards

Haresh Kansara

Avatar
Discard