Odoo Help


How does odoo decide if a field is importable

Justin Lessard
on 8/27/15, 10:40 AM 505 views

I have the following field that I added to the model

import_action = fields.Selection([('none','None'),('confirm','Confirm'),('ship','Ship')],
               'Import Action',

I need to be able to import this field. Or, for some reasons, odoo consider it as not-importable.

Can someone explain on what criteria odoo based itself to decide if a field is importable or not?

Justin Lessard
On 8/27/15, 11:09 AM

I did some tests, and here are my conclusions.

You can only import fields which are not readonly.

All readonly="True" fields are automaticaly set to non-importable.

Isn't there any other criteria that prevents a field from being imported ?

Tarek Mohamed Ibrahim
on 9/10/15, 12:39 PM

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: 8/27/15, 10:40 AM
Seen: 505 times
Last updated: 11/12/15, 9:37 AM