3
0
Fork 0

[IMP] eslint

16.0
bobslee 2023-05-20 14:04:52 +02:00
parent 7bcb779f84
commit b1a48465d5
1 changed files with 3 additions and 3 deletions

View File

@ -5,12 +5,12 @@ import {useService} from "@web/core/utils/hooks";
async function executeCloseAndRefreshView({env, action, options}) {
// env.services.ui.block();
const actionService = env.services['action'];
const actionService = env.services["action"];
const originalAction = action._originalAction;
return actionService.doAction(
{'type': "ir.actions.act_window_close"},
{type: "ir.actions.act_window_close"},
{
'onClose': function() {
onClose: function() {
actionService.doAction(originalAction);
}
}