From 3d119415a2e87b75abf8fbd77ace538cdf18a112 Mon Sep 17 00:00:00 2001 From: qdp-odoo Date: Thu, 29 Mar 2018 10:09:28 +0000 Subject: [PATCH] [IMP] account: usability of payments Backport of commit 771f65ecf565e8c46743259a063f32f54aae0cbe Payments created without partner_type (field not required) were previously not shown anywhere, as well as internal transfers. opw 1910590 closes odoo/odoo#29647 --- addons/account/views/account_payment_view.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/addons/account/views/account_payment_view.xml b/addons/account/views/account_payment_view.xml index 23e7d52cfcb..26ea437c4d6 100644 --- a/addons/account/views/account_payment_view.xml +++ b/addons/account/views/account_payment_view.xml @@ -92,9 +92,9 @@ - - - + + + @@ -188,8 +188,8 @@ account.payment form tree,kanban,form,graph - {'default_payment_type': 'inbound', 'default_partner_type': 'customer'} - [('partner_type', '=', 'customer')] + {'default_payment_type': 'inbound', 'default_partner_type': 'customer', 'search_default_receivable_filter': 1} + []

@@ -206,8 +206,8 @@ account.payment form tree,kanban,form,graph - {'default_payment_type': 'outbound', 'default_partner_type': 'supplier'} - [('partner_type', '=', 'supplier')] + {'default_payment_type': 'outbound', 'default_partner_type': 'supplier', 'search_default_payable_filter': 1} + []