Skip to Content
मेन्यू
This question has been flagged
2 Replies
241 Views

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

Avatar
Discard

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.

Best Answer

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.

Avatar
Discard
Related Posts Replies Views Activity
0
मार्च 25
1430
0
जन॰ 25
3526
1
अग॰ 23
14878
1
अग॰ 23
13541
1
जुल॰ 23
10516