Odoo Help


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.


Field readonly don't stored in database

on 9/29/14, 11:40 AM 426 views



How to store field readonly in database




| 5 4 7
Bengaluru, India

Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

On 9/30/14, 8:55 AM

Readonly fields will not be considered in Values of ORM methods create/write, since the terms indicates they are Non-editable fields, and data will not be inputed by user...

Still to save data, You can achieve it 2 ways, depending on your requirement:

1: In ORM methods: both create/write, you can manually update the Vals/Values

2: Convert the field data type to Functional Field, that way you need not worry about saving the data...


thanks for your reponse ,can you give me exemple for the solution number 1??

on 10/1/14, 4:59 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)


Asked: 9/29/14, 11:40 AM
Seen: 426 times
Last updated: 3/16/15, 8:10 AM