← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/842744

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

Status in OpenERP Modules (addons):
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/842744/+subscriptions


Follow ups

References