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

  I want to show all week of year in one2many field odoo to compute some indicator per week, (like the image below).


  I can't declare 52 fields! and compute each one! so i need to declare the week field as array.

  how can i do that?


Avatar
Abbandona
Risposta migliore

Okay reverse your logic, Make your weeks as data, not column names. columns are static here and adding through JS would not be a good method. So I recommend swapping your axis and add weeks as data according to the year.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
lug 19
10373
0
dic 18
3518
1
mar 22
13612
1
giu 21
6745
2
dic 19
3183