Would like to ask any solutions for prevent duplicates in DB to format the API call?
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
2307
Tampilan
Use SQL constraints on model
class PosOrder(models.Model):
_inherit = "pos.order"
_sql_constraints = [('name_uniq', 'unique (name)', "Order with this name already exists!"), ]
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
3
Apr 25
|
860 | ||
|
1
Jan 25
|
1711 | ||
|
1
Agu 24
|
1673 | ||
|
2
Mei 24
|
1383 | ||
How to delete POS Sessions! Odoo 16
Diselesaikan
|
|
3
Mei 24
|
10705 |