[FIX] point_of_sale: the pos synchronisation indicator was changing the cursor indicating that an action was possible, but there's nothing to do when it's already synchronized.
lp bug: https://launchpad.net/bugs/1099402 fixed bzr revid: fva@openerp.com-20130114164216-53yix6tmlix316zl
This commit is contained in:
parent
cf48b54665
commit
984b904f2c
|
@ -233,7 +233,9 @@
|
|||
font-style: italic;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.point-of-sale .oe_pos_synch-notification.oe_inactive{
|
||||
cursor: default;
|
||||
}
|
||||
.point-of-sale .oe_pos_synch-notification .oe_status_red{
|
||||
display:inline-block;
|
||||
cursor:pointer;
|
||||
|
|
|
@ -48,11 +48,17 @@
|
|||
</t>
|
||||
|
||||
<t t-name="SynchNotificationWidget">
|
||||
<div class="oe_pos_synch-notification">
|
||||
<t t-if="widget.get_nbr_pending() > 0" t-esc="widget.get_nbr_pending()"/>
|
||||
<div t-if="widget.get_nbr_pending() > 0" class="oe_status_red"></div>
|
||||
<div t-if="widget.get_nbr_pending() === 0" class="oe_status_green"></div>
|
||||
</div>
|
||||
<t t-if="widget.get_nbr_pending() > 0">
|
||||
<div class="oe_pos_synch-notification">
|
||||
<t t-esc="widget.get_nbr_pending()"/>
|
||||
<div class="oe_status_red"></div>
|
||||
</div>
|
||||
</t>
|
||||
<t t-if="widget.get_nbr_pending() === 0">
|
||||
<div class="oe_pos_synch-notification oe_inactive">
|
||||
<div class="oe_status_green"></div>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
<t t-name="HeaderButtonWidget">
|
||||
|
|
Loading…
Reference in New Issue