Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2894 Представления

  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
10300
0
дек. 18
3447
1
мар. 22
13496
1
июн. 21
6678
2
дек. 19
3095