Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
6648 Näkymät

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

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää

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

I mean odoo field definition