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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1468
أدوات العرض
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل