bzr revid: nicolas.vanhoren@openerp.com-
20120109162126-zq5qphas06jeuf83
white-space: nowrap;
}
+.pos-payment-buttons {
+ white-space: nowrap;
+}
+
@media print {
#oe_header, #oe_menu, .point-of-sale #topheader, .point-of-sale #leftpane {
display: none;
},
start: function() {
$('button#validate-order', this.$element).click(_.bind(this.validateCurrentOrder, this));
+ $('.oe-back-to-products', this.$element).click(_.bind(this.back, this));
+ },
+ back: function() {
+ this.shop.get('selectedOrder').set({"step": "products"});
},
validateCurrentOrder: function() {
var callback, currentOrder;
</table>
</div>
<div class="pos-payment-buttons">
+ <button class="oe-back-to-products">
+ <img src="/web/static/src/img/icons/gtk-go-back.png"></img>
+ Back to Products</button>
<button id="validate-order">
<img src="/web/static/src/img/icons/gtk-apply.png"></img>
Validate</button>