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

web_ir_actions_act_multi v16 - problem with 'target' #3138

Open
piotrhaya opened this issue Mar 28, 2025 · 0 comments
Open

web_ir_actions_act_multi v16 - problem with 'target' #3138

piotrhaya opened this issue Mar 28, 2025 · 0 comments
Labels

Comments

@piotrhaya
Copy link

piotrhaya commented Mar 28, 2025

web_ir_actions_act_multi

Hello, I noticed problem that if inside "actions", one of the actions has ('target': 'self'), it is running only one action.
Anybody encountered thats too ? When '(target': 'new'), everything is working properly.
I am trying to download multiple attachments but without opening new tabs.

inside "actions" there are list of:

'type': 'ir.actions.act_url',
'url': f"/web/content/{attachment.id}?download=true",
'target': 'self',

My multi action.
return {
'type': 'ir.actions.act_multi',
'actions': actions,
'target': 'self',
}

Did anybody encounter that too ? Is that normal behaviour ?

@piotrhaya piotrhaya added the bug label Mar 28, 2025
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