As title, I was creating a new record and violating the constraint by intent. Normally there would be a notification showing when I create the record. But this time the exception raised and the "Save" button was grayed out. Why did this happen? How can I make it behave normally (showing notification)?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
2706
Näkymät
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
@api.constrains
Ratkaistu
|
|
2
jouluk. 23
|
3407 | |
|
1
marrask. 20
|
4533 | ||
|
2
kesäk. 20
|
3269 | ||
_sql_constraints fail to be effective
Ratkaistu
|
|
2
maalisk. 24
|
5754 | |
|
1
heinäk. 23
|
1737 |