[IMP] mail: introduce messaging variable in form renderer code
It is used in enterprise to further clean up the code. Part of task-2871070 Part-of: odoo/odoo#95085
This commit is contained in:
@@ -25,6 +25,10 @@ FormRenderer.include({
|
||||
this.hasAttachmentViewerFeature = params.hasAttachmentViewerFeature;
|
||||
this.chatterFields = params.chatterFields;
|
||||
this.mailFields = params.mailFields;
|
||||
this.messaging = undefined;
|
||||
if (owl.Component.env.services.messaging) {
|
||||
owl.Component.env.services.messaging.get().then(messaging => this.messaging = messaging);
|
||||
}
|
||||
this._chatterContainerComponent = undefined;
|
||||
/**
|
||||
* The target of chatter, if chatter has to be appended to the DOM.
|
||||
|
||||
Reference in New Issue
Block a user