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

Hi !

Is it possible, in a one2many_list widget, to add records, like in a selection widget, in addition to create records (normal behavior) ?

I've not yet find if it's possible or not.

Thanks !

EDIT:

That's stupid, since a child can have only one parent in one2many relation. Need many2many instead !

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

PY,

Please try by specifying widget='many2many' or widget="many2many_tags" inside the xml definition.

Thanks.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks, I'll try this !

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 10 20
3171
1
thg 8 19
10575
1
thg 10 20
10471
0
thg 2 16
3782
4
thg 10 18
4195