forked from Techsystech/web
[IMP] black, eslint
parent
8c2bdbee95
commit
7bcb779f84
|
@ -12,9 +12,7 @@
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"category": "Web",
|
"category": "Web",
|
||||||
"depends": ["web"],
|
"depends": ["web"],
|
||||||
"data": [
|
"data": ["security/ir.model.access.csv"],
|
||||||
"security/ir.model.access.csv"
|
|
||||||
],
|
|
||||||
"assets": {
|
"assets": {
|
||||||
"web.assets_backend": [
|
"web.assets_backend": [
|
||||||
"web_ir_actions_close_wizard_refresh_view/static/src/js/web_ir_actions_close_wizard_refresh_view.js"
|
"web_ir_actions_close_wizard_refresh_view/static/src/js/web_ir_actions_close_wizard_refresh_view.js"
|
||||||
|
|
|
@ -9,7 +9,11 @@ async function executeCloseAndRefreshView({ env, action, options }) {
|
||||||
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"},
|
||||||
{'onClose': function() {actionService.doAction(originalAction);}}
|
{
|
||||||
|
'onClose': function() {
|
||||||
|
actionService.doAction(originalAction);
|
||||||
|
}
|
||||||
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue