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,25 @@
/** @odoo-module **/
import { registerPatch } from "@mail/model/model_core";
registerPatch({
name: "ir.model",
fields: {
availableWebViews: {
compute() {
if (this.model === "crm.lead") {
return [
'list',
'kanban',
'form',
'calendar',
'pivot',
'graph',
'activity',
];
}
return this._super();
},
},
},
});