bug with float in orm
Bug #1012964 reported by
Cuong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
Hi,
In product UoM, I have a test case to show this bug. I define factor as float, digits=(15,15).
1. when writing a value of 1000 then value stored in database is 1,000.000000000
2. when writing a value of 10,000 then value stored in database is 10,000.
3. writing value of 100,000 then stored data is 100,000.
=> 12th digit after decimal point is affected. From 1st to 11th digit is not affected.
Thanks,
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
Hello Jignesh,
I don't think this problem from server side. I tried the same thing digits=(15, 15) in my case gtk give right result but when try in web it same problem arise as describe above.
Thanks