Files
odoo_source/addons/hr_holidays/static/src/thread_patch.js
T
Michael (mcm) 9d6b380a24 [REF] *: adapt patches after new patch function
In the commit [1], the patch has been refactored to support the
native keyword `super`. The current commit just adapts the codebase
to that change.

task 3410198

[1]: 19ea1ac08043e22a811630968e44715cc3bfc495

Part-of: odoo/odoo#125716
2023-08-02 17:29:05 +02:00

13 lines
303 B
JavaScript

/* @odoo-module */
import { Thread } from "@mail/core/common/thread";
import { useService } from "@web/core/utils/hooks";
import { patch } from "@web/core/utils/patch";
patch(Thread.prototype, {
setup() {
super.setup();
this.personaService = useService("mail.persona");
},
});