[6.1] can't select invoices from closed fiscal year

Bug #1172293 reported by Holger Brunn (Therp)
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Won't Fix
OpenERP Community Backports (Addons)
Fix Released
Holger Brunn (Therp)
Fix Released
Holger Brunn (Therp)

Bug Description

When a fiscal year is closed, invoices created for this year are not shown in payment orders -> select invoices.

This is because account_move_line._query_get filters for open fiscal years. That can be overridden by setting 'all_fiscalyear' in the context to True, but http://bazaar.launchpad.net/~openerp/openobject-addons/6.1/view/head:/account_payment/account_move_line.py#L54 doesn't pass the context it received to this function.

Related branches

description: updated
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Holger,

Nice correction..!!! Appreciated.... :).

I have faced the same problem on 6.1, but we have already improved the account_payment module on V7 and this thing are working fine on trunk as well as v7.

So as per our bug management policy we are not consider this issue for stable 6.1 :-( .
I have also given a look at your fix which is quite nice.

For this type of stable version's issue, If you have a support and maintenance contact with us then you can contact our OPW team at <email address hidden>.

Thank you!

Changed in openobject-addons:
status: New → Won't Fix
no longer affects: openobject-addons
Changed in openobject-addons:
status: New → Won't Fix
Changed in ocb-addons:
status: New → Fix Committed
assignee: nobody → Holger Brunn (Therp) (hbrunn)
Changed in ocb-addons:
status: Fix Committed → Fix Released
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

not ported to github

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.