3
0
Fork 0

[IMP] black, eslint

16.0
bobslee 2023-05-20 14:01:11 +02:00
parent 8c2bdbee95
commit 7bcb779f84
2 changed files with 9 additions and 7 deletions

View File

@ -12,9 +12,7 @@
"license": "AGPL-3",
"category": "Web",
"depends": ["web"],
"data": [
"security/ir.model.access.csv"
],
"data": ["security/ir.model.access.csv"],
"assets": {
"web.assets_backend": [
"web_ir_actions_close_wizard_refresh_view/static/src/js/web_ir_actions_close_wizard_refresh_view.js"

View File

@ -9,7 +9,11 @@ async function executeCloseAndRefreshView({ env, action, options }) {
const originalAction = action._originalAction;
return actionService.doAction(
{'type': "ir.actions.act_window_close"},
{'onClose': function() {actionService.doAction(originalAction);}}
{
'onClose': function() {
actionService.doAction(originalAction);
}
}
);
}