mirror of
https://github.com/bringout/oca-web.git
synced 2026-04-18 11:32:06 +02:00
Add oca-web submodule with 68 web modules
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
af56672c08
commit
53fddf87c8
2469 changed files with 101716 additions and 0 deletions
|
|
@ -0,0 +1,32 @@
|
|||
/** @odoo-module **/
|
||||
import {Trip} from "@web_help/trip.esm";
|
||||
import {registry} from "@web/core/registry";
|
||||
|
||||
export class UserTrip extends Trip {
|
||||
setup() {
|
||||
this.addStep({
|
||||
selector: ".o_list_button_add, .o-kanban-button-new",
|
||||
content: this.env._t("To create a new user click here."),
|
||||
});
|
||||
|
||||
this.addStep({
|
||||
selector: ".o_cp_searchview, .o_enable_searchview",
|
||||
content: this.env._t("Use the searchbar to find specific users."),
|
||||
renderContext: {
|
||||
cbBtnText: this.env._t("Next"),
|
||||
closeBtnText: this.env._t("Cancel"),
|
||||
},
|
||||
});
|
||||
|
||||
this.addStep({
|
||||
selector: ".o_cp_switch_buttons",
|
||||
content: this.env._t("You can switch to different views here."),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
registry.category("trips").add("user_trip", {
|
||||
Trip: UserTrip,
|
||||
selector: (model, viewType) =>
|
||||
model === "res.users" && ["list", "kanban"].includes(viewType),
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue