Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1431 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
led 24
3259
2
pro 24
8581
1
zář 24
41
1
dub 23
3930
1
úno 23
1725