Skip to Content
Menu
This question has been flagged
2353 Views

<kanban class="oe_background_grey o_kanban_dashboard o_salesteam_kanban" create="0" js_class="sales_team_dashboard"> -> odoo 10 

how we can apply js to kanban view in odoo 11? if I apply through js_class="sales_team_dashboard" is giving error

Traceback:
TypeError: Cannot read property 'prototype' of undefined
    at Class.create_view (http://localhost:8075/web/content/5887-a6fec03/web.assets_backend.js:487:35)
    at http://localhost:8075/web/content/5887-a6fec03/web.assets_backend.js:481:158
    at http://localhost:8075/web/content/632-3a8f68a/web.assets_common.js:802:681
    at fire (http://localhost:8075/web/content/632-3a8f68a/web.assets_common.js:796:299)
    at Object.add [as done] (http://localhost:8075/web/content/632-3a8f68a/web.assets_common.js:797:467)
    at Array.<anonymous> (http://localhost:8075/web/content/632-3a8f68a/web.assets_common.js:802:649)
    at Function.each (http://localhost:8075/web/content/632-3a8f68a/web.assets_common.js:625:767)
    at Object.<anonymous> (http://localhost:8075/web/content/632-3a8f68a/web.assets_common.js:802:560)
    at Function.Deferred (http://localhost:8075/web/content/632-3a8f68a/web.assets_common.js:803:194)
    at Object.then (http://localhost:8075/web/content/632-3a8f68a/web.assets_common.js:802:525)

Can somebody explain this? 
Thank You.

Avatar
Discard