Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
264 Vizualizări

Hi  guys!!!!

Pleas, i didnt understand why is odoo  printing to me this error:

IntegrityError: null value in column "prix" violates not-null constraint

Despite the fact that everything is ok

Imagine profil
Abandonează

It may possible that "Prix" column is written as "Required=True" attribute inside the py file. That's why while adding the row in database table, if this column's value is not there, system is showing you this error. If you facing this error at one of the default screen in Odoo than we can tell you exactly the reason.

Cel mai bun răspuns

Abdel,

The error is self-explanatory !

You must fulful basic constraints before saving the record.

If not directly, your consequent clicks causing create() of a model where 'prix' is a mandatory field have a value.

Thanks.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mar. 25
1430
0
ian. 25
3532
1
aug. 23
14891
1
aug. 23
13551
1
iul. 23
10525