Skip to content

Commit

Permalink
[UPD] fiscal_epos_print: aggiornata PR OCA#3060
Browse files Browse the repository at this point in the history
  • Loading branch information
Borruso committed Apr 23, 2024
1 parent 0ba7ccb commit 2773463
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,17 @@ odoo.define("fiscal_epos_print.PaymentScreen", function (require) {
var fp90 = new eposDriver(printer_options, this);
fp90.printFiscalReceipt(receipt);
// This line causes problems on bill split. What's the sense of deleting the actual pos context?!
// It regenerates orders wich are already partly paid using split function...
// It regenerates orders which are already partly paid using split function...
// this.env.pos.context = {};
}
}

async _finalizeValidation() {
var currentOrder = this.currentOrder;
this.sendToFP90Printer(currentOrder);
await super._finalizeValidation();
}

_isOrderValid(isForceValidate) {
if (this.env.pos.config.iface_tax_included === "subtotal") {
this.showPopup("ErrorPopup", {
Expand Down

0 comments on commit 2773463

Please sign in to comment.