تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
1973 أدوات العرض

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


الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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.

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
سبتمبر 15
5599
1
مارس 15
3755
3
مايو 24
3306
1
نوفمبر 22
3389
1
سبتمبر 22
2675