Commit a0e5aa6b authored by Jérome Perrin's avatar Jérome Perrin

Fix PaymentTransactionGroup_getGroupablePaymentTransactionLineList for case...

Fix PaymentTransactionGroup_getGroupablePaymentTransactionLineList for case when payment mode is acquired

We have to use the special payment_transaction_line_payment_mode_uid related
key which supports both case when the payment mode is set on line or acquired
from parent (because acquired categories are not catalogued for movements)
parent 17961629
......@@ -67,7 +67,7 @@ search_kw = dict(\n
)\n
\n
if context.getPaymentMode():\n
search_kw[\'parent_payment_mode_uid\'] = context.getPaymentModeUid()\n
search_kw[\'payment_transaction_line_payment_mode_uid\'] = context.getPaymentModeUid()\n
\n
if limit:\n
search_kw[\'limit\'] = limit\n
......
18
\ No newline at end of file
19
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment