Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6651 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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

I mean odoo field definition