Commit 99c3babc authored by Fabien Devaux's avatar Fabien Devaux

** 2006-07-17 by fab

ADD: Sample Profit and Loss report + fixes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8451 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f2dcb965
......@@ -42,7 +42,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>indian_balance_sheet_report</string> </value>
<value> <string>balance_sheet_report</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
......@@ -81,7 +81,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/AccountingTransactionModule_viewBalanceSheetDialog</string> </value>
<value> <string>string:${object_url}/AccountModule_viewIndianBalanceSheetReportDialog</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_report</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>profit_loss_report</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Indian Profit and Loss</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/AccountModule_viewIndianProfitLossReportDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -42,7 +42,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>indian_balance_sheet_report</string> </value>
<value> <string>balance_sheet_report</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
......@@ -81,7 +81,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/AccountingTransactionModule_viewBalanceSheetDialog</string> </value>
<value> <string>string:${object_url}/AccountModule_viewIndianBalanceSheetReportDialog</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_report</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>profit_loss_report</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Indian Profit and Loss</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/AccountModule_viewIndianProfitLossReportDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -42,6 +42,12 @@
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>expense</string> </value>
......@@ -605,6 +611,123 @@
</value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>\'edit\'</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>shrenik</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass> <reference id="5.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>_aday</string> </key>
<value> <string>Tue</string> </value>
</item>
<item>
<key> <string>_amon</string> </key>
<value> <string>Jun</string> </value>
</item>
<item>
<key> <string>_d</string> </key>
<value> <float>38521.2666061</float> </value>
</item>
<item>
<key> <string>_day</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>_dayoffset</string> </key>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>_fday</string> </key>
<value> <string>Tuesday</string> </value>
</item>
<item>
<key> <string>_fmon</string> </key>
<value> <string>June</string> </value>
</item>
<item>
<key> <string>_hour</string> </key>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>_millis</string> </key>
<value> <long>1150784634765</long> </value>
</item>
<item>
<key> <string>_minute</string> </key>
<value> <int>23</int> </value>
</item>
<item>
<key> <string>_month</string> </key>
<value> <int>6</int> </value>
</item>
<item>
<key> <string>_nearsec</string> </key>
<value> <float>54.0</float> </value>
</item>
<item>
<key> <string>_pday</string> </key>
<value> <string>Tue.</string> </value>
</item>
<item>
<key> <string>_pm</string> </key>
<value> <string>am</string> </value>
</item>
<item>
<key> <string>_pmhour</string> </key>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>_pmon</string> </key>
<value> <string>June</string> </value>
</item>
<item>
<key> <string>_second</string> </key>
<value> <float>54.765</float> </value>
</item>
<item>
<key> <string>_t</string> </key>
<value> <float>1150784634.77</float> </value>
</item>
<item>
<key> <string>_tz</string> </key>
<value> <string>GMT-4</string> </value>
</item>
<item>
<key> <string>_year</string> </key>
<value> <int>2006</int> </value>
</item>
<item>
<key> <string>time</string> </key>
<value> <float>0.266606076395</float> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
......
......@@ -153,7 +153,9 @@ return result\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting_l10n_in/AccountModule_getTrialBalanceReportSectionList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
......
......@@ -134,7 +134,9 @@ return [list_item]\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting_l10n_in/AccountModule_getTrialBalanceSummary</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
......
......@@ -96,7 +96,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>AccountingTransactionModule_viewBalanceSheetDialog</string> </value>
<value> <string>AccountModule_viewIndianBalanceSheetReportDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......
......@@ -137,6 +137,7 @@
<tal:block tal:replace="nothing"> Summary.\n
</tal:block>\n
<tal:block>\n
\t\t\t<!--\n
<table style="transaction_header" splitbyrow="1" repeatrows="0" repeatcols="0">\n
<tr rowheight="0.5cm">\n
<td colwidth="1.5cm"/>\n
......@@ -148,12 +149,14 @@
<td colwidth="2.5cm"/>\n
</tr>\n
</table>\n
\t\t\t-->\n
<table style="transaction_body" splitbyrow="1" repeatrows="0" repeatcols="0">\n
<tr rowheight="1.5cm">\n
<td colwidth="1.5cm"/>\n
<td colwidth="1.5cm"/>\n
<td colwidth="2cm"/>\n
<td colwidth="10cm" > Total </td>\n
<!-- <td colwidth="1.5cm"/>-->\n
<!-- <td colwidth="1.5cm"/>-->\n
<!-- <td colwidth="2cm"/>-->\n
\t\t\t\t\t<td colwidth="0.5cm"/>\n
<td colwidth="11.5cm" > Total </td>\n
<td colwidth="2.5cm" tal:content="python: here.Base_getRoundValue(transaction_list[-1][\'journal_total_debit\' ], precision) "/>\n
<td colwidth="2.5cm" tal:content="python: here.Base_getRoundValue(transaction_list[-1][\'journal_total_credit\'], precision) "/>\n
</tr>\n
......
......@@ -132,7 +132,9 @@ return float ("%.2f"%(sum))\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/erp5/portal_skins/erp5_accounting_l10n_in/FiscalReportCell_doGetInventory</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
......
......@@ -91,7 +91,9 @@ return int(integerPart)\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/erp5/portal_skins/erp5_accounting_l10n_in/FiscalReportCell_roundBalance</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
......
** 2006-07-17 by fab
ADD: Sample Profit and Loss report + fixes
** 2006-06-20 by fab
ADD: patched trial balance and journal
** 2006-06-17 by fab
Initial commit
\ No newline at end of file
Copyright (c) 2005-2006 Nexedi SARL
Thanks to Intelliant for their help.
\ No newline at end of file
Account Module | indian_balance_sheet_report
Accounting Transaction Module | indian_balance_sheet_report
\ No newline at end of file
Account Module | balance_sheet_report
Account Module | profit_loss_report
Accounting Transaction Module | balance_sheet_report
Accounting Transaction Module | profit_loss_report
\ No newline at end of file
0.5
\ No newline at end of file
0.6
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment