[FIX] sale_coupon: really use a meaningful icon

Followup of b0d07503365c67a4ad02318c362864eeb7e02f16 and #851
This commit is contained in:
Christophe Simonis
2017-03-21 15:35:44 +01:00
parent fcddfbac0e
commit 3e4fb652dd
+2 -2
View File
@@ -95,7 +95,7 @@
</header>
</xpath>
<xpath expr="//field[@name='order_count']/.." position="before">
<button class="oe_stat_button" type="action" icon="fa-ellipsis-v" name="%(sale_coupon.sale_coupon_action)d">
<button class="oe_stat_button" type="action" icon="fa-ticket" name="%(sale_coupon.sale_coupon_action)d">
<field name="coupon_count" string="Coupons" widget="statinfo"/>
</button>
</xpath>
@@ -185,7 +185,7 @@
<h1><field name="name" class="oe_title" placeholder="Promotion Program Name..." height="20px"/></h1>
</xpath>
<xpath expr="//field[@name='order_count']/.." position="before">
<button class="oe_stat_button" type="action" icon="fa-ellipsis-v" name="%(sale_coupon.sale_coupon_action)d" attrs="{'invisible': [('promo_applicability', '=', 'on_current_order')]}">
<button class="oe_stat_button" type="action" icon="fa-ticket" name="%(sale_coupon.sale_coupon_action)d" attrs="{'invisible': [('promo_applicability', '=', 'on_current_order')]}">
<field name="coupon_count" string="Coupons" widget="statinfo"/>
</button>
</xpath>