Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1467 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 1 24
3294
2
thg 12 24
8594
1
thg 9 24
41
1
thg 4 23
3990
1
thg 2 23
1738