Odoo Help


Field readonly don't stored in database

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



How to store field readonly in database



Techno-Functional Associate with 7+ 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

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: 9/29/14, 11:40 AM
Seen: 752 times
Last updated: 3/16/15, 8:10 AM