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

Bug #1258237 reported by Pedro Manuel Baeza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned
OpenERP Community Backports (Addons)
Status tracked in 7.0
6.1
New
Undecided
Unassigned
7.0
Fix Released
Undecided
Pedro Manuel Baeza

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.

Related branches

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.