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

While editing a project form, I accidentally deleted the <h1> tag from the 'name' field. Now the project name appears as regular text in the form view. I tried using the node type html_tag and got the error message "Can't Update View".

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

Again you can add h1 tab in view.
Add following code.

<h1>
    <field name="name" class="oe_inline" readonly="1"/>
</h1>

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

Sudhir, how can I add h1 tab in the view? Is there another way besides using view editor? Or if I use view editor, what node type should I use?

How did you edit the view previously?

الكاتب

I used the view editor available in the developer mode.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أغسطس 24
1259
0
يونيو 24
155
2
أغسطس 19
9262
1
مايو 16
6282
0
يونيو 20
4328