diff --git a/golem_payment/views/golem_account_payment_views.xml b/golem_payment/views/golem_account_payment_views.xml index dc0a227..f4739d4 100644 --- a/golem_payment/views/golem_account_payment_views.xml +++ b/golem_payment/views/golem_account_payment_views.xml @@ -48,20 +48,22 @@ along with this program. If not, see . account.payment - - - + + state=='draft' and payment_date <= current_date + + + + - - Account Payment Filters account.payment + @@ -78,9 +80,9 @@ along with this program. If not, see . domain="[('state','=', 'draft'), ('payment_date','<=', (context_today() + datetime.timedelta(days=30)).strftime('%Y-%m-%d')), ('payment_date','>=', context_today().strftime('%Y-%m-%d'))]" /> - - + +