Commit 9a873fd1 authored by Jérome Perrin's avatar Jérome Perrin

Accounting: fix condition to display project column on accounting transaction views

parent 15aaafbf
...@@ -133,7 +133,10 @@ if len(payment_request_set) > 1:\n ...@@ -133,7 +133,10 @@ if len(payment_request_set) > 1:\n
else:\n else:\n
a((\'getDestinationPaymentRequestTitle\', \'Payment Request\'))\n a((\'getDestinationPaymentRequestTitle\', \'Payment Request\'))\n
\n \n
if len(project_set) > 2:\n min_project_count = 1\n
if context.getSourceProject() or context.getDestinationProject():\n
min_project_count = 2\n
if len(project_set) > min_project_count:\n
if source:\n if source:\n
a((\'getSourceProjectTitle\', \'Project\'))\n a((\'getSourceProjectTitle\', \'Project\'))\n
else:\n else:\n
......
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