コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
8283 ビュー

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"

アバター
破棄
関連投稿 返信 ビュー 活動
2
12月 22
8817
1
12月 19
9193
2
11月 18
5212
1
4月 21
11685
0
5月 21
3559