Odoo Help


add new field type definition to osv

Amir Yousefi
on 5/21/14, 8:30 AM 788 views

is it possible to define new field type in opernerp(maybe osv class) to use in another modules and classes?

somthing like this: "field_name":fields.CUSTOM_FIELD_TYPE("field name")

where CUSTOM_FIELD_TYPE is a new field type just like integer,boolean,datetime ....

if it is possible how can i do that and where should i begin?



| 5 4 6
Zagreb | Karlovac, Croatia

there is only 10 kind of people the ones that understand binary ... and others

On 6/4/14, 8:47 AM

yes it is possible.. try searching for geospatial addons for oe... 
in geospatial_base c2c crew added new types of fields...
examine that module and resolve the logic.. 

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 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: 5/21/14, 8:30 AM
Seen: 788 times
Last updated: 3/16/15, 8:10 AM