Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3651 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 25
312
1
giu 25
277
1
mag 25
830
0
mar 25
475
1
dic 24
3101