Odoo Help

Welcome!

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.

0

How to build a personalized view

By
Marco Guerrieri
on 3/5/15, 8:58 AM 403 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

Vasanth
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

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)

Stats

Asked: 3/5/15, 8:58 AM
Seen: 403 times
Last updated: 3/16/15, 8:10 AM