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

Hi everybody.

How I use the object 'Add an item' before a tree view? I want something like this: image description

I can make this on the chrome console : $('.oe_list_content').before($('.oe_form_field_one2many_list_row_add'));

But when I change the code [openerp/addons/web/static/src/js/view_form.js], I can't see the object.

 if ($padding.length) {
         $padding.before($newrow); 
        } else {
            //this.$current.append($newrow)
            this.$current.before($newrow);
        //  $('.oe_list_content').before($('.oe_form_field_one2many_list_row_add'));
       }

However, I can move the object 'Add an item' for the first row on table : this.prepend($newrow) image description

Anyone help me with this situation?

الصورة الرمزية
إهمال

hi need the same requirement any idea.

المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يونيو 22
4009
1
سبتمبر 21
3252
5
ديسمبر 18
11987
6
يناير 24
14013
2
ديسمبر 22
7770