跳至內容
選單
此問題已被標幟
2 回覆
270 瀏覽次數

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

頭像
捨棄

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.

最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 25
1430
0
1月 25
3533
1
8月 23
14893
1
8月 23
13555
1
7月 23
10526