What are Smart Buttons ?
-> V8 provide new look of buttons which we use in older version.
-> U can see the below image and get idea that button are changed from simple to smart button
How to get this type of buttons ??
- We have to do small changes to get this type of buttons.
<button name="return_action_to_open"
type="object"
class="oe_inline"
help="show the contract for this vehicle">
</button>
-> Now for Smart button Just add the one class "oe_stat_button" in the class atrribute
<button name="return_action_to_open"
type="object"
class="oe_inline oe_stat_button"
help="show the contract for this vehicle">
</button>
-> And for the Image You have to add one More attribute : icon="fa-book"
<button name="return_action_to_open"
type="object"
class="oe_inline oe_stat_button"
icon="fa-book"
help="show the contract for this vehicle">
</button>
-> Now it will become the Smart Button.
Note :
- For Icon it use Font Awesome Icons
- For Slides CLICK HERE
Comments
Post a Comment