This question has been flagged

when my user login on portal Ecommerce and then go to the account and then click on my opportunities then get error 500.

whats the solution?

Traceback (most recent call last):
  File "/home/odoo/src/odoo/odoo/tools/cache.py", line 88, in lookup
    r = d[key]
  File "/home/odoo/src/odoo/odoo/tools/func.py", line 69, in wrapper
    return func(self, *args, **kwargs)
  File "/home/odoo/src/odoo/odoo/tools/lru.py", line 44, in __getitem__
    a = self.d[obj].me
KeyError: ('ir.ui.view', <function View.get_view_id at 0x7f2b69451730>, 2, 'website_crm_partner_assign.portal_my_opportunities', (1,))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 203, in _dispatch
    result = request.dispatch()
  File "/home/odoo/src/odoo/odoo/http.py", line 835, in dispatch
    r = self._call_function(**self.params)
  File "/home/odoo/src/odoo/odoo/http.py", line 346, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/odoo/src/odoo/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo/src/odoo/odoo/http.py", line 342, in checked_call
    result.flatten()
  File "/home/odoo/src/odoo/odoo/http.py", line 1270, in flatten
    self.response.append(self.render())
  File "/home/odoo/src/odoo/odoo/http.py", line 1263, in render
    return env["ir.ui.view"].render_template(self.template, self.qcontext)
  File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 1299, in render_template
    return self.browse(self.get_view_id(template)).render(values, engine)
  File "<decorator-gen-228>", line 2, in get_view_id
  File "/home/odoo/src/odoo/odoo/tools/cache.py", line 93, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/home/odoo/src/odoo/addons/website/models/ir_ui_view.py", line 279, in get_view_id
    raise ValueError('View %r in website %r not found' % (xml_id, self._context['website_id']))
ValueError: View 'website_crm_partner_assign.portal_my_opportunities' in website 1 not found
Avatar
Discard

please check whether website_crm_partner_assign is installed or not. if installed then somehow it gets removed. So upgrade the same addon.

Author Best Answer

I already uninstall Resellers Module and then 'my opportunities' remove from my account section.


Avatar
Discard