Ir al contenido
Menú
Se marcó esta pregunta
1451 Vistas

Please help. I created an excel report using report_xlsx and I call this report from a button on the tree view. Below is how I call the print function.


@api.multi

def do_export_xls(self):

   return self.env.ref('stock_file.report_stock_file_xls').report_action(self)


I need to save this report programatically to a path on the server after generating the report. Can anybody show me how please?

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ene 24
3277
2
dic 24
8585
1
sept 24
41
1
abr 23
3966
1
feb 23
1731