Odoo Hilfe

0
4 Answers
1
yopi
18.02.15 04:36

I think i solved it. :)

it's a simple solution, just load the email template and then sent it

example: 

template_id = self.env.ref('model.xml_id')

template_id.send_mail(self.ids[0], force_send=True)

 

1 Kommentar
cmshitech, Murugan Chinnasamy
31.08.18 08:00

This is working good

0
Ruturaj Chavda
21.01.19 04:53

Hi ,Create a new custom module and write the same code. It works.

0
krishnakanth
16.03.16 05:23

Hi, Try this solution once as follows: If your rendering datetime field value: here object.cutoff_date is datetime field ${format_tz(object.cutoff_date, format= '%d/%b/%Y')} If Date field as follows: here object.cutoff_date is date field ${format_tz(object.cutoff_date+ ' 00:00:00', format= '%d/%b/%Y')}

Fragen Sie
Writer
166
yopi
Keep Informed
2 Verfolger
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now