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?
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 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
|Asked: 7/22/15, 11:17 AM|
|Seen: 605 times|
|Last updated: 7/23/15, 7:24 AM|