Skip to Content
Menu
This question has been flagged
1253 Views

This is the error... when trying to print a zpl label.
Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/addons/base/models/qweb.py", line 219, in render_template

yield from compiled_fn(self, values, log)

File "", line 37, in template_532

TypeError: 'list' object cannot be interpreted as an integer


This is the code at that location... 

def render_template(self, values):
try:
log = {'last_path_node': None}
values = self._prepare_values(values, options)
yield from compiled_fn(self, values, log)
except (QWebException, TransactionRollbackError) as e:
raise e
except Exception as e:
raise QWebException("Error when render the template", self, options,
error=e, template=template, path=log.get('last_path_node'), code=code)

return render_template

It looks like Template_532 is the issue. but I'm guessing it's passing something from the product template. Any advice on what to check?

Avatar
Discard