← Back to team overview

openerp-india team mailing list archive

[Bug 1258237] [NEW] [trunk/7.0/6.1] [account_asset] Account move lines generated with incorrect names

 

Public bug reported:

This bug is similar to others reported, but more focused in only one of
the current problems in the module. This has been reported before on
this bug on the point 4:

https://bugs.launchpad.net/openobject-addons/+bug/1019932

The problem is that when you generate move lines for one asset, for
example:

  - Name: Asset 1
  - # of depreciations: 8

generated account moves have these data:

  - Name: Asset 1, instead of / (empty), that will be filled with the corresponding sequence number when you post the move.
  - Reference: x/y, where x is the id of the asset!!, and y is the number of the depreciation, where it must be for this example 1/8, 2/8, 3/8 or in general <position_of_depreciation>/<total_number>.

I'm attaching a simple patch for 7.0 that solves these problems.

Regards.

** Affects: ocb-addons
     Importance: Undecided
         Status: Fix Committed

** Affects: ocb-addons/6.1
     Importance: Undecided
         Status: New

** Affects: ocb-addons/7.0
     Importance: Undecided
         Status: Fix Committed

** 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/1258237

Title:
  [trunk/7.0/6.1] [account_asset] Account move lines generated with
  incorrect names

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

Bug description:
  This bug is similar to others reported, but more focused in only one
  of the current problems in the module. This has been reported before
  on this bug on the point 4:

  https://bugs.launchpad.net/openobject-addons/+bug/1019932

  The problem is that when you generate move lines for one asset, for
  example:

    - Name: Asset 1
    - # of depreciations: 8

  generated account moves have these data:

    - Name: Asset 1, instead of / (empty), that will be filled with the corresponding sequence number when you post the move.
    - Reference: x/y, where x is the id of the asset!!, and y is the number of the depreciation, where it must be for this example 1/8, 2/8, 3/8 or in general <position_of_depreciation>/<total_number>.

  I'm attaching a simple patch for 7.0 that solves these problems.

  Regards.

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


Follow ups

References