Can anyone knows how to sort a list in mako file for a webkit report?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
2
Cevaplar
3990
Görünümler
Hi Surendar,
In mako template you can open python code block like this:
<%
# You can sort your list of records here
%>
I hope this helps :-) Cheers, Petar
Webkit report supports Python code, to use the python code in the mako template you can use,
<%
#Python code
%>
Here you can write your python code to sort the data!
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol