コンテンツへスキップ
メニュー
この質問にフラグが付けられました

I want to write a module in which you can upload an excel file, after uploading some of the sale order records should be updated based on excel file content. How can I achieve this using odoo import excel option?

アバター
破棄
著作者 最善の回答

I achieved this by extending ListView.buttons template and writing its specific js file and python import function.

アバター
破棄
最善の回答

Create a custom model tailored to the excel file you want to upload, so you can upload it just using the standard odoo import function. Then you can write a method to be called from a menu action or a button that will process the imported lines and flag them as done or delete them.

Otherwise you have to make a model where you can upload the excel file as a binary attachment, and then elaborate it manually using a python excel library.

アバター
破棄
著作者

can you be more specific about using standard odoo import?

can you be more specific about using standard odoo import?

関連投稿 返信 ビュー 活動
3
11月 23
7262
3
11月 20
4851
1
7月 25
1005
3
7月 16
5124
4
11月 24
10749