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 [])]"/> - +