forked from Techsystech/web
[IMP] eslint
parent
7bcb779f84
commit
b1a48465d5
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue