updates
This commit is contained in:
14
voip_ringcentral/static/src/voip_service_patch.js
Normal file
14
voip_ringcentral/static/src/voip_service_patch.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/** @odoo-module **/
|
||||
|
||||
import { Voip } from "@voip/core/voip_service";
|
||||
|
||||
import { patch } from "@web/core/utils/patch";
|
||||
|
||||
patch(Voip.prototype, {
|
||||
get areCredentialsSet() {
|
||||
return Boolean(this.store.settings.rc_authorization_id) && super.areCredentialsSet;
|
||||
},
|
||||
get authorizationUsername() {
|
||||
return this.store.settings.rc_authorization_id || "";
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user