← Back to team overview

account-payment-team team mailing list archive

lp:~sergio-incaser/account-payment/v7.0-account_payment_extension into lp:account-payment/7.0

 

Sergio Teruel has proposed merging lp:~sergio-incaser/account-payment/v7.0-account_payment_extension into lp:account-payment/7.0.

Requested reviews:
  Account Payment (account-payment-team)

For more details, see:
https://code.launchpad.net/~sergio-incaser/account-payment/v7.0-account_payment_extension/+merge/195946

[FIX] account_payment_extension. Selects only invoices with due date less than the date entered
-- 
https://code.launchpad.net/~sergio-incaser/account-payment/v7.0-account_payment_extension/+merge/195946
Your team Account Payment is requested to review the proposed merge of lp:~sergio-incaser/account-payment/v7.0-account_payment_extension into lp:account-payment/7.0.
=== modified file 'account_payment_extension/wizard/account_payment_order.py'
--- account_payment_extension/wizard/account_payment_order.py	2013-05-17 13:28:00 +0000
+++ account_payment_extension/wizard/account_payment_order.py	2013-11-20 11:27:00 +0000
@@ -98,7 +98,7 @@
         if payment.mode:
             domain += [ ('payment_type','=',payment.mode.type.id) ]
 
-        domain += ['|',('date_maturity','<',search_due_date),('date_maturity','=',False)]
+        domain += ['|',('date_maturity','<=',search_due_date),('date_maturity','=',False)]
         line_ids = line_obj.search(cr, uid, domain, order='date_maturity', context=context)
 
         selected_ids = []


Follow ups