Odoo Help


How to build a personalized view

Marco Guerrieri
on 3/5/15, 8:58 AM 848 views

Hi all,

I searched a lot for get an answer but I have found only the QWeb template that can be usefull for my problem, but it seem also too much complicated, and I just want a simple-as-possible solution.

I need to create a simple page in my custom module where I can put some text and one simple button that will just open a window where select a file on the computer of the user. For now I just created this button inside a odoo form view, but obviously is pretty wrong because the form in odoo is used to create a new record of a table, not for my purpose. So I wonder if there is a way to just create a simple custom view where put that button, that will eventually call, after the selection of the file, a method of my module.

Thank you.

'your_field':fields.binary('Your fieldname') If you want a button to select a file on the computer means, you can use this

on 3/5/15, 11:51 PM

Thank You! This is really good to know, I missed that information

Marco Guerrieri
on 3/6/15, 4: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: 3/5/15, 8:58 AM
Seen: 848 times
Last updated: 3/16/15, 8:10 AM