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:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
2
Antwoorden
4001
Weergaven
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!
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden