Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
5495 Vizualizări

Hello Everyone,

I am new in Odoo. I want to show that smart button only on particular stage. Not every stage. On stage change it should respective button that we want to show.

Thanks in advanced.

Imagine profil
Abandonează
Cel mai bun răspuns

Hello Rahul,

You can use "attrs" attribute. See in attached screen, I have added an attribute attrs (attrs="{'invisible':[('name','=','test')]}") to hide smart button "Variant Price". As per this attrs value, when product name will be "test" smart button "Variant Price" will not be visible.

Just like that you can use attrs in your view to hide smart button in certain stages. 




Hope this helps,

Imagine profil
Abandonează
Cel mai bun răspuns

For Smart Buttons, here are multiple usefull links.

Try them & Enjoy them.

https://www.odoo.com/fr_FR/forum/help-1/question/smart-button-v8-0-54972
http://fr.slideshare.net/openobject/odoo-smart-buttons

http://lolierp.blogspot.com/2014/11/odoo-8-ajout-dun-smart-button.html 

Hope this may help you understand.

Regards.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
mar. 16
2828
1
oct. 15
3112
2
sept. 15
3838
0
sept. 18
2450
2
mar. 15
6218