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

Hello there,


I am trying to build a module that uploads an xlsx file and writes the content to the sale order line.

I have created a wizard to upload the excel file.

The code is looking as follows:
python.py: https://ibb.co/gFRWJHr
xml:  https://ibb.co/FByLc8V

Let me know what I need to change to read the file

Thanks,

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

Hi,

If you need a sample of reading the data from excel file and record into some table in odoo, see this code here: https://github.com/odoomates/odooapps/blob/15.0/om_account_bank_statement_import/models/account_bank_statement_import.py#:~:text=def import_file(self,if not date%3A

Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you Niyas. I will go through the code and try to understand. If I have a question I will reach out to you.

God bless you bro!

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 21
4621
3
thg 3 24
8056
1
thg 3 21
4725
4
thg 5 24
2939
3
thg 11 23
7506