How to Make a Field Readonly in Odoo 17 | Odoo 17 Development Tutorial

Subscribers:
28,000
Published on ● Video Link: https://www.youtube.com/watch?v=MzCbh6TXnls



Category:
Tutorial
Duration: 3:22
137 views
6


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. #odoo17 #odoodevelopment #odoodevelopment

Connect With Us:
—————————————
➡️ Website: https://www.cybrosys.com/
➡️ Email: info@cybrosys.com
➡️ Twitter: https://twitter.com/cybrosys
➡️ LinkedIn: https://www.linkedin.com/company/cybrosys/
➡️ Facebook: https://www.facebook.com/cybrosystechnologies
➡️ Instagram: https://www.instagram.com/cybrosystech/
➡️ Pinterest: https://pinterest.com/cybrosys/




Other Videos By Cybrosys Technologies


2024-03-27How to Use Serial Numbers to Track Products in Odoo 17 Inventory | Odoo 17 Inventory Tutorials
2024-03-27How to Set Up and Manage Invoicing Policies in Odoo 17? | Manage Odoo 17 Sales Invoicing Policy
2024-03-27Odoo 17 Accounting Webinar 2024 | Cybrosys Technologies | Odoo For Accountants - Odoo 17 Webinar
2024-03-27Overview of Horilla HRMS Software | Free & Open Source HR Software | All-in-One HR Software
2024-03-26How to Use Pre Init hook in Odoo 17 | Odoo 17 Development Tutorials
2024-03-25Least Packages Removal Strategy in Odoo 17 Inventory | Odoo 17 Inventory Tutorials
2024-03-25Costing method in Odoo 17 Inventory | Inventory Valuation in Odoo 17 | Odoo 17 Inventory Tutorials
2024-03-21How to Make a Field Mandatory in Odoo 17 | Odoo 17 Development Tutorial
2024-03-21Recruitment App in Odoo 17 | Odoo 17 Enterprise Edition | Odoo 17 Recruitment App
2024-03-20What is MTO? | Make-To-Order in Odoo 17 Inventory | Odoo 17 Inventory Tutorials
2024-03-19How to Make a Field Readonly in Odoo 17 | Odoo 17 Development Tutorial
2024-03-19Reservation Method in Odoo 17 | Odoo 17 Enterprise Edition
2024-03-18How to Manage Purchase Order Approval in Odoo 17 | Odoo 17 Purchase App
2024-03-15What is a Quotation in Odoo 17 Sales App? | Odoo 17 Functional Tutorials
2024-03-14An Overview of Odoo 17 Discuss App | Odoo's Discuss App | Odoo 17 Discuss App Demo Video
2024-03-14Filters in Odoo 17 Purchase App | Odoo 17 Functional Tutorials
2024-03-13Removal strategy : FIFO in Odoo 17 Inventory | How FIFO works in Odoo 17 Inventory
2024-03-12How to Manage Call for Tendor in Odoo 17 Purchase App | Purchase Agreement in Odoo 17 | Odoo 17
2024-03-12How to Add New Custom Addons Path in Odoo 17 | Configure Custom Addons Path | Odoo 17 Development
2024-03-11How to Manually Reorder the Product in Odoo 17 | Reordering Rules in Odoo 17 | Odoo 17 Inventory
2024-03-08Automatic Reordering Rule in Odoo 17 Inventory | Odoo 17 Inventory Tutorials



Tags:
how to make a field readonly in odoo
field readonly in odoo
all fields readonly in odoo
read only field in odoo
readonly fields in odoo
dynamic readonly fields in odoo
how to create related field in odoo
how to hide fields based on condition in odoo
how to add one2many field in odoo
read only field in odoo 16
read only field in odoo 14
related field in odoo
odoo readonly fields
how to create reference field in odoo
how to set default value for fields in odoo 14