← Back to team overview

openerp-india team mailing list archive

[Bug 935564] Re: Asset should be takes date from the invoice date rather than current date

 

** Also affects: ocb-addons
   Importance: Undecided
       Status: New

** Also affects: ocb-addons/6.1
   Importance: Undecided
       Status: New

-- 
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/935564

Title:
  Asset should be takes date from the invoice date rather than current
  date

Status in OpenERP Community Backports (Addons):
  New
Status in OpenERP Community Backports (Addons) 6.1 series:
  New
Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  This one could be one requirement only in our country:

  Creating the account move the taken data is:
  http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/account_asset/account_asset.py line 358

   depreciation_date = line.asset_id.prorata and
  line.asset_id.purchase_date or time.strftime('%Y-%m-%d')

  This is the purchase data or the moment where user pushes the wizard
  button to calculate asset account_moves

  In our country it should be simply:
  depreciation_date = line.depreciation_date

  That is the account movement data is the one set in
  account.asset.depreciation.line

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


References