Odoo 14 EE
How to create a unique field in product.product
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
10407
Tampilan
Hi,
you can use SQL constraints option to specify rules for the data in a table.
If there is any violation between the constraint and the data action, the action is aborted by the constraint.
_sql_constraints = [
('name_uniq', 'unique (name)', "Tag already exists!"),
]
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
View a field from one model in another model
Diselesaikan
|
|
1
Nov 25
|
6060 | |
|
How to find the field type?
Diselesaikan
|
|
1
Jun 25
|
5912 | |
|
|
3
Jul 20
|
12735 | ||
|
|
0
Nov 16
|
5215 | ||
|
|
1
Agu 15
|
5531 |