首页 > 解决方案 > Change button to red

问题描述

In form view of sale order, I have a button

<button name="action_confirm" states="sent" string="Confirm Sale" class="btn-primary" type="object" context="{'show_sale': True}"/> 

and it's showing in blue color. if I change to oe_highlight nothing changes or any other class. How can I change this button to RED color?

标签: odooodoo-9

解决方案


You can try this :

class="btn-danger"


推荐阅读