Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
eb433dcc
Commit
eb433dcc
authored
Jul 02, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deferred_style: make sure that the number of report sections is correct in the final report
parent
9ffbfd64
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/Base_computeReportSection.xml
...ns/erp5_deferred_style_core/Base_computeReportSection.xml
+2
-1
bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/Base_report.xml
...tem/portal_skins/erp5_deferred_style_core/Base_report.xml
+3
-2
bt5/erp5_deferred_style/bt/revision
bt5/erp5_deferred_style/bt/revision
+1
-1
No files found.
bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/Base_computeReportSection.xml
View file @
eb433dcc
...
@@ -114,6 +114,7 @@ activity_context.activate(activity=\'SQLQueue\', after_tag=tag, priority=priorit
...
@@ -114,6 +114,7 @@ activity_context.activate(activity=\'SQLQueue\', after_tag=tag, priority=priorit
form_path=form.getPhysicalPath(),\n
form_path=form.getPhysicalPath(),\n
user_name=user_name,\n
user_name=user_name,\n
format=format,\n
format=format,\n
report_section_count=len(report_section_list)\n
)\n
)\n
</string>
</value>
</string>
</value>
</item>
</item>
...
...
bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/Base_report.xml
View file @
eb433dcc
...
@@ -63,8 +63,9 @@ with portal.Localizer.translationContext(localizer_language):\n
...
@@ -63,8 +63,9 @@ with portal.Localizer.translationContext(localizer_language):\n
portal.portal_skins.changeSkin(skin_name)\n
portal.portal_skins.changeSkin(skin_name)\n
\n
\n
report_section_list = [r.getResult() for r in ap.getResultList()]\n
report_section_list = [r.getResult() for r in ap.getResultList()]\n
assert len(report_section_list) == report_section_count\n
report_section_list.sort(lambda a, b:cmp(a[0], b[0]))\n
report_section_list.sort(lambda a, b:cmp(a[0], b[0]))\n
\n
\n
def dummyReportMethod():\n
def dummyReportMethod():\n
return report_section_list\n
return report_section_list\n
\n
\n
...
@@ -95,7 +96,7 @@ portal.ERP5Site_notifyReportComplete(\n
...
@@ -95,7 +96,7 @@ portal.ERP5Site_notifyReportComplete(\n
</item>
</item>
<item>
<item>
<key>
<string>
_params
</string>
</key>
<key>
<string>
_params
</string>
</key>
<value>
<string>
active_process_url, skin_name, localizer_language, title, request_other, form_path, user_name, format
</string>
</value>
<value>
<string>
active_process_url, skin_name, localizer_language, title, request_other, form_path, user_name, format
, report_section_count
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<key>
<string>
_proxy_roles
</string>
</key>
...
...
bt5/erp5_deferred_style/bt/revision
View file @
eb433dcc
110
111
\ No newline at end of file
\ No newline at end of file
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