← Back to team overview

openerp-india team mailing list archive

[Bug 1019932] [NEW] [6.1] [account_asset] bad asset and move lines data

 

Public bug reported:

Several concept errors:

1. When the asset is created from an invoice, the asset reference is
assigned as the invoice number. The correct thing to do is link the
invoice to the asset, and let the invoice have it's sequential number
(or custom user assigned number)

2. When the asset is created manually, the reference is filled because
there is no sequence or sequence type created by default at module
installation. The sequence code is there, but the user has to know to
create at least one sequence with the specific code set to
"account.asset.code".

3. When the move is created for a depreciation line, the date used is
the purchase date (if asset is marked as prorata), or today. If the
depreciation line already has a date, it must be used. Otherwise it is
misleading for the user. The correct dates are already calculated when
the depreciation lines are created. The move line creation must use
those data.

4. The depreciation moves should use the default journal sequence for
number (name), the reference (ref) can have some info about the asset
and the depreciation line. The same applies for the move lines.

** Affects: openobject-addons
     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/1019932

Title:
  [6.1] [account_asset] bad asset and move lines data

Status in OpenERP Addons (modules):
  New

Bug description:
  Several concept errors:

  1. When the asset is created from an invoice, the asset reference is
  assigned as the invoice number. The correct thing to do is link the
  invoice to the asset, and let the invoice have it's sequential number
  (or custom user assigned number)

  2. When the asset is created manually, the reference is filled because
  there is no sequence or sequence type created by default at module
  installation. The sequence code is there, but the user has to know to
  create at least one sequence with the specific code set to
  "account.asset.code".

  3. When the move is created for a depreciation line, the date used is
  the purchase date (if asset is marked as prorata), or today. If the
  depreciation line already has a date, it must be used. Otherwise it is
  misleading for the user. The correct dates are already calculated when
  the depreciation lines are created. The move line creation must use
  those data.

  4. The depreciation moves should use the default journal sequence for
  number (name), the reference (ref) can have some info about the asset
  and the depreciation line. The same applies for the move lines.

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


Follow ups

References