From df27ee8612bd366d8d4c535e6b39de81533151d3 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 eec3c0e83..cbddbe024 100644 --- a/account_payment_order/views/account_payment_order.xml +++ b/account_payment_order/views/account_payment_order.xml @@ -35,10 +35,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 [])]"/> - +