500: Internal Server Error

Traza

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 810, in dispatch
    r = self._call_function(**self.params)
  File "/opt/odoo13/odoo/odoo/http.py", line 351, 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 340, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/odoo13/odoo/odoo/http.py", line 916, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo13/odoo/odoo/http.py", line 516, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo13/extramodules/custom-kangaroo/website_sale_custom_kangaroo/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'