Skip to Content
Menu
This question has been flagged
3633 Views

I've add a javascript file to make some change on kanban view.

odoo.define('kpi_hr.weekly', function (require) {
"use strict";

$(window).load(function(){
console.log($(".container-fluid").html());
console.log($("div.o_primary").html());
});

First log shows the html contents  But second log shows "undefined"

Of course, first class is way parent class which is located at header and second one is  located at each kanban.

What should i do?


Avatar
Discard
Related Posts Replies Views Activity
1
May 25
692
0
Mar 25
350
1
Dec 24
2784
2
Nov 24
1094
1
Oct 24
1690