跳至内容
菜单
此问题已终结
2425 查看

Hi,

So I've been playing around with Odoo's code for some time. I understand most of the basic concepts. However, I am having a hard time figuring out the difference between static and dynamic templates and their applications.

If I understand correctly, dynamic templates are parsed server-side. Meaning that they have direct access to database data.

Static template on the other hand are rendered client-side. Meaning they have no direct access to database data.

Why would you use static templates, if dynamic templates give you access to the data? What is the purpose of having both of these? is it for security reasons?

Thanks in advance!

形象
丢弃
相关帖文 回复 查看 活动
2
3月 23
1585
0
9月 20
2149
1
2月 20
3121
1
5月 16
3588
1
5月 25
44