[IMP] mail: remove create composer suggestion view
task-2871066 closes odoo/odoo#96899 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
@@ -386,20 +386,6 @@ function getCreateComposerComponent({ env, target }) {
|
||||
};
|
||||
}
|
||||
|
||||
function getCreateComposerSuggestionViewComponent({ env, target }) {
|
||||
return async function createComposerSuggestionViewComponent(composer, props) {
|
||||
const composerView = env.services.messaging.modelManager.messaging.models['ComposerView'].create({
|
||||
qunitTest: insertAndReplace({
|
||||
composer: replace(composer),
|
||||
}),
|
||||
});
|
||||
await createRootMessagingComponent(env, "ComposerSuggestionView", {
|
||||
props: { ...props, composerView: composerView },
|
||||
target,
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
function getCreateNotificationListComponent({ env, target }) {
|
||||
return async function createNotificationListComponent({ filter = 'all' } = {}) {
|
||||
const notificationListView = env.services.messaging.modelManager.messaging.models['NotificationListView'].create({
|
||||
@@ -587,7 +573,6 @@ async function start(param0 = {}) {
|
||||
afterNextRender,
|
||||
click: getClick({ afterNextRender }),
|
||||
createComposerComponent: getCreateComposerComponent({ env: webClient.env, target }),
|
||||
createComposerSuggestionViewComponent: getCreateComposerSuggestionViewComponent({ env: webClient.env, target }),
|
||||
createNotificationListComponent: getCreateNotificationListComponent({ env: webClient.env, target }),
|
||||
createRootMessagingComponent: (componentName, props) => createRootMessagingComponent(webClient.env, componentName, { props, target }),
|
||||
env: webClient.env,
|
||||
|
||||
Reference in New Issue
Block a user