Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1424 Näkymät

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
tammik. 24
3240
2
jouluk. 24
8577
1
syysk. 24
41
1
huhtik. 23
3916
1
helmik. 23
1724