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

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>

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
0
sty 17
2442
1
sty 17
3014
1
kwi 15
8227
0
wrz 23
41
4
mar 23
16996