Skip to content
Snippets Groups Projects
Commit b19c7c54 authored by jerome hanke (jhk)'s avatar jerome hanke (jhk) Committed by Nicolas Lempereur
Browse files

[FIX] base: prevent selecting unsupported "action types" in scheduled actions


Currently, scheduled Actions only work if you choose "Python Code" as
the action type ("Action To Do"). Other action types are not really
supported as they work "record-wise" (using active_ids) which makes no
sense for scheduled actions.

We should help users avoid surprises by hiding the "Action To Do" field
on scheduled actions, and default to "Python Code" implicitly.

Example steps to reproduce :

- go to scheduled actions > create a new action
- select "Execute several actions" as action to do
- add several actions to execute
- run this action

=> the sub-actions were not executed

opw-2227082

closes odoo/odoo#51215

X-original-commit: 06c72417
Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent 991c3392
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment