What is the difference between xpath and t-jquery? They seem to do the same thing - modify existing module files (add or replace tags).
Which one should I use and when?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Odoo has two different templates rendering engine know as Qweb
one for server-side rendering and other for client-side rendering
both used the similar syntax (t-if, t-foreah..) except template inheritance
server-side user xpath and client-side user jquery to for inherit template
You may probably get a better answer but from my limit experience, "t-query" or qweb is predominantly used in customising reports as it is HTML based https://www.odoo.com/documentation/12.0/reference/qweb.html
Where as xpath is used in the forms and views https://www.odoo.com/documentation/12.0/reference/views.html
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
Odoo Mail Sending Limit
Đã xử lý
|
|
2
thg 12 23
|
14911 | |
|
0
thg 10 23
|
33 | ||
|
3
thg 10 23
|
790 | ||
|
1
thg 10 23
|
569 | ||
|
1
thg 8 23
|
2557 |