Commit 732c12c8 authored by Sebastien Robin's avatar Sebastien Robin Committed by Cédric Le Ninivin

accounting: add a parameter to allow always showing project

parent e777ed06
......@@ -89,7 +89,7 @@ if len(payment_request_set) > 1:
min_project_count = 1
if context.getSourceProject() or context.getDestinationProject():
min_project_count = 2
if len(project_set) > min_project_count:
if force_project or len(project_set) > min_project_count:
if source:
a(('getSourceProjectTitle', 'Project'))
else:
......
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>source=0</string> </value>
<value> <string>source=0, force_project=False</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
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