Меню

Допомога

0

Set field value as button label in record form view

Avatar
Haresh Kansara

Hello All,


Is there any possibility to add field value as a button label?

I have added one button in sales order line and i want to show some field value as a label on button.


Thanks in advance

2 Коментар
Аватар
Відмінити
Avatar
ti-sq
-

Hi Haresh, could you post your code please?

Avatar
Mohamed Lamine Lalmi
-

Hello,

I think you question is not clear. Can you post your code please?

3 Відповіді
1
Найкраща відповідь
Hi,
You can choose the button tag for this. Create a button tag and place the field inside the button tag. Below is a small example for this.
<button class="oe_stat_button" name="document_view" type="object">
<field name="document_count"/>
</button>
Hope this helps.
Аватар
Відмінити