Explorar el Código

agregar que estire en el informe de pagos de comisiones facturas abiertas

SEBAS hace 1 año
padre
commit
af04da1c39
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      static/src/js/reports/report_customer_payment.js

+ 1 - 1
static/src/js/reports/report_customer_payment.js

@@ -215,7 +215,7 @@ function report_customer_payment (reporting){
             var self = this;
             var defer = $.Deferred();
             var domain = [
-                ['state', 'in',['paid']],
+                ['state', 'in',['paid','open']],
                 ['type', 'in', ['out_invoice','out_refund']],
             ];
             var AccountInvoice = new model.web.Model('account.invoice');