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

Hello,

I have this two models EstatePropertyModel and AuthorsModel, and I would like to display the entries of the AuthorsModel in the form of the EstatePropertyModel:


name="name">estate.property.form
name="model">estate.property
name="arch" type="xml">
name="name"/>
name="description"/>
name="postcode"/>
name="date_availability"/>
name="expected_price"/>
name="selling_price"/>
name="bedrooms"/>
name="living_area"/>
name="facades"/>
name="garage"/>
name="garden"/>
name="garden_area"/>
name="garden_orientation"/>
name="state_property"/>
name="active"/>


Authors


No authors










Is this possible?

I am new in the odoo development, and I am asking to point me the direction where to look! 

Thanks


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

Thanks for you respense, I have added the one2Many field but I want to display it inside the view, in custom way. Not to just add the field name.

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

Hi,

Not sure what exactly you are looking for, will adding a one2many from model 1 to model 2 will resolve your case ?

-->  One2many field in Odoo

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 15
5563
1
thg 3 15
3718
3
thg 5 24
3234
1
thg 11 22
3325
1
thg 9 22
2635