Initial commit: Crm packages

This commit is contained in:
Ernad Husremovic 2025-08-29 15:20:49 +02:00
commit 21a345b5b9
654 changed files with 418312 additions and 0 deletions

View file

@ -0,0 +1,23 @@
/** @odoo-module **/
import { registerPatch } from '@mail/model/model_core';
import { insert } from '@mail/model/model_field_command';
registerPatch({
name: 'MessagingInitializer',
recordMethods: {
/**
* @override
*/
_initCommands() {
this._super();
this.messaging.update({
commands: insert({
help: this.env._t("Create a new lead (/lead lead title)"),
methodName: 'execute_command_lead',
name: "lead",
}),
});
},
},
});