Public release from ruodoo-project: 19.0 - 2026-05-31 21:19:12 UTC
This commit is contained in:
12
translation_helper/static/src/response_from_wizard.js
Normal file
12
translation_helper/static/src/response_from_wizard.js
Normal file
@ -0,0 +1,12 @@
|
||||
/** @odoo-module **/
|
||||
import {registry} from "@web/core/registry";
|
||||
|
||||
async function handleResponseFromWizard(env) {
|
||||
const actionService = env.services.action;
|
||||
env.bus.trigger("CLEAR-CACHES");
|
||||
await actionService.doAction({
|
||||
type: "ir.actions.client",
|
||||
tag: "soft_reload",
|
||||
});
|
||||
}
|
||||
registry.category("actions").add("translation_helper.response_from_wizard", handleResponseFromWizard);
|
||||
Reference in New Issue
Block a user