proposed invoices in "Select invoices..." wizard [account_payment_discount_extension]

Bug #639698 reported by Thomas Dreiling
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openerp-openbig
Fix Released
Undecided
Unassigned

Bug Description

This did not work anywhere near what was expected. The attached patch fixes it.
The change to the search domain is needed so invoices already on a payment order do not get proposed again on consecutive calls of the selection wizard (or later payment orders, even).
The second change is needed for a) unpaid invoices which were due before, which would be filtered out by your if-clause and b) discountable invoices which would lose their discountability before the search_due_date.

Revision history for this message
Thomas Dreiling (thomas-dreiling) wrote :
Changed in bigconsulting:
status: New → 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.