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
d0d0341c
Commit
d0d0341c
authored
Jun 08, 2017
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accounting: use category title instead of hardcoded strings in P&L
parent
67688270
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewProfitAndLossReport.oot
...erp5_accounting/AccountModule_viewProfitAndLossReport.oot
+9
-8
No files found.
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewProfitAndLossReport.oot
View file @
d0d0341c
...
@@ -26,7 +26,8 @@
...
@@ -26,7 +26,8 @@
xmlns:i18n=
'http://xml.zope.org/namespaces/i18n'
xmlns:i18n=
'http://xml.zope.org/namespaces/i18n'
xmlns:metal=
'http://xml.zope.org/namespaces/metal'
xmlns:metal=
'http://xml.zope.org/namespaces/metal'
tal:attributes=
'dummy python:request.RESPONSE.setHeader("Content-Type", "text/html;; charset=utf-8")'
tal:attributes=
'dummy python:request.RESPONSE.setHeader("Content-Type", "text/html;; charset=utf-8")'
tal:define=
'money_quantity_style python:context.getPortalObject().portal_preferences.getPreferredMoneyQuantityStyle("");
tal:define=
'portal python: context.getPortalObject();
money_quantity_style python:portal.portal_preferences.getPreferredMoneyQuantityStyle("");
money_currency_do_grouping python:"1234" in money_quantity_style and "false" or "true";
money_currency_do_grouping python:"1234" in money_quantity_style and "false" or "true";
at_date request/at_date/latestTime;
at_date request/at_date/latestTime;
at_date_previous_period python:modules["DateTime"].DateTime(at_date.year() - 1, at_date.month(), at_date.day()).latestTime();
at_date_previous_period python:modules["DateTime"].DateTime(at_date.year() - 1, at_date.month(), at_date.day()).latestTime();
...
@@ -129,7 +130,7 @@
...
@@ -129,7 +130,7 @@
<office:body>
<office:body>
<office:spreadsheet>
<office:spreadsheet>
<table:table
table:style-name=
'ta1'
table:print=
'false'
table:name=
'Expense'
i18n:domain=
'ui'
i18n:attributes=
'table:name'
>
<table:table
table:style-name=
'ta1'
table:print=
'false'
table:name=
'Expense'
tal:attributes=
"table:name portal/portal_categories/financial_section/expense/getTranslatedTitle"
>
<office:forms
form:apply-design-mode=
'false'
form:automatic-focus=
'false'
/>
<office:forms
form:apply-design-mode=
'false'
form:automatic-focus=
'false'
/>
<table:table-column
table:style-name=
'co1'
table:default-cell-style-name=
'report-title'
/>
<table:table-column
table:style-name=
'co1'
table:default-cell-style-name=
'report-title'
/>
<table:table-column
table:style-name=
'co2'
table:default-cell-style-name=
'ce7'
/>
<table:table-column
table:style-name=
'co2'
table:default-cell-style-name=
'ce7'
/>
...
@@ -191,7 +192,7 @@
...
@@ -191,7 +192,7 @@
office:value-type=
'string'
office:value-type=
'string'
table:number-rows-spanned=
'1'
table:number-rows-spanned=
'1'
table:number-columns-spanned=
'3'
>
table:number-columns-spanned=
'3'
>
<text:p
i18n:translate=
""
i18n:domain=
"ui
"
>
Expense
</text:p>
<text:p
tal:content=
"portal/portal_categories/financial_section/expense/getTranslatedTitle
"
>
Expense
</text:p>
</table:table-cell>
</table:table-cell>
<table:covered-table-cell
table:style-name=
"ce9"
/><table:covered-table-cell
table:style-name=
"ce9"
/>
<table:covered-table-cell
table:style-name=
"ce9"
/><table:covered-table-cell
table:style-name=
"ce9"
/>
<table:table-cell
table:style-name=
'report-column-title'
office:value-type=
'string'
>
<table:table-cell
table:style-name=
'report-column-title'
office:value-type=
'string'
>
...
@@ -443,8 +444,7 @@
...
@@ -443,8 +444,7 @@
table:number-columns-spanned=
'3'
table:number-columns-spanned=
'3'
table:number-rows-spanned=
'1'
table:number-rows-spanned=
'1'
office:value-type=
'string'
>
office:value-type=
'string'
>
<text:p
i18n:translate=
""
i18n:domain=
"ui"
>
Total
<tal:block
i18n:name=
"class"
<text:p
i18n:translate=
""
i18n:domain=
"ui"
>
Total
<tal:block
i18n:name=
"class"
tal:content=
"portal/portal_categories/financial_section/expense/getTranslatedTitle"
></tal:block></text:p>
i18n:translate=
''
i18n:domain=
"ui"
tal:content=
'string:Expense'
></tal:block></text:p>
</table:table-cell>
</table:table-cell>
<table:covered-table-cell
table:style-name=
"ce9"
/>
<table:covered-table-cell
table:style-name=
"ce9"
/>
<table:covered-table-cell
table:style-name=
"ce9"
/>
<table:covered-table-cell
table:style-name=
"ce9"
/>
...
@@ -515,7 +515,8 @@
...
@@ -515,7 +515,8 @@
</table:table>
<!-- new table -->
</table:table>
<!-- new table -->
<table:table
table:style-name=
'ta1'
table:print=
'false'
table:name=
'Income'
<table:table
tal:attributes=
"table:name portal/portal_categories/financial_section/income/getTranslatedTitle"
table:style-name=
'ta1'
table:print=
'false'
table:name=
'Income'
i18n:domain=
'ui'
i18n:attributes=
'table:name'
>
i18n:domain=
'ui'
i18n:attributes=
'table:name'
>
<office:forms
form:apply-design-mode=
'false'
form:automatic-focus=
'false'
/>
<office:forms
form:apply-design-mode=
'false'
form:automatic-focus=
'false'
/>
<table:table-column
table:style-name=
'co1'
table:default-cell-style-name=
'report-title'
/>
<table:table-column
table:style-name=
'co1'
table:default-cell-style-name=
'report-title'
/>
...
@@ -542,7 +543,7 @@
...
@@ -542,7 +543,7 @@
office:value-type=
'string'
office:value-type=
'string'
table:number-rows-spanned=
'1'
table:number-rows-spanned=
'1'
table:number-columns-spanned=
'3'
>
table:number-columns-spanned=
'3'
>
<text:p
i18n:translate=
""
i18n:domain=
"ui
"
>
Income
</text:p>
<text:p
tal:content=
"portal/portal_categories/financial_section/income/getTranslatedTitle
"
>
Income
</text:p>
</table:table-cell>
</table:table-cell>
<table:covered-table-cell
table:style-name=
"ce9"
/><table:covered-table-cell
table:style-name=
"ce9"
/>
<table:covered-table-cell
table:style-name=
"ce9"
/><table:covered-table-cell
table:style-name=
"ce9"
/>
<table:table-cell
table:style-name=
'report-column-title'
office:value-type=
'string'
>
<table:table-cell
table:style-name=
'report-column-title'
office:value-type=
'string'
>
...
@@ -797,7 +798,7 @@
...
@@ -797,7 +798,7 @@
office:value-type=
'string'
office:value-type=
'string'
table:number-rows-spanned=
'1'
table:number-rows-spanned=
'1'
table:number-columns-spanned=
'3'
>
table:number-columns-spanned=
'3'
>
<text:p
i18n:translate=
""
i18n:domain=
"ui"
>
Total
<tal:block
i18n:name=
"class"
i18n:translate=
''
i18n:domain=
"ui"
tal:content=
'string:Income'
></tal:block></text:p>
<text:p
i18n:translate=
""
i18n:domain=
"ui"
>
Total
<tal:block
i18n:name=
"class"
tal:content=
"portal/portal_categories/financial_section/income/getTranslatedTitle"
></tal:block></text:p>
</table:table-cell>
</table:table-cell>
<table:covered-table-cell
table:style-name=
"ce9"
/><table:covered-table-cell
table:style-name=
"ce9"
/>
<table:covered-table-cell
table:style-name=
"ce9"
/><table:covered-table-cell
table:style-name=
"ce9"
/>
<table:table-cell
table:style-name=
'report-stat-currency2'
<table:table-cell
table:style-name=
'report-stat-currency2'
...
...
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