Skip to Content
Menú
This question has been flagged
3652 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
1
de juny 25
317
1
de juny 25
279
1
de maig 25
835
0
de març 25
483
1
de des. 24
3110