Depreciation board calculation is wrong
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
Related branches
- Harry (OpenERP) (community): Approve
- Ajay Chauhan(OpenERP) (community): Needs Resubmitting
- Mustufa Rangwala (Open ERP) (community): Needs Fixing
- Purnendu Singh (OpenERP) (community): Needs Fixing
-
Diff: 41 lines (+7/-3)1 file modifiedaccount_asset/account_asset.py (+7/-3)
Changed in openobject-addons: | |
importance: | Low → High |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
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 |
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!