Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
5250346d
Commit
5250346d
authored
Sep 24, 2015
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_project: ZSQLCatalog does not expect a "selection" parameter.
parent
1b307307
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getRelatedBugList.xml
...m/portal_skins/erp5_project/Project_getRelatedBugList.xml
+1
-1
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getSourceProjectRelatedTaskList.xml
.../erp5_project/Project_getSourceProjectRelatedTaskList.xml
+1
-1
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getSourceProjectRelatedTaskReportList.xml
...project/Project_getSourceProjectRelatedTaskReportList.xml
+2
-2
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getSummaryList.xml
...Item/portal_skins/erp5_project/Project_getSummaryList.xml
+2
-2
No files found.
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getRelatedBugList.xml
View file @
5250346d
...
...
@@ -53,7 +53,7 @@
<value>
<string>
project_uid_list = [x.uid for x in context.portal_catalog(\n
relative_url=\'%s/%%\' % context.getRelativeUrl())] + [context.getUid()]\n
\n
return context.portal_catalog(
selection=selection,
\n
return context.portal_catalog(\n
selection_report=selection_report,\n
portal_type=portal_type,\n
related_source_project_or_destination_project = project_uid_list )\n
...
...
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getSourceProjectRelatedTaskList.xml
View file @
5250346d
...
...
@@ -70,7 +70,7 @@ if kw.has_key(\'simulation_state\') and len(kw[\'simulation_state\']) > 0 :\n
sql_kw[\'simulation_state\'] = kw[\'simulation_state\']\n
\n
task_list = [x.getObject() for x in \\\n
context.portal_catalog(selection
=selection, selection
_report=selection_report, \n
context.portal_catalog(selection_report=selection_report, \n
portal_type=\'Task\',\n
source_project_uid = source_project_uid_list,\n
**sql_kw)]\n
...
...
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getSourceProjectRelatedTaskReportList.xml
View file @
5250346d
...
...
@@ -78,13 +78,13 @@ else:\n
task_report_simulation_state = ""\n
\n
task_list = [x.getObject() for x in \\\n
context.portal_catalog(selection
=selection, selection
_report=selection_report, \n
context.portal_catalog(selection_report=selection_report, \n
portal_type=\'Task\',\n
source_project_uid = source_project_uid_list,\n
simulation_state = task_simulation_state,\n
**sql_kw)]\n
task_list.extend([x.getObject() for x in \\\n
context.portal_catalog(selection
=selection, selection
_report=selection_report, \n
context.portal_catalog(selection_report=selection_report, \n
portal_type=\'Task Report\',\n
source_project_uid = source_project_uid_list,\n
simulation_state = task_report_simulation_state,\n
...
...
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getSummaryList.xml
View file @
5250346d
...
...
@@ -51,12 +51,12 @@
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
task_list = [x.getObject() for x in \\\n
context.portal_catalog(selection
=selection, selection
_report=selection_report, \n
context.portal_catalog(selection_report=selection_report, \n
portal_type=\'Task\',\n
simulation_state=context.getPortalDraftOrderStateList()+\n
context.getPortalPlannedOrderStateList())]\n
task_list.extend([x.getObject() for x in \\\n
context.portal_catalog(selection
=selection, selection
_report=selection_report, \n
context.portal_catalog(selection_report=selection_report, \n
portal_type=\'Task Report\',\n
simulation_state=context.getPortalReservedInventoryStateList()+\n
context.getPortalCurrentInventoryStateList())])\n
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment