Still the same error.
I did some investigation and the error is coming from the line return get_jenv().from_string(template).render(context) in the jinja.py as it is appearing in the raised below error:
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/jinja.py”, line 78, in render_template
return get_jenv().from_string(template).render(context)
File “/home/frappe/frappe-bench/env/lib/python3.6/site-packages/jinja2/asyncsupport.py”, line 76, in render
return original_render(self, *args, **kwargs)
File “/home/frappe/frappe-bench/env/lib/python3.6/site-packages/jinja2/environment.py”, line 1008, in render
return self.environment.handle_exception(exc_info, True)
File “/home/frappe/frappe-bench/env/lib/python3.6/site-packages/jinja2/environment.py”, line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File “/home/frappe/frappe-bench/env/lib/python3.6/site-packages/jinja2/_compat.py”, line 37, in reraise
raise value.with_traceback(tb)
File "
Please note that I added the following to the hooks.py and I did bench migrate but it did not resolved:
jenv = {
“methods”: [
“get_value_print:erpnext.accounts.doctype.sales_invoice.sales_invoice.get_value_print”
]
}
This obtained from the following links:
Please, I appreciate the kindly help.
Regards
Bilal