Depreciation board calculation is wrong

Bug #997141 reported by gde (OpenERP)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
High
OpenERP R&D Addons Team 3

Bug Description

On both 6.1 & trunk, when I create an asset the computation of the depreciation bord is not correct.

Steps to reproduce the problem:
1. Create an asset
---- Time methode = Number of depreciations, Number of depreciations = 23, Period length = 1
---- Value of the asset: 1500
----> Compute the depreciation board
---- ---- > Depreciation line = 62.5
2. Confirm the asset
3. Validate the first depreciation line
4. Reset the asset to draft
---- Change the value of the asset to 2100
---- > Compute the depreciation board
---- ---- > PROBLEM: Second line, there is a incorrect rounding for column "Amount already depreciated": 63 instead of 62.5
---- ---- > Other problem: if you compute the column "Depreciation amount" we do not obtain 2100

Tags: profserv

Related branches

Revision history for this message
gde (OpenERP) (gde-openerp) wrote :
Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello gregory,

I have checked your Issue, I have faced the same problem. So I confirm this Issue.

# For reproduce : **Number of depreciations = 24 (In step 1).

Thanks!

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Changed in openobject-addons:
importance: Low → High
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ajay Chauhan(OpenERP) (cha-tinyerp) wrote :

Hello,
it has been fixed lp:~openerp-commiter/openobject-addons/trunk-bug-997141-cha name with following revision number & revision id
    Revision no : 6863
    Revision id : <email address hidden>

Thanks,
Ajay Chauhan

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Sid (siddiqmomin) wrote :

Hello,

There is one more issue in the Depreciation Calculation Board.

1. If we assign the Purchase date say middle of the month and try generating the Depreciation then it takes into account remaining period of the month.

2. But it takes that date as depreciation periods calculation which should be at the end of the each period during the no of depreciation.

Thanks,

Siddique

Changed in openobject-addons:
status: Fix Committed → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Cedric Snauwaert (OpenERP) (csn-openerp) wrote :

Hello,

The bug concerning the rounding problem has been fixed in trunk
 - revision 7920
 - revision id : <email address hidden>

Thanks a lot for the fix and reporting the problem.

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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