[6.0, trunk] account.common.report wizard : End Period and special period

Bug #842744 reported by Guewen Baconnier @ Camptocamp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

Hello,

in the module account/wizard/account_report_common.py there is base wizard inherited for most financial reports (general ledger, ...)

There is a method onchange_filter, called on the change of the date/period filter.

Two things are not working (maybe) as a user can expect :
1. When we select "filter by periods" (for a previous year), the start period is the correct one, the end period is the opening period if you have created one (at the 01/01). The query in onchange_filter must exclude the special periods.

2. When we select "filter by date", whichever is the fiscal year selection, the dates are from the 01/01 of the current year to the current date (year doesn't change). It is minor as anyway the dates are not relative to the fiscal year, it looks just a bit weird.

I attach a patch for the first point (6.0.3).

Thanks

Related branches

Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote :
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

I have faced the problem when I closed the period and prints the report.
The related printed report considered closed period entry which is not correct.

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Amit Parik (amit-parik)
Changed in openobject-addons:
importance: Low → Medium
Changed in openobject-addons:
status: Confirmed → In Progress
status: In Progress → Fix Committed
Revision history for this message
Bharat Devnani (Open ERP) (bde-openerp) wrote :

Hello Guewen Baconnier,

Thanks for your time and contribution. I have applied the patch given by you for account_common_report and it seems working fine. The solution for this will be merged in main addons soon. Following are the Revision ID and Number of the bug's solution :

Revision ID : <email address hidden>
Revision Number : 5106

Thanks & Regards,
Devnani Bharat R.

Changed in openobject-addons:
milestone: none → 6.1
Changed in openobject-addons:
status: Fix Committed → Fix Released
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.