From 956e8d1a4a2bf6c9fdd52aea1091ce09598b855d Mon Sep 17 00:00:00 2001 From: mdietrichc2c Date: Mon, 6 Mar 2017 17:11:57 +0100 Subject: [PATCH] Fix 2 issues on form view for payment order --- account_payment_order/views/account_payment_order.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_payment_order/views/account_payment_order.xml b/account_payment_order/views/account_payment_order.xml index 8846f0cc6df..b65fad9c1f6 100644 --- a/account_payment_order/views/account_payment_order.xml +++ b/account_payment_order/views/account_payment_order.xml @@ -34,10 +34,10 @@ domain="[('payment_order_ok', '=', True), ('payment_type', '=', payment_type)]" widget="selection"/> + domain="[('id', 'in', allowed_journal_ids and allowed_journal_ids[0] and allowed_journal_ids[0][2] or [])]"/> - +