Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
8259 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

Anybody found any specific solution for the original question

Imagine profil
Abandonează
Cel mai bun răspuns

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"

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
dec. 22
8794
1
dec. 19
9175
2
nov. 18
5200
1
apr. 21
11651
0
mai 21
3545