Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2888 Weergaven

  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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
4
jul. 19
10298
0
dec. 18
3446
1
mrt. 22
13492
1
jun. 21
6677
2
dec. 19
3092