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

I have seen lots of examples on the internet mentioning a one2many field in xml like so:

<field name="my_field" widget="one2many_list">
<tree>
<field>....</field>
</tree>
</field>

I tried it and it does not seem to make any difference. Can someone tell me what it is used for?

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

anything else related?

Câu trả lời hay nhất

It's just for backward compatibility, it's the same widget under the hood

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

My friend;

Here are some useful links:

http://dirtyhandsphp.blogspot.com/2014/07/openerp-customize-one2many-relational.html

http://stackoverflow.com/questions/31607934/odoo-one2many-default-not-set

Regards.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 21
3386
2
thg 5 20
8760
1
thg 4 16
4022
1
thg 5 25
227
1
thg 7 24
1268