forked from Techsystech/web
[IMP] eslint
parent
d783177f89
commit
cbe00c470e
|
@ -4,8 +4,7 @@ import {registry} from "@web/core/registry";
|
||||||
import {useService} from "@web/core/utils/hooks";
|
import {useService} from "@web/core/utils/hooks";
|
||||||
|
|
||||||
async function executeCloseAndRefreshView({env, action, options}) {
|
async function executeCloseAndRefreshView({env, action, options}) {
|
||||||
// env.services.ui.block();
|
const actionService = env.services.action;
|
||||||
const actionService = env.services["action"];
|
|
||||||
const originalAction = action._originalAction;
|
const originalAction = action._originalAction;
|
||||||
return actionService.doAction(
|
return actionService.doAction(
|
||||||
{type: "ir.actions.act_window_close"},
|
{type: "ir.actions.act_window_close"},
|
||||||
|
|
Loading…
Reference in New Issue