Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5092 Переглядів

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,

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Автор

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!

Related Posts Відповіді Переглядів Дія
1
груд. 21
4867
3
бер. 24
8522
1
бер. 21
5004
4
трав. 24
3342
3
лист. 23
7798