Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2306 Представления

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 Ответы Просмотры Активность
1
июл. 23
1684
1
июн. 23
1596
1
июн. 23
2872
2
авг. 23
2007
1
июн. 23
2199