Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
8104 Представления

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.

Related Posts Ответы Просмотры Активность
1
авг. 24
1210
0
июн. 24
155
2
авг. 19
9153
1
мая 16
6245
0
июн. 20
4242