From 398c70bd822c9d46efd0633c6414e38bfab56305 Mon Sep 17 00:00:00 2001 From: zainab2097 <149927291+zainab2097@users.noreply.github.com> Date: Tue, 1 Oct 2024 20:46:50 +0300 Subject: [PATCH] Update actions_and_menus.xml --- .../exp_transaction_documents/views/actions_and_menus.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/odex25_transactions/exp_transaction_documents/views/actions_and_menus.xml b/odex25_transactions/exp_transaction_documents/views/actions_and_menus.xml index b3fd2e610..ceec7c2c4 100644 --- a/odex25_transactions/exp_transaction_documents/views/actions_and_menus.xml +++ b/odex25_transactions/exp_transaction_documents/views/actions_and_menus.xml @@ -161,7 +161,9 @@ Incoming Internal Transaction internal.transaction tree,form - [('create_uid','!=',uid)] + {'default_transaction_type': 'incoming'} + [('transaction_type', '=', 'incoming')] + @@ -195,7 +197,9 @@ Outgoing Internal Transaction internal.transaction tree,form - [('create_uid', '=', uid)] + {'default_transaction_type': 'outgoing'} + [('transaction_type', '=', 'outgoing')] +

Create the first Outgoing Internal Transaction