← Back to team overview

openerp-india team mailing list archive

[Bug 1241559] Re: assets - wrong depreciation date for fiscal years not starting jan 1st

 

Hello,

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

revision-id: cod@xxxxxxxxxxx-20131022102250-o2ow51p5z7vle6s1

revno: 8954.

It will be available in trunk soon.

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-
bug-1241559-cod

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1241559

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

Status in OpenERP Addons (modules):
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1241559/+subscriptions


References