Odoo Help

0

Field readonly don't stored in database

By
oussama
on 9/29/14, 11:40 AM 551 views

Hi

 

How to store field readonly in database

Thanks

0

deep

--deep--
1695
| 5 5 7
Bengaluru, India
--deep--

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

deep
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??

oussama
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.

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

1 follower(s)

Stats

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