diff --git a/account_payment_order/views/account_payment_order.xml b/account_payment_order/views/account_payment_order.xml index 8846f0cc6..b65fad9c1 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 [])]"/> - +