تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2088 أدوات العرض

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. :)

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 23
1488
1
يونيو 23
1406
1
يونيو 23
2632
2
أغسطس 23
1841
1
يونيو 23
2014