/** @odoo-module **/ import { registry } from "@web/core/registry"; import { Component, onMounted } from "@odoo/owl"; import { jsonrpc } from "@web/core/network/rpc_service"; export class ViberSystray extends Component { /** * Setup the component. */ setup() { super.setup(...arguments); onMounted(() => { $("#viber_msg_form").hide(); var self = this; jsonrpc('/web/dataset/call_kw/res.users/get_users', { model: 'res.users', method: 'get_users', args: [0], kwargs: {} }) .then(function result(e) { var select = $('#user_select'); var option = $('