Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0] mail_activity_board: AttributeError: The method 'redirect_to_activities' does not exist #1467

Open
astirpe opened this issue Oct 11, 2024 · 0 comments
Labels

Comments

@astirpe
Copy link
Member

astirpe commented Oct 11, 2024

Module

mail_activity_board

Describe the bug

Traceback (most recent call last):
File "/opt/odoo/odoo/http.py", line 1783, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/opt/odoo/odoo/http.py", line 1810, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/odoo/odoo/http.py", line 2014, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/odoo/odoo/addons/base/models/ir_http.py", line 222, in _dispatch
result = endpoint(**request.params)
File "/opt/odoo/odoo/http.py", line 759, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo/addons/web/controllers/dataset.py", line 24, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo/api.py", line 461, in call_kw
raise AttributeError(f"The method '{name}' does not exist on the model '{model._name}'")
AttributeError: The method 'redirect_to_activities' does not exist on the model 'stock.scrap'

To Reproduce

17.0 on runboat OCA/social:

Steps to reproduce the behavior:

  1. Go to Inventory > Operations > Scrap
  2. Create one record
  3. Click on "View Activities"

Alternatively:

  1. Go to Email Marketing > Mailing Lists > Mailing List Contacts
  2. Open one record
  3. Click on "View Activities"

Expected behavior
As in 16.0, I would expect that no error occurs and "View Activities" doesn't open any activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant