[7.0/Trunk] account_asset : asset created from supplier invoice is posted on expense account

Bug #1210531 reported by Houssine
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Undecided
OpenERP Publisher's Warranty Team

Bug Description

Hi There,

We're facing a quiet critical bug here(as it's wrong according accounting rules). Creating an asset through a supplier invoice(by choosing an asset category) are posting the amount of the invoice line in an expense account(Classe 6 for belgium) which is totally wrong as it is generating an asset. So this is the depreciation move line that should normally feed the expense account during the asset depreciation.

To reproduce :

- create a new fresh database
- install accounting and asset management module.
- create an asset category
- create a supplier invoice and chose the asset category in the invoice line

Check the expense account. The account have been charged while it should not.

Thanks for you help.
Houssine

Tags: maintenance

Related branches

Changed in ocb-addons:
importance: Undecided → Critical
importance: Critical → High
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in ocb-addons:
status: New → In Progress
Revision history for this message
Houssine (houssine-bakkali) wrote :

Hi Chandni,

I've tested your fix. It fixed the problem!

Thanks for your help.

Regards,
Houssine

Revision history for this message
Chandni Machchhar(OpenERP) (cac-openerp) wrote :

Hello,

  It has been fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-596451-chandni branch.

 Revision No. : 9376
 Revision ID : <email address hidden>

Thanks,
Chandni.

Changed in ocb-addons:
status: In Progress → Fix Committed
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Hi Houssine,

you assigned this bug to ocb-addons also. We expect that you propose a fix or a backport on the project if you do so. I am unlinking the project for now. If you do propose, please reconfigure the bug tracker accordingly.

no longer affects: ocb-addons
Changed in openobject-addons:
status: New → Fix Committed
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.