mirror of
https://github.com/bringout/oca-ocb-crm.git
synced 2026-04-25 00:12:08 +02:00
Initial commit: Crm packages
This commit is contained in:
commit
21a345b5b9
654 changed files with 418312 additions and 0 deletions
|
|
@ -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",
|
||||
}),
|
||||
});
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue