mirror of
https://github.com/bringout/oca-ocb-mail.git
synced 2026-04-22 15:22:02 +02:00
17 lines
395 B
JavaScript
17 lines
395 B
JavaScript
/** @odoo-module **/
|
|
|
|
import { registerPatch } from '@mail/model/model_core';
|
|
import { many } from '@mail/model/model_field';
|
|
|
|
registerPatch({
|
|
name: 'Messaging',
|
|
fields: {
|
|
/**
|
|
* All pinned livechats that are known.
|
|
*/
|
|
pinnedLivechats: many('Thread', {
|
|
inverse: 'messagingAsPinnedLivechat',
|
|
readonly: true,
|
|
}),
|
|
},
|
|
});
|