Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
909 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
mei 17
5622
1
mei 25
4159
2
jul. 23
6260
1
jun. 23
4287
1
apr. 23
5024