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

[14.0][mig] web_ir_actions_act_multi #1755

Merged
merged 10 commits into from
Aug 18, 2021

Conversation

koenloodts
Copy link
Contributor

No description provided.

@koenloodts koenloodts changed the title 14.0 mig web ir actions act multi [14.0] [mig] web_ir_actions_act_multi Dec 3, 2020
@koenloodts koenloodts changed the title [14.0] [mig] web_ir_actions_act_multi [14.0][mig] web_ir_actions_act_multi Dec 3, 2020
@koenloodts koenloodts mentioned this pull request Jan 5, 2021
34 tasks
@ygol
Copy link

ygol commented Apr 14, 2021

I think there might be a problem.
I've tested with:

project_timesheet_time_control [14.0]
OCA/project#772

Has 4 dependencies:
"hr_timesheet_task_stage", ==> OCA/timesheet#428
"hr_timesheet_task_domain", ==> OCA/timesheet#427
"web_ir_actions_act_multi", ==> #1755
"web_ir_actions_act_view_reload" ==> #1816

when clicking on "start work" in a task the wizard opens and clicking on "date" produces:

Error:
Odoo Server Error

Traceback (most recent call last):
  File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/opt/odoo/custom/src/odoo/odoo/http.py", line 683, in dispatch
    result = self._call_function(**self.params)
  File "/opt/odoo/custom/src/odoo/odoo/http.py", line 359, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo/custom/src/odoo/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo/custom/src/odoo/odoo/http.py", line 347, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/odoo/custom/src/odoo/odoo/http.py", line 912, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo/custom/src/odoo/odoo/http.py", line 531, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo/auto/addons/web/controllers/main.py", line 1395, in call_button
    return clean_action(action, env=request.env)
  File "/opt/odoo/auto/addons/web/controllers/main.py", line 333, in clean_action
    readable_fields = env[action['type']]._get_readable_fields()
  File "/opt/odoo/custom/src/odoo/odoo/api.py", line 473, in __getitem__
    return self.registry[model_name]._browse(self, (), ())
  File "/opt/odoo/custom/src/odoo/odoo/modules/registry.py", line 177, in __getitem__
    return self.models[model_name]
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/odoo/custom/src/odoo/odoo/http.py", line 639, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo/custom/src/odoo/odoo/http.py", line 315, in _handle_exception
    raise exception.with_traceback(None) from new_cause
KeyError: 'ir.actions.act_multi'

@rven rven force-pushed the 14.0-mig-web_ir_actions_act_multi branch from f695c62 to 60a7fe7 Compare June 8, 2021 09:51
@rven rven force-pushed the 14.0-mig-web_ir_actions_act_multi branch from 60a7fe7 to f909a67 Compare June 8, 2021 10:54
@rven
Copy link
Contributor

rven commented Jun 8, 2021

@ygol The above raised issue should be fixed now!
Can you verify this again?

@ygol
Copy link

ygol commented Jun 10, 2021

@ygol The above raised issue should be fixed now!
Can you verify this again?

just tested again. It seem to work indeed. tnx

@analogwerk
Copy link

tested it today and it works for me!

@AntoniRomera
Copy link

AntoniRomera commented Aug 18, 2021

@OCA/web-maintainers Can you do the merge of this one please.

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 14.0-ocabot-merge-pr-1755-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit ce62287 into OCA:14.0 Aug 18, 2021
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 3f33fd4. Thanks a lot for contributing to OCA. ❤️

@Mantux11
Copy link
Contributor

Doesn't work.

Odoo Server Error

Traceback (most recent call last):
  File "/home/odoo14/odoo14/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/home/odoo14/odoo14/src/odoo/odoo/http.py", line 685, in dispatch
    result = self._call_function(**self.params)
  File "/home/odoo14/odoo14/src/odoo/odoo/http.py", line 361, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/odoo14/odoo14/src/odoo/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo14/odoo14/src/odoo/odoo/http.py", line 349, in checked_call
    result = self.endpoint(*a, **kw)
  File "/home/odoo14/odoo14/src/odoo/odoo/http.py", line 914, in __call__
    return self.method(*args, **kw)
  File "/home/odoo14/odoo14/src/odoo/odoo/http.py", line 533, in response_wrap
    response = f(*args, **kw)
  File "/home/odoo14/odoo14/src/odoo/addons/web/controllers/main.py", line 1400, in call_button
    return clean_action(action, env=request.env)
  File "/home/odoo14/odoo14/src/odoo/addons/web/controllers/main.py", line 332, in clean_action
    readable_fields = env[action['type']]._get_readable_fields()
  File "/home/odoo14/odoo14/src/odoo/odoo/api.py", line 476, in __getitem__
    return self.registry[model_name]._browse(self, (), ())
  File "/home/odoo14/odoo14/src/odoo/odoo/modules/registry.py", line 177, in __getitem__
    return self.models[model_name]
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/odoo14/odoo14/src/odoo/odoo/http.py", line 641, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/odoo14/odoo14/src/odoo/odoo/http.py", line 317, in _handle_exception
    raise exception.with_traceback(None) from new_cause
KeyError: 'ir.actions.act_view_reload'

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

Successfully merging this pull request may close these issues.

None yet