تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6647 أدوات العرض

Hello everyone, so i want to ask something about set a char field that user just can input only the numerical value, are anyone can help? thank you 

الصورة الرمزية
إهمال

you can use an integer type field. For Char field, Set constraints. Here is the doc:

https://odoo-development.readthedocs.io/en/latest/dev/py/constraints.html

الكاتب

Thank you sir for the answer, its worked a lot

الكاتب أفضل إجابة

Now i know the easy solution to this problem, just install the module called filter mask and follow the instruction how to use it.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
computed fields تم الحل
1
أبريل 24
2629
1
ديسمبر 23
4761
2
نوفمبر 22
3956
0
نوفمبر 22
3777
0
أكتوبر 22
2122