← Back to team overview

openerp-india team mailing list archive

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

 

** Tags added: asset

-- 
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):
  Confirmed

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