odoo technical video
Video Tutorial

Make a Field Readonly in Odoo 17

APR 23,2024

Description:

In Odoo, you can make a field read-only through Python code or XML views, depending on where you want to enforce the read-only behavior. When you set the readonly attribute to True in Python, it makes the field read-only across all views where it's used. Conversely, when you set readonly="1" in XML views, it makes the field read-only only in the context of that particular view.

odoo videosodoo development odoo development odoo tutorial

whatsapp
location

Calicut

Cybrosys Technologies Pvt. Ltd.
Neospace, Kinfra Techno Park
Kakkancherry, Calicut
Kerala, India - 673635

location

Kochi

Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, India - 682030.

location

Bangalore

Cybrosys Techno Solutions
The Estate, 8th Floor,
Dickenson Road,
Bangalore, India - 560042

Send Us A Message