Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
erp5
Commits
62c1971a
Commit
62c1971a
authored
Jan 06, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ods_style: fix a wrong variable name
parent
914868f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml
...nTemplateItem/portal_skins/erp5_ods_style/report_view.xml
+3
-3
No files found.
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml
View file @
62c1971a
...
...
@@ -50,7 +50,7 @@
<tal:block
tal:define=
"rendered_report_item_list rendered_report_item_list | python:[];\n
report_item_list python: rendered_report_item_list or [];\n
dummy python: request.set(\'here\', here);\n
global sheet_per_report
section python: int(request.get(\'sheet_per_report_section\', 0));
"
>
\n
global sheet_per_report
_section python: request.get(\'sheet_per_report_section\', False);
"
>
\n
<tal:block
tal:condition=
"not: report_item_list"
>
\n
<tal:block
tal:condition=
"python: form.meta_type == \'ERP5 Report\'"
>
\n
<tal:block
tal:define=
"dummy python: report_item_list.extend(report_method())"
/>
\n
...
...
@@ -63,7 +63,7 @@
</tal:block>
\n
</tal:block>
\n
<tal:block
tal:define=
"portal_object here/portal_url/getPortalObject"
>
\n
<tal:block
tal:condition=
"not: sheet_per_reportsection"
>
\n
<tal:block
tal:condition=
"not: sheet_per_report
_
section"
>
\n
<table:table
tal:attributes=
"table:name python:unicode(form.getProperty(\'title\'), \'utf8\')"
i18n:attributes=
"table:name"
>
\n
<!-- at least one table-column element is required for ODF to validate -->
\n
<table:table-column
\n
...
...
@@ -135,7 +135,7 @@
</tal:block>
\n
</table:table>
\n
</tal:block>
\n
<tal:block
tal:condition=
"sheet_per_reportsection"
>
\n
<tal:block
tal:condition=
"sheet_per_report
_
section"
>
\n
<tal:block
tal:repeat=
"report_item python: report_item_list"
>
\n
<tal:block
tal:condition=
"python: report_item.getFormId()"
>
\n
<table:table
tal:attributes=
"table:name python: unicode(report_item.getTitle() or \'Sheet%s\' % repeat[\'report_item\'].index, \'utf-8\')"
>
\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