コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
11194 ビュー

I have created an email template for sale order confirmed. how to hyperlink the sale order confirmed in my email send, ie, if they click on the sale order it needs to go to the confirmed sale order.

this is my template,

<record id = "rso_service_sale_order_confirmed_mail" model = "email.template">

<field name = "name"> RSO service sale order confirmed mail </ field>

<field name = "email_from">  </ field>

<field name = "subject"> Sale Order Confirmed Service </ field>

<field name = "email_to">  </ field>

<field name = "model_id" ref = "sale.model_sale_order" />

<field name = "body_html"> <! [CDATA [

<div style = "font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb (34, 34, 34); background-color: #FFF;">

<P> Dear </ p>

<p> Order Signed by $ {object.partner_id.name or 'Customer'}

<p> about $ {object.name or 'Quotation'} </ p> #saleorder confirmed

<p> Thank You </ p>

</ Div>

]]> </ Field>

</ Record>

アバター
破棄
最善の回答

Hi,

For you the better way is to refer the template named : Sales Order - Send by Email , which is there in odoo. In this email template , a button along with the mail is send and upon clicking the button the quotation will be opened for the portal users.

I think this template can help you.

Go to Settings -> Technical -> Email -> Templates, search the above template

If you want to get in the code, navigate sale -> data -> mail_template_data.xml. Here see the record named email_template_edi_sale

Thanks

アバター
破棄
著作者

@niyas raphy, I have added a button along with the mail. thank you for your valuable information.

関連投稿 返信 ビュー 活動
0
1月 17
2330
1
1月 17
2867
1
4月 15
8034
0
9月 23
41
4
3月 23
16761