6.0.1 account - legal reports - 'Display accounts' dropdown

Bug #706287 reported by Vadim - Enapps LTD
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP Publisher's Warranty Team

Bug Description

The 'Display accounts' dropdown from the Trial Balance report doesnt work properly. Probably for balance sheet and p&l is the same.

If you select the 'With movements' or 'With balance is not equal to 0' it will still display almost all acounts (not all though - I had a report which excluded an account with movements for some reason. the balances on that account are dr 20, cr 0.1)

Very weird

Related branches

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
Ashvin Rathod (OpenERP) (ara-tinyerp) wrote :

Hello Vadim,

I have fixed the problem in lp:~openerp-commiter/openobject-addons/trunk-dev-addons3-ara branch, It will be merged soon with trunk-dev-addons3.

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

Thank you,
ara

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

@ Ashvin => your patch is correct for "With balance is not equal to 0" but not for "With movements".
So i reopen the bug.

thanks,
mra

Changed in openobject-addons:
status: Fix Committed → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ashvin Rathod (OpenERP) (ara-tinyerp) wrote :

Hello Vadim,

we have fixed the problem in lp:~openerp-commiter/openobject-addons/trunk-dev-addons3 branch.

Revision No: 4903
Revision ID: mra@mra-laptop-20110124121112-w3j38xkhuq6dszza

Thank you,
ara

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Bogdan Stanciu (bstanciu) wrote : Re: [Bug 706287] Re: 6.0.1 account - legal reports - 'Display accounts' dropdown

On 24. 01. 11 11:38, Mustufa Rangwala (Open ERP) wrote:
> @ Ashvin => your patch is correct for "With balance is not equal to 0" but not for "With movements".
> So i reopen the bug.
>
> thanks,
> mra
>
> ** Changed in: openobject-addons
> Status: Fix Committed => Confirmed
>
good to see someone's testing carefully :-) i was about to submit the
same patch...

now th GL and the Trial Balance work fine!

however, there is one more problem in the BS an P&L reports, they always
come empty for me!

Before submitting a bug, i would like to know if you have the same, or
is it maybe linked to something else

i have the swiss localisation, if that matters. and the latest revs.

thank you!
b

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

Hello Bogdan,

No, we have BS an P&L reports with some entries.

And for swiss localisation we will test and reply soon.

thanks,
mra

Revision history for this message
Bogdan Stanciu (bstanciu) wrote :

On 24. 01. 11 14:30, Mustufa Rangwala (Open ERP) wrote:
> Hello Bogdan,
>
> No, we have BS an P&L reports with some entries.
>
> And for swiss localisation we will test and reply soon.
>
> thanks,
> mra
>
thank you very much!

Revision history for this message
Ashvin Rathod (OpenERP) (ara-tinyerp) wrote :

Hello Bogdan,

I have checked the scenario as you describe in #4. I am also same problem for BS and P&L report of swiss localization.

so, you can report a new bug.

Thanks
ara

Revision history for this message
Bogdan Stanciu (bstanciu) wrote :

On 25. 01. 11 06:49, Ashvin Rathod (OpenERP) wrote:
> Hello Bogdan,
>
> I have checked the scenario as you describe in #4. I am also same
> problem for BS and P&L report of swiss localization.
>
> so, you can report a new bug.
>
> Thanks
> ara
>
thank you!

Revision history for this message
Vadim - Enapps LTD (vadim-enapps) wrote :

I see that this fix has been released (Merged into lp:openobject-addons at revision 4238)
So I updated the server/addons, cleared cache, restarted server/ reinstalled base and I can still see this is not working.

Changed in openobject-addons:
status: Fix Released → New
Revision history for this message
Bogdan Stanciu (bstanciu) wrote :

I think that there still is an error, as 'currency_obj.is_zero' has a logical output (true/false) so the condition '>0' is at least superfluous IMHO. I use it with 'if not...' without that condition, and it works.

thank you!
Bogdan

Revision history for this message
Bogdan Stanciu (bstanciu) wrote :

update: I checked and the condition >0 is NOT superfluous, it just ANNULS the filter!! so you should that them out!

Lucas (lucasbrosnon)
Changed in openobject-addons:
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ashvin Rathod (OpenERP) (ara-tinyerp) wrote :

Hello Vadim,

I have fixed the problem in lp:~openerp-dev/openobject-addons/trunk-bug-706287-ara branch as per Bogdan Stanciu suggestion. It will be merge soon with trunk addons.
@Bogdan Stanciu thanks for contribution.

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

Thanks,
ara

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

Hi,

thanks for fixing this. Would it be possible to implement the solution on the 6.0 branch, please?

Regards,
Stefan.

Revision history for this message
Azazahmed Saiyed (OpenERP) (saz-openerp) wrote :

Hello Stefan,

For fixing in stable branch you can contact to our OPW team if you have the support and maintenance contract with us.

You can contact at the <email address hidden>.

Thanks.

Changed in openobject-addons:
status: Fix Released → In Progress
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP Publisher's Warranty Team (openerp-opw)
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Guys,

This has been fixed in stable 6.0.2 by revision 4508 <email address hidden>.

Thanks.

Changed in openobject-addons:
status: In Progress → Fix Released
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.