UoM convertion with same Uom Category: New Uom ratio changed by system after save

Bug #931363 reported by Dirk Klaijsen
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP Publisher's Warranty Team

Bug Description

1) Create new UoM Category
path Warehouse > Configuration > Product > Units of Measure > Units of Measure Categories

Name = 'Board_UOM'

2) Create new UoM
path Warehouse > Configuration > Product > Units of Measure > Units of Measure

Name: ‘Roll 3600’
UoM category : ‘Board_UoM’
UoM Type: ‘Bigger than the reference UoM’
Ratio: ‘3600’ (entered)
Rounding: ‘1’

=> after saving the ratio has been changed into ‘3597,122’. Why did the sytem changed the ratio????????????????

New UoM:
Name: ‘Roll 3000’
UoM category : ‘Board_UoM’
UoM Type: ‘Bigger than the reference UoM’
Ratio: ‘3000’ entered
Rounding: ‘1’

=> after saving the amount has been changed into ‘3003,003'. Why did the sytem changed the ratio????????????????

We are working on the OpenERP - GTK Client - v6.0.3

Tags: maintenance

Related branches

Revision history for this message
Ravish(OpenERP) (rmu-openerp) wrote :

 Hello Dirk Klaijsen ,

I have checked your issue. It's working fine in Trunk with Revision no :: 6552

This will work for "Bigger than the reference" like

factor_inv = 1200
Factor = 1/factor_inv = 1/1200 = 0.0008333
factor_inv = 1/factor = 1/0.0008333 = 1200.00000048

Thanks!

Changed in openobject-addons:
status: New → Won't Fix
Nhomar - Vauxoo (nhomar)
Changed in openobject-addons:
status: Won't Fix → Confirmed
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Somesh Khare (somesh.khare) wrote :

Hello Dirk Klaijsen,

Thanks for reporting the issue.

It has been fixed into the lp:~openerp-dev/openobject-addons/6.0-opw-383660-skh, branch, with

Revision ID: <email address hidden>
Revision Number: 5059

This branch is under the review of our expert and will be merged soon into the lp:openobject-addons/6.0 branch.

Thanks

Changed in openobject-addons:
importance: Undecided → Low
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
milestone: none → 6.0.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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