Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2483 มุมมอง

Hello again, 
Guys, it's like this....
I followed the suggestion that was given to me here, however I have tried everything and it happens that now the two values(strings) appear inside the button, the condition that I created is not working, it should appear only one, according to the name that is inside the picking_type_name, but it won't...
I don't know what to do anymore... 
I know that in this print is the.picking_type_id.name, but before it was the.picking_type_name and gave the same problem with the two values inside the button...
Help 😦





อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

In the given case you need to add a string in each button :
for trying that method you can add the corresponding name for each button

<button name="action_button_option_reception" string="Option Reception" type="object" class="oe_highlight" // you can add your cosntraints/>


Hope it helps

อวตาร
ละทิ้ง
ผู้เขียน

Thanks for the help, but actually, I had to create a condition in python and then create a search to be able to pass the information I wanted inside the button. Now it is functional. Thank you for your help. :)

Related Posts ตอบกลับ มุมมอง กิจกรรม
Name inside the button แก้ไขแล้ว
1
ก.ค. 23
1815
1
มิ.ย. 23
1781
color for button based on state แก้ไขแล้ว
1
มิ.ย. 23
3036
2
ส.ค. 23
2105
1
มิ.ย. 23
2328