Hello I need help with Odoo studio
I would like to add a field with its control rules
1/ Blocking error message if the "field name" is already used.
2/ No space.
3/ Capital letter
4/ Add a tooltip "?" to describe the input rule. Text for tooltip: "Short name is a short code with uppercase letters and no spaces"
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
To add a field with control rules in Odoo Studio, you can follow these steps:
Open the Odoo Studio application and select the model you want to add the field to.
Click on the "Create" button and select the "Field" option.
Enter the name of the field and select its data type.
Scroll down to the "Constraints" section and check the "Required" box to make the field mandatory.
In the "Control Rules" section, click on the "Add an Item" button and enter the following conditions:
- The field name must not be already used
- The field name must not contain any spaces
- The field name must be in uppercase letters
To add a tooltip with a description of the input rules, click on the "Add an Item" button in the "Tooltips" section and enter the text "Short name is a short code with uppercase letters and no spaces".
Click on the "Save" button to save the changes and add the field to your model.
You can then use this field in your reports and views to ensure that the input data follows the specified rules.
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
0
jul. 24
|
1332 | ||
|
0
jul. 24
|
883 | ||
|
1
sep. 23
|
2163 | ||
|
2
jun. 23
|
11297 | ||
|
1
sep. 24
|
1144 |
Thank you for this solution
I applied these instruction its really worked thanks you for this solution.