Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1880 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ก.พ. 23
5423
2
ก.ย. 24
3082
1
ก.พ. 24
1790
3
ก.ค. 23
3150
2
พ.ค. 23
3266