losing decimal precision for sale price

Bug #820423 reported by Mihai Satmarean
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Hi,

I do not know how to give you more info but here is my problem and is burnig me alive:

Every 5-10 minutes I have to restart the server because the decimal precision for product price gets back to 2, while in the database is set to 5.

Please help me with info on how to give more details or other info or hints.

Thanks

Revision history for this message
Mihai Satmarean (mihai-satmarean) wrote :

Hi, at the time I wrote the bug I have already applied the fix from the bug you marked as duplicate.
No change in better.

Thanks.

Revision history for this message
Mihai Satmarean (mihai-satmarean) wrote :

The change of decimal precision occurs after a certain time, perhaps some internal mechanism is triggered.
I have a virtual machine left alone with nobody using it, and the decimal precision is set itself to 2 digits after a while. If I restart then the decimal precision is 5 again.

I would be happy if somebody shows me where to check or where to have some logs about this change?

Thanks!

Revision history for this message
Mihai Satmarean (mihai-satmarean) wrote :

I have updated server to 6.0.3 and the decimal precision is switching every 3 minutes form 5 to 2.
Please help me find the root cause.

It is very very very frustrating.

It is just happening.
I do not know where to put a trace, or how to log on disk the changes of the decimal precision. I do not even know from what screen is triggered.

Thanks.

Revision history for this message
Mihai Satmarean (mihai-satmarean) wrote :

First I'll express my frustration, because seems that advanced debugging is kept a secret at openerp.

Second we did manage to find the cause of the decimal precision:

We have two databases:
First for production and manufacturing purposes with product sale price decimal precision set to 5.
Second database, minimal with only project related stuff, with product sale price decimal precision set to 2.

In the moment we enter the second database, and enter the screen issue from menu projects, the decimal precision for the whole system drops to 2.

This can be avoided if the decimal precision is set to 5 in the second database.

My personal opinion is that is a major flaw for the system that reflects poor testing, and weak design.
I just hope that the next version would be much better. Frankly if I would paid for this program I would be very sorry.

Still for the open source world is one of the most advanced projects of it's kind, Well done.

I hope that you can keep the licence and all the stuff open source and free.

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.