Browse Source

[FIX] save function

Gogs 7 years ago
parent
commit
beb79d8f92
1 changed files with 1 additions and 1 deletions
  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');
         } 
     })