تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6809 أدوات العرض

I am facing this problem in creating stock quantity of products. please help me how to solve this

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

The error means that in the table the column in which the data was tried to be saved is out of the acceptable range of the number. You need to change this column with INT on the Bigint.
Python numeric objects int, long, float, Decimal are converted into a PostgreSQL numerical representation:
https://www.postgresql.org/docs/current/datatype-numeric.html


Hope it helps

الصورة الرمزية
إهمال

Hi Cybrosys,
We change directly the column definition in postgresql or in the field definition?

I mean odoo field definition