콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
7395
3
11월 20
4931
1
7월 25
1105
3
7월 16
5230
4
11월 24
10962