diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-07-04 16:12:56 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-07-04 16:12:56 +0200 |
| commit | 8c2ff8be58eef7e4ddb3bf0eafd1dee6de336bde (patch) | |
| tree | 239707c0f7152d696a38bc34bccca06bc5b9ac30 | |
| parent | 034f7bdb14615399da15b6f928387d9108c95ef7 (diff) | |
[FIX] call this.print on end of ReceiptScreenWidget.show instead of explicit window.print
print method already existed, probably to allow overriding printing, but it was not actually called
bzr revid: xmo@openerp.com-20130704141256-u5n7a4kfmqac8n9z
| -rw-r--r-- | addons/point_of_sale/static/src/js/screens.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/point_of_sale/static/src/js/screens.js b/addons/point_of_sale/static/src/js/screens.js index 7a01732c353..d6ae2d4819b 100644 --- a/addons/point_of_sale/static/src/js/screens.js +++ b/addons/point_of_sale/static/src/js/screens.js @@ -820,7 +820,7 @@ function openerp_pos_screens(instance, module){ //module is instance.point_of_sa click: function() { self.finishOrder(); }, }); - window.print(); + this.print(); }, print: function() { window.print(); |
