Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
2
الردود
5049
أدوات العرض
Hi,
by adding form in your one2many field like this
<fields name="your_field">
<form>
write your fields
.
.
.
.
</form>
</field>
use the concept of context like:
pass the context in the form view:
<field name="an_one2many_field_ids" context="{'only_with_tree': true}">
collect the context in the tree view for specific fields:
<field name="my_fields" invisible="context.get('only_with_tree', false)"/>
hope this may hep in your case.
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل