[6.0.1] analytic account: view account.analytic.account.tree gives incorrect sum

Bug #708073 reported by Bernard Renier - ADN
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

Hello,

I created a 4 level hierarchy with analytic accounts, On the lowest level (and only that one) I have projects with work hours meaning analytic entries with quantities and amounts.

When I look at view account.analytic.account.tree (via Accounting > Configuration > Analytics > Analytic accounting > Analytic accounts) I see strange totals on consolidation accounts levels:

- at level 2: Quantities and amounts are multiplied by 3 !
- at level 3: Quantities and amounts seems to equal total of level 1+ level2 +level 3.
- at level 4: Quantities and amounts are correct !

What is also very strange , it is when you switch to the corresponding form view, all accounts are correct. When displaying the view Chart of analytic account, all data are also correct...

I attached here screenshots to show the issue.

If needed I can send a copy of my test DB.

Regards,

Bernard

Related branches

Revision history for this message
Bernard Renier - ADN (bre-adn) wrote :
summary: - [6.0.1] analytic account: view analytic.account.list gives incorrect sum
+ [6.0.1] analytic account: view account.analytic.account.tree gives
+ incorrect sum
Revision history for this message
Azazahmed Saiyed (OpenERP) (saz-openerp) wrote :

Hello,

I have checked it in trunk code and works as expected.

I have also attached the screen shots for your reference. So please check it and notify us with your DB, If you still face the same problem at your end.

Thanks.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Azazahmed Saiyed (OpenERP) (saz-openerp) wrote :
Revision history for this message
Bernard Renier - ADN (bre-adn) wrote :

Hello,

Here is a copy of that test DB...

Regards,

Bernard

Revision history for this message
Bernard Renier - ADN (bre-adn) wrote :

Just for info, this DB uses a stable 6.0.1 release...

Changed in openobject-addons:
status: Incomplete → New
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Purnendu Singh (OpenERP) (purnendu-singh) wrote :

Hello Bernard Renier,

I have fixed this problem in lp:~openerp-dev/openobject-addons/trunk-bug-708073-psi.

Revision No: 4628
Revision ID: <email address hidden>

Thanks,
Purnendu Singh

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Bernard Renier - ADN (bre-adn) wrote :

Many thanks !

Bernard

Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Purnendu,

Checked your merge proposal and with your merge amount (credit/debit/bal) is not reflected to the parent.

Thanks,
mra

Changed in openobject-addons:
status: Fix Committed → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ujjvala Collins (uco-openerp) wrote :

Hello Bernard Renier,

It has been fixed and committed on lp:~openerp-dev/openobject-addons/trunk-bug-708073-uco with revision 4865 <email address hidden>.

It will be merged into trunk-addons soon.

Thanks for reporting,
Ujjvala

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
milestone: none → 6.1
Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Bernard Renier - ADN (bre-adn) wrote :

Hello Fabien,

Thanks to you and your team for fixing this bug.

Bernard

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

FYI: fix was released in trunk at revision 5049 revid:<email address hidden>
Thanks for reporting!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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