Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
8269 Переглядів

Hello,

How the edit button in a form view can be renamed for a specific model only and not be altered for the other model?

i.e: When opening the form view of a res.partner, change the edit label to "Edit the contact information". And still have the label "Edit" for the other models.

Thanks.

Аватар
Відмінити
Найкраща відповідь

Anybody found any specific solution for the original question

Аватар
Відмінити
Найкраща відповідь

The template for that button is in web/static/src/xml/base.xml

You will have to create a new module that inherits the FormView buttons template and adds more code to it so that it does what you need it to do.

The template name is t-name="FormView.buttons"

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
груд. 22
8799
Add Label up of form Вирішено
1
груд. 19
9184
2
лист. 18
5204
1
квіт. 21
11661
0
трав. 21
3550