Comment 3 for bug 779957

Revision history for this message
Bogdan Stanciu (bstanciu) wrote : Re: [Bug 779957] [NEW] [V6] Balance sheet : account layout problem

On 09. 05. 11 16:37, Vincent Renaville@camptocamp wrote:
> Public bug reported:
>
> Hello,
>
> I don't understand the logic of the font bold for some account depending
> on level.
>
> I have quickly read the source code of the balance sheet, and it seems
> to put in bold font if the account level is lower than 4.
>
> But as you can see in the Screenshot Capture.png , it not correct.
>
> Thsi problem is also present in the profit and lost report.
>
> You will find in attachment , the database use for our test and the
> screenshot
>
> Thanks for your help,
>
> Vincent
>
> ** Affects: openobject-addons
> Importance: Undecided
> Status: New
>
this is a very tricky one.. I was looking into it a few month ago, as it
also bothered me. At least in my case (swiss localisation) the way the
COA is built gives place to weird behaviour. why?

mostly because you can have inconsistencies of this type:

level 0: COA xxx (view)
level 1. Assets (view)
level 2. liquidities (view)
level 4. bank (view)
level 5. bank account (normal account)

and in another place you could have

1. expenses (view)
2. Maintenance exp (view)
3. Equipment mtn (normal)

so the normal accnts could vary in their levels. i would expect all
parents to be bold, and normal accts to be in regular font.

second issue, is that it is quite crowded to have all levels printed, we
should maybe have a summary report (some level of view accts) and a
detailed report (normal accts only maybe)...

regards,
bogdan