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

Hi, 


I need the "add a line" button on top of the tree within a form.

How can I achieve this?

Thank you

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

Hi,

You can use the attribute editable='top' in your tree view

example:

<tree string="Order" editable="top">
         <field name="name"/>
         <field name="model_id"/>
   </tree>

Hope it helps

الصورة الرمزية
إهمال
الكاتب

does not work if the tree is inside a form

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 25
2473
2
يوليو 25
7922
2
يوليو 25
4346
2
يوليو 25
4079
2
يونيو 25
2671