<?xml version="1.0"?>
<t name="Livechat : Javascript appending the livechat button" t-name="im_livechat.loader">
            <t t-translation="off">
                window.addEventListener('load', function () {
                    odoo.define('im_livechat.loaderData', function() {
                        return {
                            isAvailable: <t t-out="'true' if info['available'] else 'false'"/>,
                            serverUrl: "<t t-out="info['server_url']"/>",
                            options: <t t-out="json.dumps(info.get('options', {}))"/>,
                        };
                    });
                });
            </t>
        </t>


    