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

Hi friends,

This is my scenario(all is done in a Python file):

1- Some payments based on some condition are selected

2- For each payment, some conditions are checked and some new data are provided

3- Now, all provided data for all payments (data that are needed to export in XLSX file)  are in an object(list). 

How can I generate XLSX file from my data?


Note: Some columns in XLSX file might not be directly in the payment(or relational) model. Suppose in a column I want to set 0 or 1 if the payment is of type cash or not.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

You check here how to do it 
https://www.cybrosys.com/blog/how-to-generate-xlsx-report-using-controller-in-odoo-17

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 2 23
5455
2
thg 9 24
3108
1
thg 2 24
1816
3
thg 7 23
3188
2
thg 5 23
3312