Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
255 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
бер. 25
1430
0
січ. 25
3530
1
серп. 23
14880
change password Вирішено
1
серп. 23
13542
1
лип. 23
10517