From caf23c9424d6f254c4dbda01b4416326fac6a193 Mon Sep 17 00:00:00 2001 From: Luiz Felipe do Divino Date: Fri, 29 Apr 2022 14:56:51 -0300 Subject: [PATCH] [FIX] Trazer todas as pos.order transmitidas para a SEFAZ --- l10n_br_pos/static/src/js/models.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_br_pos/static/src/js/models.js b/l10n_br_pos/static/src/js/models.js index d27d57657463..263bac0dfbe0 100644 --- a/l10n_br_pos/static/src/js/models.js +++ b/l10n_br_pos/static/src/js/models.js @@ -90,7 +90,7 @@ odoo.define("l10n_br_pos.models", function (require) { fields: ['name', 'partner_id','date_order', 'fiscal_coupon_date', 'amount_total','pos_reference','lines','state','session_id','company_id', 'document_key', 'cnpj_cpf', 'cancel_document_key'], domain: function (self) { var domain = [ - ["state", "in", ["paid", "done"]], + ["document_key", "!=", false], ['amount_total', '>', 0] ]; return domain;