Skip to content

Commit

Permalink
[ADD] fiscal_epos_print: aggiunta PR OCA#4590
Browse files Browse the repository at this point in the history
  • Loading branch information
Borruso committed Jan 30, 2025
1 parent 4b1f5f8 commit 51981ca
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ odoo.define("fiscal_epos_print.PaymentScreen", function (require) {
}

async sendToFP90Printer(order) {
if (this.env.pos.config.printer_ip && !order.is_to_invoice()) {
if (
this.env.pos.config.printer_ip &&
!order.is_to_invoice() &&
order.orderlines.length > 0
) {
// TODO self.chrome does not exists
// this.chrome.loading_show();
// this.chrome.loading_message(_t('Connecting to the fiscal printer'));
Expand Down

0 comments on commit 51981ca

Please sign in to comment.