Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2973 Переглядів

  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?


Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
4
лип. 19
10405
0
груд. 18
3536
1
бер. 22
13627
1
черв. 21
6774
2
груд. 19
3212