Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
913 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 17
5624
1
thg 5 25
4161
2
thg 7 23
6268
1
thg 6 23
4293
1
thg 4 23
5027