Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6703 Lượt xem

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 

Ảnh đại diện
Huỷ bỏ

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

Tác giả

Thank you sir for the answer, its worked a lot

Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
computed fields Đã xử lý
1
thg 4 24
2671
1
thg 12 23
4844
2
thg 11 22
4006
0
thg 11 22
3817
0
thg 10 22
2167