[FIX] developer/frontend: typo in the user menu registry example
closes odoo/documentation#2038
X-original-commit: 6d30d81a76
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
d67a2492ce
commit
a572e055a8
@ -298,7 +298,7 @@ Example:
|
||||
registry.category("user_menuitems").add("my item", (env) => {
|
||||
return {
|
||||
description: env._t("Technical Settings"),
|
||||
callback: () => { env.services.action_manager.doAction(3); };
|
||||
callback: () => { env.services.action_manager.doAction(3); },
|
||||
hide: (Math.random() < 0.5),
|
||||
};
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user