Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Create button to import csv file and show the content in a table

on 7/22/15, 11:17 AM 605 views

I have in the columns:

    'upload_file': fields.binary('Upload csv File')


Can i replace the "save as" button with "validate" or "import" button(and of course change the functionality )???

Or, is better to create something like the "import a csv file" from openerp?

Any help?


Drees Far

--Drees Far--
| 5 2 6
Tunis, Tunisia
--Drees Far--
Drees Far
On 7/22/15, 12:52 PM

Yes, you can create a button like import csv file and treat this like a qweb module.

So, i think you have to create a new widget that makes you upload the file, read it and then display all its content.

I have tried an example like this

This can help you as a begining:


Please, vote

Drees Far
on 7/23/15, 7:42 AM
On 7/23/15, 5:16 AM

Thank you for your answer, it is really helpful.Did you upload somewhere this example you've created?  

No i didnt!!!! Because i didnt finidh it yet. If you want i can give you my code if you are interesting in ;)

Drees Far
on 7/23/15, 5:45 AM
It would be great,thank you!!!!:D

On 23 July 2015 at 10:45, Drees Far <far.drees@gmail.com> wrote:

No i didnt!!!! Because i didnt finidh it yet. If you want i can give you my code if you are interesting in ;)

Drees Far
Sent by Odoo S.A. using Odoo access your messages

on 7/23/15, 5:52 AM

ok can you reload the question to be able to answer you because only one answer is alloowed per question

Drees Far
on 7/23/15, 6:42 AM

I can't do many things,since I have only 8 karma.You can post it as a comment if you want.

on 7/23/15, 7:05 AM

But, i want to get karma :/

Drees Far
on 7/23/15, 7:33 AM

I have asked a new question in your position ;) https://www.odoo.com/fr_FR/forum/help-1/question/how-to-import-csv-file-on-odoo-88573

Drees Far
on 7/23/15, 7:41 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 7/22/15, 11:17 AM
Seen: 605 times
Last updated: 7/23/15, 7:24 AM