Commit 325f826d authored by Sebastien Robin's avatar Sebastien Robin

accounting: add a parameter to allow always showing project

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