Odoo Help

0

Field type Range HTML5

By
pepito
on 6/13/13, 1:49 PM 1,102 views

There a way to create/use a component that allows me to select from a range of values​​, something like this the type "number" of html5.

Thanks

0
Borni DHIFI
On 6/13/13, 1:57 PM

Hi,

you can use a fields.selection :

 'number': fields.selection([
                      ('1','1'),  
                      ('2','2'),     
                      ('3','3'),                     
                      ('4','5'), ], 'Number',)

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.

Register

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

0 follower(s)

Stats

Asked: 6/13/13, 1:49 PM
Seen: 1102 times
Last updated: 3/16/15, 8:10 AM