odoo technical video
Video Tutorial

How to Make a Field Mandatory in Odoo 17

APR 23,2024

Description:

In Odoo, making a field required can indeed be done through both Python code and XML views, and differences in how the required attribute behaves depending on whether it's set in Python or XML.When you set the required attribute to True in Python code, it indeed makes the field required across all views where it's used. Conversely,  when  you set required="1" in XML views, it makes the field required only in the context of that particular view.

odoo videos odoo developmentodoo tutorial

whatsapp_icon
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