[Erp5-report] r19151 - in /experimental/bt5/erp5_accounting_experimental: SkinTemplateItem/...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 7 23:26:59 CET 2008


Author: bartek
Date: Thu Feb  7 23:26:58 2008
New Revision: 19151

URL: http://svn.erp5.org?rev=19151&view=rev
Log:
This is going to be a ZPT library for putting together accounting reports in OOo format.

Added:
    experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/AccountingTransactionModule%20_sampleReportUsingLibrary.xml
    experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_header.xml
    experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_macro_library.xml
    experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_cell.xml
    experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_numbers.xml
Modified:
    experimental/bt5/erp5_accounting_experimental/bt/revision

Added: experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/AccountingTransactionModule%20_sampleReportUsingLibrary.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/AccountingTransactionModule%2520_sampleReportUsingLibrary.xml?rev=19151&view=auto
==============================================================================
--- experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/AccountingTransactionModule%20_sampleReportUsingLibrary.xml (added)
+++ experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/AccountingTransactionModule%20_sampleReportUsingLibrary.xml Thu Feb  7 23:26:58 2008
@@ -1,0 +1,223 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="OOoTemplate" module="Products.ERP5OOo.OOoTemplate"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>OLE_documents_zipstring</string> </key>
+            <value> <string encoding="base64">UEsDBBQAAAAIAAGLRzjMBk1mQgEAAFEHAAAVAAAATUVUQS1JTkYvbWFuaWZlc3QueG1stZVLasMw
+EED3PYXR3lbbVTFxAi30BOkBJvLYEeiHZhSS21cO5NM2lKZYOw1I741GGmmx2ltT7TCS9q4TT82j
+qNAp32s3duJj/V6/iNXyYWHB6QGJ29OgyuscncNOpOhaD6SpdWCRWlatD+h6r5JFx+3X+e1kWj5U
+F/CgDdZ5YjxUFxn2Gmo+BOwEhGC0As55yp3rm6OruVY0FCJCT1tEFhfIkIypA/C2E1LIu5y3KW/e
+DXpM8ZgLPUti4EQbiGXwoBQazKGPUqUYp53mYhZ3FREMxgNjIXjwIYV8E1IhfPRjRCp30lPqxeDs
+vSkG1xZGJPmq2UKgoo472d+fDUpu6p4m6UZdC/6Ww51yxj3LqVdvwrOf/9fMv3OJDwZpdqxFhtke
+nvU22Y0DbUjyadgEN84Nn7ewyJz/xXNpF/LHt7j8BFBLAQIUABQAAAAIAAGLRzjMBk1mQgEAAFEH
+AAAVAAAAAAAAAAAAAAAAAAAAAABNRVRBLUlORi9tYW5pZmVzdC54bWxQSwUGAAAAAAEAAQBDAAAA
+dQEAAAAA</string> </value>
+        </item>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<office:document-content xmlns:office=\'urn:oasis:names:tc:opendocument:xmlns:office:1.0\' xmlns:text=\'urn:oasis:names:tc:opendocument:xmlns:text:1.0\' xmlns:number=\'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0\' xmlns:meta=\'urn:oasis:names:tc:opendocument:xmlns:meta:1.0\' xmlns:table=\'urn:oasis:names:tc:opendocument:xmlns:table:1.0\' xmlns:style=\'urn:oasis:names:tc:opendocument:xmlns:style:1.0\' xmlns:script=\'urn:oasis:names:tc:opendocument:xmlns:script:1.0\' xmlns:xlink=\'http://www.w3.org/1999/xlink\' xmlns:math=\'http://www.w3.org/1998/Math/MathML\' xmlns:draw=\'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0\' xmlns:form=\'urn:oasis:names:tc:opendocument:xmlns:form:1.0\' xmlns:ooo=\'http://openoffice.org/2004/office\' xmlns:dc=\'http://purl.org/dc/elements/1.1/\' xmlns:chart=\'urn:oasis:names:tc:opendocument:xmlns:chart:1.0\' xmlns:dr3d=\'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0\' xmlns:fo=\'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0\' xmlns:xforms=\'http://www.w3.org/2002/xforms\' xmlns:dom=\'http://www.w3.org/2001/xml-events\' xmlns:ooow=\'http://openoffice.org/2004/writer\' xmlns:svg=\'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0\' xmlns:xsd=\'http://www.w3.org/2001/XMLSchema\' xmlns:xsi=\'http://www.w3.org/2001/XMLSchema-instance\' xmlns:oooc=\'http://openoffice.org/2004/calc\'  xmlns:tal=\'http://xml.zope.org/namespaces/tal\'\n
+          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
+         office:version=\'1.0\'>\n
+  <tal:block metal:use-macro="here/accounting_report_header/macros/header">\n
+    <tal:block metal:fill-slot="column-widths">\n
+\n
+<!-- SET COLUMN WIDTHS HERE -->\n
+      <style:style style:family=\'table-column\' style:name=\'co1\'>\n
+        <style:table-column-properties fo:break-before=\'auto\' style:column-width=\'5.835cm\'/>\n
+      </style:style>\n
+      <style:style style:family=\'table-column\' style:name=\'co2\'>\n
+        <style:table-column-properties fo:break-before=\'auto\' style:column-width=\'4.653cm\'/>\n
+      </style:style>\n
+      <style:style style:family=\'table-column\' style:name=\'co3\'>\n
+        <style:table-column-properties fo:break-before=\'auto\' style:column-width=\'2.36cm\'/>\n
+      </style:style>\n
+      <style:style style:family=\'table-column\' style:name=\'co4\'>\n
+        <style:table-column-properties fo:break-before=\'auto\' style:column-width=\'3.56cm\'/>\n
+      </style:style>\n
+      <style:style style:family=\'table-column\' style:name=\'co5\'>\n
+        <style:table-column-properties fo:break-before=\'auto\' style:column-width=\'2.764cm\'/>\n
+      </style:style>\n
+      <style:style style:family=\'table-column\' style:name=\'co6\'>\n
+        <style:table-column-properties fo:break-before=\'auto\' style:column-width=\'2.267cm\'/>\n
+      </style:style>\n
+    </tal:block>\n
+  </tal:block>\n
+\n
+<!-- DEFINE GLOBAL VARIABLES FOR REPORT HEADER SECTION -->\n
+  <office:body tal:define="\n
+         from_date string:2008-02-15;\n
+         at_date string:2008-02-30;\n
+         report_title string:Accounting whatever;\n
+         section_category string:MDML;\n
+         gap_root string:0 - fixed assets;\n
+         simulation_state python: (\'delivered\', \'stopped\');\n
+         portal_type python: (\'Sale Invo\', \'Purchase Invo\');\n
+         label_list python: (\'Type\' ,\'Reference\' ,\'Date\' ,\'Account\' ,\'Debit\' ,\'Credit\');\n
+      ">\n
+    <office:spreadsheet>\n
+      <table:table table:style-name=\'ta1\' table:print=\'false\' table:name=\'Sheet1\'>\n
+\n
+<!-- HEADER LINES -->\n
+ <tal:block metal:use-macro="here/accounting_report_macro_library/macros/table-header"/>\n
+ <tal:block metal:use-macro="here/accounting_report_macro_library/macros/section-category"/>\n
+ <tal:block metal:use-macro="here/accounting_report_macro_library/macros/gap-root"/>\n
+ <tal:block metal:use-macro="here/accounting_report_macro_library/macros/start-end-date"/>\n
+ <tal:block metal:use-macro="here/accounting_report_macro_library/macros/simulation_state"/>\n
+ <tal:block metal:use-macro="here/accounting_report_macro_library/macros/portal-type"/>\n
+\n
+<!-- SPACER -->\n
+ <tal:block metal:use-macro="here/accounting_report_macro_library/macros/empty-row"/>\n
+ <tal:block metal:use-macro="here/accounting_report_macro_library/macros/empty-row"/>\n
+\n
+<!-- COLUMN LABELS -->\n
+ <tal:block metal:use-macro="here/accounting_report_macro_library/macros/label-row"/>\n
+\n
+<!-- REPORT CONTENT -->\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell table:style-name=\'main-normal\' office:value-type=\'string\'>\n
+            <text:p>Sale Invoice Transaction</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:style-name=\'main-normal\' office:value-type=\'string\'>\n
+            <text:p>0124as</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell office:date-value=\'2008-01-22\' table:style-name=\'main-center-date\' office:value-type=\'date\'>\n
+            <text:p>2008-01-22</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:style-name=\'main-normal\' table:number-columns-repeated=\'3\'/>\n
+        </table:table-row>\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell table:number-columns-repeated=\'3\'/>\n
+          <table:table-cell table:style-name=\'sub-center\' office:value-type=\'string\'>\n
+            <text:p>204</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:style-name=\'sub-money\' office:value-type=\'float\' office:value=\'135.8\'>\n
+            <text:p>135,80</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:style-name=\'sub-money\'/>\n
+          <table:table-cell/>\n
+        </table:table-row>\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell table:style-name=\'standard\'/>\n
+          <table:table-cell/>\n
+          <table:table-cell table:style-name=\'sub-center\'/>\n
+          <table:table-cell table:style-name=\'sub-center\' office:value-type=\'string\'>\n
+            <text:p>304</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:style-name=\'sub-money\'/>\n
+          <table:table-cell table:style-name=\'sub-money\' office:value-type=\'float\' office:value=\'58.9\'>\n
+            <text:p>58,90</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell/>\n
+        </table:table-row>\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell table:style-name=\'main-normal\' office:value-type=\'string\'>\n
+            <text:p>Sale Invoice Transaction</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:style-name=\'main-normal\' office:value-type=\'string\'>\n
+            <text:p>0124as</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell office:date-value=\'2008-01-22\' table:style-name=\'main-center-date\' office:value-type=\'date\'>\n
+            <text:p>2008-01-22</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:style-name=\'main-normal\' table:number-columns-repeated=\'3\'/>\n
+        </table:table-row>\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell table:number-columns-repeated=\'3\'/>\n
+          <table:table-cell table:style-name=\'sub-center\' office:value-type=\'string\'>\n
+            <text:p>204</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:style-name=\'sub-money\' office:value-type=\'float\' office:value=\'135.8\'>\n
+            <text:p>135,80</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:number-columns-repeated=\'2\'/>\n
+        </table:table-row>\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell table:number-columns-repeated=\'3\'/>\n
+          <table:table-cell table:style-name=\'sub-center\' office:value-type=\'string\'>\n
+            <text:p>304</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:style-name=\'sub-money\'/>\n
+          <table:table-cell table:style-name=\'sub-money\' office:value-type=\'float\' office:value=\'58.9\'>\n
+            <text:p>58,90</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell/>\n
+        </table:table-row>\n
+      </table:table>\n
+\n
+    <tal:block metal:use-macro="here/accounting_report_header/macros/footer"/>\n
+\n
+    </office:spreadsheet>\n
+  </office:body>\n
+</office:document-content>\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>application/vnd.oasis.opendocument.spreadsheet</string> </value>
+        </item>
+        <item>
+            <key> <string>expand</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>AccountingTransactionModule _sampleReportUsingLibrary</string> </value>
+        </item>
+        <item>
+            <key> <string>ooo_stylesheet</string> </key>
+            <value> <string>AccountingTransactionModule_odsReportTemplate</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_header.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_header.xml?rev=19151&view=auto
==============================================================================
--- experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_header.xml (added)
+++ experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_header.xml Thu Feb  7 23:26:58 2008
@@ -1,0 +1,119 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<office:document-content xmlns:office=\'urn:oasis:names:tc:opendocument:xmlns:office:1.0\' xmlns:text=\'urn:oasis:names:tc:opendocument:xmlns:text:1.0\' xmlns:number=\'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0\' xmlns:meta=\'urn:oasis:names:tc:opendocument:xmlns:meta:1.0\' xmlns:table=\'urn:oasis:names:tc:opendocument:xmlns:table:1.0\' xmlns:style=\'urn:oasis:names:tc:opendocument:xmlns:style:1.0\' xmlns:script=\'urn:oasis:names:tc:opendocument:xmlns:script:1.0\' xmlns:xlink=\'http://www.w3.org/1999/xlink\' xmlns:math=\'http://www.w3.org/1998/Math/MathML\' xmlns:draw=\'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0\' xmlns:form=\'urn:oasis:names:tc:opendocument:xmlns:form:1.0\' xmlns:ooo=\'http://openoffice.org/2004/office\' xmlns:dc=\'http://purl.org/dc/elements/1.1/\' xmlns:chart=\'urn:oasis:names:tc:opendocument:xmlns:chart:1.0\' xmlns:dr3d=\'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0\' xmlns:fo=\'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0\' xmlns:xforms=\'http://www.w3.org/2002/xforms\' xmlns:dom=\'http://www.w3.org/2001/xml-events\' xmlns:ooow=\'http://openoffice.org/2004/writer\' xmlns:svg=\'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0\' xmlns:xsd=\'http://www.w3.org/2001/XMLSchema\' xmlns:xsi=\'http://www.w3.org/2001/XMLSchema-instance\' xmlns:oooc=\'http://openoffice.org/2004/calc\'  xmlns:tal=\'http://xml.zope.org/namespaces/tal\'\n
+          xmlns:i18n=\'http://xml.zope.org/namespaces/i18n\'\n
+          xmlns:metal=\'http://xml.zope.org/namespaces/metal\'\n
+         office:version=\'1.0\'>\n
+\n
+<tal:block metal:define-macro="header">\n
+  <office:scripts/>\n
+  <office:font-face-decls>\n
+    <style:font-face svg:font-family="\'Luxi Sans\'" style:name=\'Luxi Sans1\' style:font-pitch=\'variable\'/>\n
+    <style:font-face svg:font-family="\'DejaVu Sans\'" style:font-family-generic=\'swiss\' style:name=\'DejaVu Sans\' style:font-pitch=\'variable\'/>\n
+    <style:font-face svg:font-family="\'Luxi Sans\'" style:font-family-generic=\'swiss\' style:name=\'Luxi Sans\' style:font-pitch=\'variable\'/>\n
+    <style:font-face svg:font-family="\'DejaVu Sans\'" style:font-family-generic=\'system\' style:name=\'DejaVu Sans1\' style:font-pitch=\'variable\'/>\n
+  </office:font-face-decls>\n
+  <office:automatic-styles>\n
+    <tal:block metal:define-slot="column-widths"/>\n
+    <style:style style:family=\'table-row\' style:name=\'ro1\'>\n
+      <style:table-row-properties fo:break-before=\'auto\' style:use-optimal-row-height=\'true\' style:row-height=\'0.596cm\'/>\n
+    </style:style>\n
+    <style:style style:family=\'table-row\' style:name=\'ro2\'>\n
+      <style:table-row-properties fo:break-before=\'auto\' style:use-optimal-row-height=\'true\' style:row-height=\'0.427cm\'/>\n
+    </style:style>\n
+    <style:style style:family=\'table\' style:name=\'ta1\' style:master-page-name=\'Default\'>\n
+      <style:table-properties style:writing-mode=\'lr-tb\' table:display=\'true\'/>\n
+    </style:style>\n
+\n
+    <!-- NUMBER AND CELL STYLES ARE IN SEPARATE FILES -->\n
+    <tal:block metal:use-macro="here/accounting_report_styles_numbers/macros/master"/>\n
+    <tal:block metal:use-macro="here/accounting_report_styles_cell/macros/master"/>\n
+\n
+  </office:automatic-styles>\n
+</tal:block>\n
+\n
+<tal:block metal:define-macro="footer">\n
+      <table:table table:style-name=\'ta1\' table:print=\'false\' table:name=\'Sheet2\'>\n
+        <table:table-column table:style-name=\'co6\' table:default-cell-style-name=\'Default\'/>\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell/>\n
+        </table:table-row>\n
+      </table:table>\n
+      <table:table table:style-name=\'ta1\' table:print=\'false\' table:name=\'Sheet3\'>\n
+        <table:table-column table:style-name=\'co6\' table:default-cell-style-name=\'Default\'/>\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell/>\n
+        </table:table-row>\n
+      </table:table>\n
+</tal:block>\n
+\n
+</office:document-content>\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>application/vnd.oasis.opendocument.spreadsheet</string> </value>
+        </item>
+        <item>
+            <key> <string>expand</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>accounting_report_header</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_macro_library.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_macro_library.xml?rev=19151&view=auto
==============================================================================
--- experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_macro_library.xml (added)
+++ experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_macro_library.xml Thu Feb  7 23:26:58 2008
@@ -1,0 +1,186 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<office:document-content xmlns:office=\'urn:oasis:names:tc:opendocument:xmlns:office:1.0\' xmlns:text=\'urn:oasis:names:tc:opendocument:xmlns:text:1.0\' xmlns:number=\'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0\' xmlns:meta=\'urn:oasis:names:tc:opendocument:xmlns:meta:1.0\' xmlns:table=\'urn:oasis:names:tc:opendocument:xmlns:table:1.0\' xmlns:style=\'urn:oasis:names:tc:opendocument:xmlns:style:1.0\' xmlns:script=\'urn:oasis:names:tc:opendocument:xmlns:script:1.0\' xmlns:xlink=\'http://www.w3.org/1999/xlink\' xmlns:math=\'http://www.w3.org/1998/Math/MathML\' xmlns:draw=\'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0\' xmlns:form=\'urn:oasis:names:tc:opendocument:xmlns:form:1.0\' xmlns:ooo=\'http://openoffice.org/2004/office\' xmlns:dc=\'http://purl.org/dc/elements/1.1/\' xmlns:chart=\'urn:oasis:names:tc:opendocument:xmlns:chart:1.0\' xmlns:dr3d=\'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0\' xmlns:fo=\'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0\' xmlns:xforms=\'http://www.w3.org/2002/xforms\' xmlns:dom=\'http://www.w3.org/2001/xml-events\' xmlns:ooow=\'http://openoffice.org/2004/writer\' xmlns:svg=\'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0\' xmlns:xsd=\'http://www.w3.org/2001/XMLSchema\' xmlns:xsi=\'http://www.w3.org/2001/XMLSchema-instance\' xmlns:oooc=\'http://openoffice.org/2004/calc\'  xmlns:tal=\'http://xml.zope.org/namespaces/tal\'\n
+          xmlns:i18n=\'http://xml.zope.org/namespaces/i18n\'\n
+          xmlns:metal=\'http://xml.zope.org/namespaces/metal\'\n
+         office:version=\'1.0\'>\n
+\n
+<tal:block metal:define-macro="table-header">\n
+       <office:forms form:apply-design-mode=\'false\' form:automatic-focus=\'false\'/>\n
+        <table:table-column table:style-name=\'co1\' table:default-cell-style-name=\'Default\'/>\n
+        <table:table-column table:style-name=\'co2\' table:default-cell-style-name=\'Default\'/>\n
+        <table:table-column table:style-name=\'co3\' table:default-cell-style-name=\'Default\'/>\n
+        <table:table-column table:style-name=\'co4\' table:default-cell-style-name=\'Default\'/>\n
+        <table:table-column table:style-name=\'co5\' table:default-cell-style-name=\'Default\'/>\n
+        <table:table-column table:style-name=\'co6\' table:default-cell-style-name=\'Default\' table:number-columns-repeated=\'2\'/>\n
+        <table:table-row table:style-name=\'ro1\'>\n
+          <table:table-cell table:style-name=\'title\' office:value-type=\'string\'>\n
+            <text:p tal:content="report_title"/>\n
+          </table:table-cell>\n
+          <table:table-cell table:number-columns-repeated=\'6\'/>\n
+        </table:table-row>\n
+        <table:table-row table:style-name=\'ro2\' table:number-rows-repeated=\'2\'>\n
+          <table:table-cell table:style-name=\'Default\'/>\n
+          <table:table-cell table:number-columns-repeated=\'6\'/>\n
+        </table:table-row>\n
+</tal:block>\n
+\n
+<tal:block metal:define-macro="section-category">\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell office:value-type=\'string\' table:style-name=\'input-label\'>\n
+            <text:p>Section Category</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell office:value-type=\'string\'>\n
+            <text:p tal:content="section_category"/>\n
+          </table:table-cell>\n
+          <table:table-cell table:number-columns-repeated=\'5\'/>\n
+        </table:table-row>\n
+</tal:block>\n
+\n
+<tal:block metal:define-macro="gap-root">\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell office:value-type=\'string\' table:style-name=\'input-label\'>\n
+            <text:p>GAP root</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell office:value-type=\'string\'>\n
+            <text:p tal:content="gap_root"/>\n
+          </table:table-cell>\n
+          <table:table-cell table:number-columns-repeated=\'5\'/>\n
+        </table:table-row>\n
+</tal:block>\n
+\n
+<tal:block metal:define-macro="start-end-date">\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell office:value-type=\'string\' table:style-name=\'input-label\'>\n
+            <text:p>From date</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:style-name=\'input-date\' office:value-type=\'date\'\n
+             tal:attributes="office:date-value from_date">\n
+            <text:p><tal:block tal:replace="from_date"/></text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:number-columns-repeated=\'5\'/>\n
+        </table:table-row>\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell office:value-type=\'string\' table:style-name=\'input-label\'>\n
+            <text:p>At date</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:style-name=\'input-date\' office:value-type=\'date\'\n
+             tal:attributes="office:date-value at_date">\n
+            <text:p><tal:block tal:replace="at_date"/></text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:number-columns-repeated=\'5\'/>\n
+        </table:table-row>\n
+</tal:block>\n
+\n
+<tal:block metal:define-macro="simulation_state">\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell office:value-type=\'string\' table:style-name=\'input-label\'>\n
+            <text:p>Status:</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell office:value-type=\'string\'>\n
+            <text:p tal:content="python: \', \'.join(simulation_state)"/>\n
+          </table:table-cell>\n
+          <table:table-cell table:number-columns-repeated=\'5\'/>\n
+        </table:table-row>\n
+</tal:block>\n
+\n
+<tal:block metal:define-macro="portal-type">\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell office:value-type=\'string\' table:style-name=\'input-label\'>\n
+            <text:p>Transaction Type:</text:p>\n
+          </table:table-cell>\n
+          <table:table-cell table:number-columns-repeated=\'6\'/>\n
+        </table:table-row>\n
+        <table:table-row table:style-name=\'ro2\' tal:repeat="type portal_type">\n
+          <table:table-cell/>\n
+          <table:table-cell office:value-type=\'string\'>\n
+            <text:p tal:content="type"/>\n
+          </table:table-cell>\n
+          <table:table-cell table:number-columns-repeated=\'5\'/>\n
+        </table:table-row>\n
+</tal:block>\n
+\n
+<tal:block metal:define-macro="empty-row">\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell table:style-name=\'Default\'/>\n
+          <table:table-cell table:number-columns-repeated=\'6\'/>\n
+        </table:table-row>\n
+</tal:block>\n
+\n
+<tal:block metal:define-macro="label-row">\n
+        <table:table-row table:style-name=\'ro2\'>\n
+          <table:table-cell table:style-name=\'label\' office:value-type=\'string\' tal:repeat="label label_list">\n
+            <text:p tal:content="label"/>\n
+          </table:table-cell>\n
+        </table:table-row>\n
+</tal:block>\n
+\n
+</office:document-content>
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>application/vnd.oasis.opendocument.spreadsheet</string> </value>
+        </item>
+        <item>
+            <key> <string>expand</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>accounting_report_macro_library</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_cell.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_cell.xml?rev=19151&view=auto
==============================================================================
--- experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_cell.xml (added)
+++ experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_cell.xml Thu Feb  7 23:26:58 2008
@@ -1,0 +1,108 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<office:document-content xmlns:office=\'urn:oasis:names:tc:opendocument:xmlns:office:1.0\' xmlns:text=\'urn:oasis:names:tc:opendocument:xmlns:text:1.0\' xmlns:number=\'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0\' xmlns:meta=\'urn:oasis:names:tc:opendocument:xmlns:meta:1.0\' xmlns:table=\'urn:oasis:names:tc:opendocument:xmlns:table:1.0\' xmlns:style=\'urn:oasis:names:tc:opendocument:xmlns:style:1.0\' xmlns:script=\'urn:oasis:names:tc:opendocument:xmlns:script:1.0\' xmlns:xlink=\'http://www.w3.org/1999/xlink\' xmlns:math=\'http://www.w3.org/1998/Math/MathML\' xmlns:draw=\'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0\' xmlns:form=\'urn:oasis:names:tc:opendocument:xmlns:form:1.0\' xmlns:ooo=\'http://openoffice.org/2004/office\' xmlns:dc=\'http://purl.org/dc/elements/1.1/\' xmlns:chart=\'urn:oasis:names:tc:opendocument:xmlns:chart:1.0\' xmlns:dr3d=\'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0\' xmlns:fo=\'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0\' xmlns:xforms=\'http://www.w3.org/2002/xforms\' xmlns:dom=\'http://www.w3.org/2001/xml-events\' xmlns:ooow=\'http://openoffice.org/2004/writer\' xmlns:svg=\'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0\' xmlns:xsd=\'http://www.w3.org/2001/XMLSchema\' xmlns:xsi=\'http://www.w3.org/2001/XMLSchema-instance\' xmlns:oooc=\'http://openoffice.org/2004/calc\'  xmlns:tal=\'http://xml.zope.org/namespaces/tal\'\n
+          xmlns:i18n=\'http://xml.zope.org/namespaces/i18n\'\n
+          xmlns:metal=\'http://xml.zope.org/namespaces/metal\'\n
+         office:version=\'1.0\'>\n
+\n
+<tal:block metal:define-macro="master">\n
+    <style:style style:parent-style-name=\'Default\' style:family=\'table-cell\' style:name=\'title\'>\n
+      <style:text-properties fo:font-weight=\'bold\' fo:font-size=\'14pt\'/>\n
+    </style:style>\n
+    <style:style style:parent-style-name=\'Default\' style:family=\'table-cell\' style:name=\'input-label\'>\n
+      <style:text-properties fo:font-weight=\'bold\'/>\n
+    </style:style>\n
+    <style:style style:name="input-date" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N36">\n
+      <style:table-cell-properties style:text-align-source="fix" style:repeat-content="false"/>\n
+      <style:paragraph-properties fo:text-align="start" fo:margin-left="0cm"/>\n
+    </style:style>\n
+    <style:style style:parent-style-name=\'Default\' style:family=\'table-cell\' style:name=\'label\'>\n
+      <style:text-properties fo:font-weight=\'bold\'/>\n
+    </style:style>\n
+    <style:style style:data-style-name=\'N36\' style:parent-style-name=\'Default\' style:name=\'main-normal\' style:family=\'table-cell\'>\n
+      <style:table-cell-properties fo:border-left=\'none\' fo:border-bottom=\'none\' fo:border-right=\'none\' fo:border-top=\'0.002cm solid #000000\'/>\n
+    </style:style>\n
+    <style:style style:name="main-center-date" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N84">\n
+      <style:table-cell-properties fo:border-bottom="none" style:text-align-source="fix" style:repeat-content="false" fo:border-left="none" fo:border-right="none" fo:border-top="0.002cm solid #000000"/>\n
+      <style:paragraph-properties fo:text-align="center" fo:margin-left="0cm"/>\n
+    </style:style>\n
+    <style:style style:parent-style-name=\'Default\' style:family=\'table-cell\' style:name=\'sub-center\'>\n
+      <style:table-cell-properties style:repeat-content=\'false\' style:text-align-source=\'fix\'/>\n
+      <style:paragraph-properties fo:text-align=\'center\' fo:margin-left=\'0cm\'/>\n
+    </style:style>\n
+    <style:style style:parent-style-name=\'Default\' style:family=\'table-cell\' style:name=\'sub-right\'>\n
+      <style:table-cell-properties style:repeat-content=\'false\' style:text-align-source=\'fix\'/>\n
+      <style:paragraph-properties fo:text-align=\'end\' fo:margin-left=\'0cm\'/>\n
+    </style:style>\n
+    <style:style style:data-style-name=\'N4\' style:parent-style-name=\'Default\' style:name=\'sub-money\' style:family=\'table-cell\'/>\n
+</tal:block>\n
+\n
+</office:document-content>
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>application/vnd.oasis.opendocument.spreadsheet</string> </value>
+        </item>
+        <item>
+            <key> <string>expand</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>accounting_report_styles_cell</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_numbers.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_numbers.xml?rev=19151&view=auto
==============================================================================
--- experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_numbers.xml (added)
+++ experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_numbers.xml Thu Feb  7 23:26:58 2008
@@ -1,0 +1,99 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<office:document-content xmlns:office=\'urn:oasis:names:tc:opendocument:xmlns:office:1.0\' xmlns:text=\'urn:oasis:names:tc:opendocument:xmlns:text:1.0\' xmlns:number=\'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0\' xmlns:meta=\'urn:oasis:names:tc:opendocument:xmlns:meta:1.0\' xmlns:table=\'urn:oasis:names:tc:opendocument:xmlns:table:1.0\' xmlns:style=\'urn:oasis:names:tc:opendocument:xmlns:style:1.0\' xmlns:script=\'urn:oasis:names:tc:opendocument:xmlns:script:1.0\' xmlns:xlink=\'http://www.w3.org/1999/xlink\' xmlns:math=\'http://www.w3.org/1998/Math/MathML\' xmlns:draw=\'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0\' xmlns:form=\'urn:oasis:names:tc:opendocument:xmlns:form:1.0\' xmlns:ooo=\'http://openoffice.org/2004/office\' xmlns:dc=\'http://purl.org/dc/elements/1.1/\' xmlns:chart=\'urn:oasis:names:tc:opendocument:xmlns:chart:1.0\' xmlns:dr3d=\'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0\' xmlns:fo=\'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0\' xmlns:xforms=\'http://www.w3.org/2002/xforms\' xmlns:dom=\'http://www.w3.org/2001/xml-events\' xmlns:ooow=\'http://openoffice.org/2004/writer\' xmlns:svg=\'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0\' xmlns:xsd=\'http://www.w3.org/2001/XMLSchema\' xmlns:xsi=\'http://www.w3.org/2001/XMLSchema-instance\' xmlns:oooc=\'http://openoffice.org/2004/calc\'  xmlns:tal=\'http://xml.zope.org/namespaces/tal\'\n
+          xmlns:i18n=\'http://xml.zope.org/namespaces/i18n\'\n
+          xmlns:metal=\'http://xml.zope.org/namespaces/metal\'\n
+         office:version=\'1.0\'>\n
+\n
+<tal:block metal:define-macro="master">\n
+    <number:number-style style:name=\'N2\'>\n
+      <number:number number:decimal-places=\'2\' number:min-integer-digits=\'1\'/>\n
+    </number:number-style>\n
+    <number:number-style style:name=\'N4\'>\n
+      <number:number number:grouping=\'true\' number:decimal-places=\'2\' number:min-integer-digits=\'1\'/>\n
+    </number:number-style>\n
+    <number:date-style style:name=\'N36\' number:automatic-order=\'true\'>\n
+      <number:year number:style=\'long\'/>\n
+      <number:text>-</number:text>\n
+      <number:month number:style=\'long\'/>\n
+      <number:text>-</number:text>\n
+      <number:day number:style=\'long\'/>\n
+    </number:date-style>\n
+    <number:date-style style:name=\'N84\'>\n
+      <number:year number:style=\'long\'/>\n
+      <number:text>-</number:text>\n
+      <number:month number:style=\'long\'/>\n
+      <number:text>-</number:text>\n
+      <number:day number:style=\'long\'/>\n
+    </number:date-style>\n
+</tal:block>\n
+\n
+</office:document-content>
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>application/vnd.oasis.opendocument.spreadsheet</string> </value>
+        </item>
+        <item>
+            <key> <string>expand</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>accounting_report_styles_numbers</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: experimental/bt5/erp5_accounting_experimental/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_accounting_experimental/bt/revision?rev=19151&r1=19150&r2=19151&view=diff
==============================================================================
--- experimental/bt5/erp5_accounting_experimental/bt/revision (original)
+++ experimental/bt5/erp5_accounting_experimental/bt/revision Thu Feb  7 23:26:58 2008
@@ -1,1 +1,1 @@
-1
+3




More information about the Erp5-report mailing list