assets - wrong depreciation date for fiscal years not starting jan 1st

Bug #1241559 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 3

Bug Description

def compute_depreciation_board

148 else:
149 # depreciation_date = 1st January of purchase year
150 purchase_date = datetime.strptime(asset.purchase_date, '%Y-%m-%d')

this is obviously wrong if fiscal year does not start on Jan 1st

Tags: asset

Related branches

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Amit Parik (amit-parik)
tags: added: asset
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Chirag Dodiya(OpenERP) (chirag.dodiya-openerp) wrote :

Hello,

It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1241559-cod

revision-id: <email address hidden>

revno: 8954.

It will be available in trunk soon.

Changed in openobject-addons:
status: In Progress → Fix Committed
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.