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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
4
7月 19
|
10910 | |||
|
0
12月 18
|
3940 | |||
|
1
3月 22
|
14462 | |||
|
1
6月 21
|
7232 | |||
|
2
12月 19
|
3568 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.