Traceback (most recent call last):
File "/opt/odoo13/odoo/odoo/addons/base/models/ir_http.py", line 234, in _dispatch
result = request.dispatch()
File "/opt/odoo13/odoo/odoo/http.py", line 809, in dispatch
r = self._call_function(**self.params)
File "/opt/odoo13/odoo/odoo/http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo13/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo13/odoo/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo13/odoo/odoo/http.py", line 915, in __call__
return self.method(*args, **kw)
File "/opt/odoo13/odoo/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/opt/odoo13/extramodules/custom-kangaroo/custom_theme_prime/controllers/main.py", line 14, in print_id
filename = request.env['product.template'].search([('id', '=', id)]).name + '.pdf'
TypeError: unsupported operand type(s) for +: 'bool' and 'str'