Browse Source

[FIX] save function

Gogs 7 năm trước cách đây
mục cha
commit
beb79d8f92
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      static/src/main.js

+ 1 - 1
static/src/main.js

@@ -26,7 +26,7 @@ openerp.dropdown_menu = function (instance, local) {
                 return _.values(cliente);
             }));
 
-            documento.output('reporte_de_clientes_' + Date.now() + '.pdf');
+            documento.save('reporte_de_clientes_' + Date.now() + '.pdf');
         } 
     })