跳至内容
菜单
此问题已终结
1 回复
8159 查看

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
8月 24
1262
0
6月 24
155
2
8月 19
9268
1
5月 16
6286
0
6月 20
4330