Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5753 Lượt xem

There are placeholders in the templates and conditions that hide or show contents - those are the things I'd like to know more about.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

A good explanation that I've seen is at https://bloopark.de/en_US/blog/the-bloopark-times-english-2/post/qweb-email-templates-in-odoo-10-271

Also, Odoo uses Jinja2 for our email templates so Jinja's documentation will be helpful. You can find it at: https://jinja.palletsprojects.com/en/2.11.x/

Rather than edit the template in presentation mode, we recommend switching to the Code View so that you can see the formatting characters and flow of control via the code:


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Have the same problem here.
Editing of the email templates using the ui works nicely, even if you have multiple languages installed. In that case just change the translation.

But how do I introduce such email template or translation changes using a custom mudule without modifing the original modul and its translations?

Cheers
Stephan

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 24
2516
1
thg 7 23
3422
3
thg 12 23
19135
1
thg 2 22
6167
0
thg 8 21
2548