Can someone please help me in displaying list from python method to jinja print format in a loop.
Thanks in advance.
Thanks for replying @lokesh,
but getting this error :
jinja2.exceptions.UndefinedError: ‘erpnext.stock.doctype.route_allocation.route_allocation.routeallocation object’ has no attribute ‘create_del_table’
optimisation in jinja not recommended you may calculate on form object and store there and can fetch from the form to print format
It will increase form size and field also
Hi, try this
{% set var = doc.methodname() %}
{% for row in var %}
{{row}}
{% endfor %}
Same error