[FIX] point_of_sale: put pos back in XmlReceipt render context

7836a83b3b was implemented for 9.0 and
uses the pos property. It was forward-ported to saas-11 and up. This
particular property was removed in saas-11 at
467ba386f4 because it was unused.

opw-744222
This commit is contained in:
Joren Van Onder
2017-05-18 10:27:37 -07:00
parent 817ec3e814
commit 3f4e30403d
@@ -1420,6 +1420,7 @@ var ReceiptScreenWidget = ScreenWidget.extend({
print_xml: function() {
var env = {
widget: this,
pos: this.pos,
receipt: this.pos.get_order().export_for_printing(),
paymentlines: this.pos.get_order().get_paymentlines()
};