Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1234 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
maj 17
5881
1
maj 25
4600
2
lip 23
6930
1
cze 23
4683
1
kwi 23
5378