[FIX] point_of_sale: put pos back in XmlReceipt render context
7836a83b3bwas 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 at467ba386f4because it was unused. opw-744222
This commit is contained in:
@@ -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()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user