Skip to Content
Menu
This question has been flagged
1 Reply
2085 Views

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 😦





Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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 Replies Views Activity
1
Jul 23
1488
1
Jun 23
1404
1
Jun 23
2629
2
Aug 23
1841
1
Jun 23
2014