Hello,
I am trying to generate a xlsx report using scheduled actions.
The report saves all sale orders confirmed in a week in a xlsx file.
The report could be generated using print button but not from scheduled action.
Can someone help?
I have written a method as follows -
class
def generate_report(self):
ret = self.env['report'].get_action(self, 'so_xlsx')
I have defined the action in xml file.
Thanks in advance!
I could run other simple functions from scheduled action like printing in a logfile.