[V6] Balance sheet/PL report : Layout problem with Boldness of accounts based on level
Bug #779957 reported by
Vincent Renaville@camptocamp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
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
Related branches
lp://staging/~openerp-dev/openobject-addons/6.0-opw-5629-jvo
Ready for review
for merging
into
lp://staging/openobject-addons/6.0
- Jay Vora (Serpent Consulting Services) (community): Approve
-
Diff: 316 lines (+76/-61)6 files modifiedaccount/report/account_balance_sheet.py (+10/-2)
account/report/account_balance_sheet.rml (+14/-14)
account/report/account_balance_sheet_horizontal.rml (+16/-16)
account/report/account_profit_horizontal.rml (+23/-23)
account/report/account_profit_loss.py (+7/-0)
account/report/account_profit_loss.rml (+6/-6)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
importance: | Undecided → Low |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | New → Confirmed |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.0.3 |
summary: |
- [V6] Balance sheet : account layout problem + [V6] Balance sheet/PL report : Layout problem with Boldness of accounts + based on level |
To post a comment you must log in.
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