Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
6753 Переглядів

Hello everyone 
i'm trying to integrate the full calendar plugin v3.4.0 which require jquery v2.0.0 in a custom widget 

the problem is that odoo 10 uses jquery v1.11.1 

and as you know i cannot add the newer jquery version to my module because of conflicts

i alreay tried using two different versions

<template id="assets_backend" name="school_assets" inherit_id="web.assets_backend">

            <xpath expr="." position="inside">

                <link href='/school/static/src/css/style.css' rel='stylesheet' />

                <link href='/school/static/lib/fullcalendar/fullcalendar.css' rel='stylesheet' />

                <link href='/school/static/lib/fullcalendar/fullcalendar.print.css' rel='stylesheet' media='print' />

                <script src='/school/static/lib/fullcalendar/lib/moment.min.js'></script>

                <script src='/school/static/lib/fullcalendar/lib/jquery.js'></script> 

                <script src='/school/static/lib/fullcalendar/fullcalendar.js'></script>

                <script src='/school/static/lib/fullcalendar/locale/fr.js'></script>

                <script type="text/javascript" src="/school/static/src/js/widget.js"/>

            </xpath>

        </template>


and got this output:


web.assets_common.js:3154
Uncaught TypeError: $.param.querystring is not a function at Class.rpc (http://localhost:8069/web/content/251-9e0ad3c/web.assets_common.js:3154:66) at Class.load_translations (http://localhost:8069/web/content/251-9e0ad3c/web.assets_common.js:3018:661) at Class.load_translations (http://localhost:8069/web/content/251-9e0ad3c/web.assets_common.js:3145:189) at Class.load_modules (http://localhost:8069/web/content/251-9e0ad3c/web.assets_common.js:3144:306) at Object.<anonymous> (http://localhost:8069/web/content/251-9e0ad3c/web.assets_common.js:3136:773) at Object.<anonymous> (http://localhost:8069/web/content/251-9e0ad3c/web.assets_common.js:547:681) at fire (http://localhost:8069/web/content/251-9e0ad3c/web.assets_common.js:541:299) at Object.fireWith [as resolveWith] (http://localhost:8069/web/content/251-9e0ad3c/web.assets_common.js:546:198) at Object.deferred.(anonymous function) [as resolve] (http://localhost:8069/web/content/251-9e0ad3c/web.assets_common.js:548:56) at Object.<anonymous> (http://localhost:8069/web/content/251-9e0ad3c/web.assets_common.js:3201:169)

does anyone faced such situation?

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
жовт. 24
3969
2
лип. 22
12419
0
лют. 20
3736
1
серп. 19
4358
4
вер. 17
3141