Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
887 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
may 17
5602
1
may 25
4106
2
jul 23
6145
1
jun 23
4192
1
abr 23
4936