Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
936 Tampilan

Qweb is used for making the content more dynamic but Why Qweb not JS .

Here is an example 


there are 4 Spans while in JS one line of code can solve the issue.

Avatar
Buang
Jawaban Terbai

QWeb allows rendering templates on the server side, reducing the amount of computation required on the client.

It integrated with Odoo models, fields, and business logic. 

QWeb templates are compatible with Odoo Studio, allowing users to modify views without coding. JavaScript frameworks would require more advanced programming knowledge.

QWeb is optimized for generating PDFs using wkhtmltopdf.

Have you seen our documentation, particularly "A Brief History Of QWeb" at https://www.odoo.com/documentation/18.0/developer/tutorials/server_framework_101/14_qwebintro.html

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mei 17
5637
1
Mei 25
4173
2
Jul 23
6290
1
Jun 23
4319
1
Apr 23
5040