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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
erp5
Commits
0fdca03f
Commit
0fdca03f
authored
Dec 12, 2011
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display thousand separator of currency fields according to 'Money Quantity Style' user preference.
parent
50c6596c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
3 deletions
+58
-3
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewBalanceSheetReport.xml
.../erp5_accounting/AccountModule_viewBalanceSheetReport.xml
+27
-1
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewProfitAndLossReport.xml
...erp5_accounting/AccountModule_viewProfitAndLossReport.xml
+27
-1
bt5/erp5_accounting/bt/change_log
bt5/erp5_accounting/bt/change_log
+3
-0
bt5/erp5_accounting/bt/revision
bt5/erp5_accounting/bt/revision
+1
-1
No files found.
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewBalanceSheetReport.xml
View file @
0fdca03f
...
...
@@ -76,7 +76,9 @@ dQEAAAAA</string> </value>
xmlns:i18n=\'http://xml.zope.org/namespaces/i18n\'\n
xmlns:metal=\'http://xml.zope.org/namespaces/metal\'\n
tal:attributes=\'dummy python:request.RESPONSE.setHeader("Content-Type", "text/html;; charset=utf-8")\'\n
tal:define=\'at_date request/at_date/latestTime;\n
tal:define=\'money_quantity_style python:context.getPortalObject().portal_preferences.getPreferredMoneyQuantityStyle();\n
money_currency_do_grouping python:"1234" in money_quantity_style and "false" or "true";\n
at_date request/at_date/latestTime;\n
at_date_previous_period python:modules["DateTime"].DateTime(at_date.year() - 1, at_date.month(), at_date.day()).latestTime();\n
date_formatter nocall:here/Base_viewAccountingReport/my_date/render_pdf;\n
from_date python:context.Base_getAccountingPeriodStartDateForSectionCategory(section_category=request["section_category"], date=at_date);\n
...
...
@@ -96,6 +98,30 @@ dQEAAAAA</string> </value>
<style:font-face
svg:font-family=
\'Lucidasans\'
style:font-family-generic=
\'system\'
style:name=
\'Lucidasans\'
style:font-pitch=
\'variable\'/
>
\n
</office:font-face-decls>
\n
<office:automatic-styles>
<!-- {{{ -->
\n
<number:number-style
style:name=
"qus"
>
\n
<number:number
number:decimal-places=
"2"
number:min-integer-digits=
"1"
\n
tal:attributes=
"number:grouping money_currency_do_grouping"
/>
\n
</number:number-style>
\n
<style:style
style:name=
"report-content-currency"
style:family=
"table-cell"
style:parent-style-name=
"Default"
style:data-style-name=
"qus"
>
\n
<style:table-cell-properties
fo:border-bottom=
"none"
fo:border-left=
"0.002cm solid #000000"
fo:border-right=
"0.002cm solid #000000"
fo:border-top=
"none"
/>
\n
<style:text-properties
fo:font-size=
"11pt"
fo:font-weight=
"bold"
/>
\n
</style:style>
\n
<style:style
style:name=
"report-content-currency2"
style:family=
"table-cell"
style:parent-style-name=
"report-content-currency"
style:data-style-name=
"qus"
>
\n
<style:table-cell-properties
fo:border-bottom=
"none"
fo:border-left=
"0.002cm solid #000000"
fo:border-right=
"0.002cm solid #000000"
fo:border-top=
"none"
/>
\n
<style:text-properties
fo:font-size=
"10pt"
fo:font-weight=
"normal"
/>
\n
</style:style>
\n
<style:style
style:name=
"report-content-currency3"
style:family=
"table-cell"
style:parent-style-name=
"report-content-currency"
style:data-style-name=
"qus"
>
\n
<style:table-cell-properties
fo:border-bottom=
"none"
fo:border-left=
"0.002cm solid #000000"
fo:border-right=
"0.002cm solid #000000"
fo:border-top=
"none"
/>
\n
<style:text-properties
fo:font-size=
"9pt"
fo:font-weight=
"normal"
/>
\n
</style:style>
\n
<style:style
style:name=
"report-stat-currency1"
style:family=
"table-cell"
style:parent-style-name=
"Default"
style:data-style-name=
"qus"
>
\n
<style:table-cell-properties
fo:border-bottom=
"none"
fo:border-left=
"0.002cm solid #000000"
fo:border-right=
"0.002cm solid #000000"
fo:border-top=
"none"
/>
\n
<style:text-properties
fo:font-size=
"11pt"
fo:font-weight=
"bold"
/>
\n
</style:style>
\n
<style:style
style:name=
"report-stat-currency"
style:family=
"table-cell"
style:parent-style-name=
"Default"
style:data-style-name=
"qus"
>
\n
<style:table-cell-properties
fo:border-bottom=
"none"
fo:border-left=
"0.002cm solid #000000"
fo:border-right=
"0.002cm solid #000000"
fo:border-top=
"none"
/>
\n
<style:text-properties
fo:font-size=
"12pt"
fo:font-weight=
"bold"
/>
\n
</style:style>
\n
<style:style
style:family=
\'table-column\'
style:name=
\'co1\'
>
\n
<style:table-column-properties
fo:break-before=
\'auto\'
style:column-width=
\'6.21cm\'/
>
\n
</style:style>
\n
...
...
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewProfitAndLossReport.xml
View file @
0fdca03f
...
...
@@ -76,7 +76,9 @@ dQEAAAAA</string> </value>
xmlns:i18n=\'http://xml.zope.org/namespaces/i18n\'\n
xmlns:metal=\'http://xml.zope.org/namespaces/metal\'\n
tal:attributes=\'dummy python:request.RESPONSE.setHeader("Content-Type", "text/html;; charset=utf-8")\'\n
tal:define=\'at_date request/at_date/latestTime;\n
tal:define=\'money_quantity_style python:context.getPortalObject().portal_preferences.getPreferredMoneyQuantityStyle();\n
money_currency_do_grouping python:"1234" in money_quantity_style and "false" or "true";\n
at_date request/at_date/latestTime;\n
at_date_previous_period python:modules["DateTime"].DateTime(at_date.year() - 1, at_date.month(), at_date.day()).latestTime();\n
from_date python:context.Base_getAccountingPeriodStartDateForSectionCategory(section_category=request["section_category"], date=at_date);\n
from_date_previous_period python:context.Base_getAccountingPeriodStartDateForSectionCategory(section_category=request["section_category"], date=at_date_previous_period);\n
...
...
@@ -96,6 +98,30 @@ dQEAAAAA</string> </value>
<style:font-face
svg:font-family=
\'Lucidasans\'
style:font-family-generic=
\'system\'
style:name=
\'Lucidasans\'
style:font-pitch=
\'variable\'/
>
\n
</office:font-face-decls>
\n
<office:automatic-styles>
<!-- {{{ -->
\n
<number:number-style
style:name=
"qus"
>
\n
<number:number
number:decimal-places=
"2"
number:min-integer-digits=
"1"
\n
tal:attributes=
"number:grouping money_currency_do_grouping"
/>
\n
</number:number-style>
\n
<style:style
style:name=
"report-content-currency"
style:family=
"table-cell"
style:parent-style-name=
"Default"
style:data-style-name=
"qus"
>
\n
<style:table-cell-properties
fo:border-bottom=
"none"
fo:border-left=
"0.002cm solid #000000"
fo:border-right=
"0.002cm solid #000000"
fo:border-top=
"none"
/>
\n
<style:text-properties
fo:font-size=
"11pt"
fo:font-weight=
"bold"
/>
\n
</style:style>
\n
<style:style
style:name=
"report-content-currency2"
style:family=
"table-cell"
style:parent-style-name=
"report-content-currency"
style:data-style-name=
"qus"
>
\n
<style:table-cell-properties
fo:border-bottom=
"none"
fo:border-left=
"0.002cm solid #000000"
fo:border-right=
"0.002cm solid #000000"
fo:border-top=
"none"
/>
\n
<style:text-properties
fo:font-size=
"10pt"
fo:font-weight=
"normal"
/>
\n
</style:style>
\n
<style:style
style:name=
"report-content-currency3"
style:family=
"table-cell"
style:parent-style-name=
"report-content-currency"
style:data-style-name=
"qus"
>
\n
<style:table-cell-properties
fo:border-bottom=
"none"
fo:border-left=
"0.002cm solid #000000"
fo:border-right=
"0.002cm solid #000000"
fo:border-top=
"none"
/>
\n
<style:text-properties
fo:font-size=
"9pt"
fo:font-weight=
"normal"
/>
\n
</style:style>
\n
<style:style
style:name=
"report-stat-currency1"
style:family=
"table-cell"
style:parent-style-name=
"Default"
style:data-style-name=
"qus"
>
\n
<style:table-cell-properties
fo:border-bottom=
"none"
fo:border-left=
"0.002cm solid #000000"
fo:border-right=
"0.002cm solid #000000"
fo:border-top=
"none"
/>
\n
<style:text-properties
fo:font-size=
"11pt"
fo:font-weight=
"bold"
/>
\n
</style:style>
\n
<style:style
style:name=
"report-stat-currency"
style:family=
"table-cell"
style:parent-style-name=
"Default"
style:data-style-name=
"qus"
>
\n
<style:table-cell-properties
fo:border-bottom=
"none"
fo:border-left=
"0.002cm solid #000000"
fo:border-right=
"0.002cm solid #000000"
fo:border-top=
"none"
/>
\n
<style:text-properties
fo:font-size=
"12pt"
fo:font-weight=
"bold"
/>
\n
</style:style>
\n
<style:style
style:family=
\'table-column\'
style:name=
\'co1\'
>
\n
<style:table-column-properties
fo:break-before=
\'auto\'
style:column-width=
\'6.21cm\'/
>
\n
</style:style>
\n
...
...
bt5/erp5_accounting/bt/change_log
View file @
0fdca03f
2011-12-12 arnaud.fontaine
* Display thousand separator of currency fields according to 'Money Quantity Style' user preference.
2011-10-12 tatuya
* Make it selectable in Accounting Preference how to display bank account.
...
...
bt5/erp5_accounting/bt/revision
View file @
0fdca03f
1471
\ No newline at end of file
1472
\ 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