Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1129 Lượt xem

Is there an OCA Module to have dynamic fields?


I basically want to store this data:

"attributes": [ { "key": "AssignOrt", "value": "Wels" }, { "key": "OrteInformationsId", "value": "430000879" }, { "key": "GEMKZF", "value": "40301" }]


I'm thinking about a Mixin or something to ease the creation of this datastructure.

I think of somthing like the functionality in the product.template for the variant creation. -> I eg. need a view to see all the values for eg. AssignOrt.



Ảnh đại diện
Huỷ bỏ

Hello Nikolaus

Did you find or develop any solution for such requirement ?

Tác giả

No.
I solved it by storing the json in a Char Field. (Performance wasn't an issue)
Then I created compute fields loading the data and extracting the information if exists.
It still needs manual programming for every field ... so it's good enough but would be cool to get something that solves this without manual adeption.

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 5 25
1858
1
thg 4 25
1386
3
thg 9 24
14356
2
thg 2 24
2580
1
thg 7 23
2809