Odoo Help


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

on 7/22/15, 11:17 AM 1,299 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?


Vale Trood

--Vale Trood--

| 5 2 7
Tunis, France
--Vale Trood--

Vale Trood
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

Vale Trood
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 ;)

Vale Trood
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

Vale Trood
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 :/

Vale Trood
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

Vale Trood
on 7/23/15, 7:41 AM

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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