<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
    </pickle>
    <pickle>
      <dictionary>
        <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> <unicode encoding="cdata"><![CDATA[

<html>\n
<head><title>Test for Account module main lisbox</title></head>\n
<body>\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="4">\n
Test default display of Account Module\n
</td></tr>\n
</thead><tbody tal:define="init_method string:AccountingZuite_createAccountingTransactionList">\n
<!-- Setup {{{ -->\n
<tal:block metal:use-macro="here/AccountingZuite_CommonTemplate/macros/init"/>\n
<tr>\n
  <td>selectAndWait</td>\n
  <td>select_module</td>\n
  <td>Accounts</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- 10 accounts -> 10 records in the list {{{ -->\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>//button[@title=\'Show All\']</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>//span[@class="listbox-current-page-total-number"]</td>\n
  <td>10 records</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- check lines contents {{{\n
XXX can\'t we do uid based checks ?\n
\n
extracted with:\n
\n
import csv\n
import sys\n
f = open(\'/tmp/A.csv\')\n
sys.stdout=open(\'/tmp/o\', \'w\')\n
for line_idx, line in enumerate(list(csv.reader(f))[1:]):\n
  for row_idx, row in enumerate(line):\n
    print \\\n
"""  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@id=\'listbox_data_line_%s\']/td[%s]/a</td>\n
    <td>%s</td>\n
  </tr>""" % (line_idx, row_idx+2, str(row).replace(\',\', \'.\'))\n
  XXX modified manually to use assertFloat\n
-->\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-0 DataA\']/td[2]/a</td>\n
    <td>1</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-0 DataA\']/td[3]/a</td>\n
    <td>Equity</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-0 DataA\']/td[4]/a</td>\n
    <td>Validated</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-0 DataA\']/td[5]/a</td>\n
    <td>1</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-0 DataA\']/td[6]/a</td>\n
    <td>0.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-0 DataA\']/td[7]/a</td>\n
    <td>20000.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-0 DataA\']/td[8]/a</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-0 DataA\']/td[9]/a</td>\n
    <td>20000.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-1 DataB\']/td[2]/a</td>\n
    <td>2</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-1 DataB\']/td[3]/a</td>\n
    <td>Fixed Assets</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-1 DataB\']/td[4]/a</td>\n
    <td>Validated</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-1 DataB\']/td[5]/a</td>\n
    <td>1</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-1 DataB\']/td[6]/a</td>\n
    <td>15000.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-1 DataB\']/td[7]/a</td>\n
    <td>0.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-1 DataB\']/td[8]/a</td>\n
    <td>15000.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-1 DataB\']/td[9]/a</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-2 DataA\']/td[2]/a</td>\n
    <td>3</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-2 DataA\']/td[3]/a</td>\n
    <td>Stocks</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-2 DataA\']/td[4]/a</td>\n
    <td>Validated</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-2 DataA\']/td[5]/a</td>\n
    <td>1</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-2 DataA\']/td[6]/a</td>\n
    <td>5000.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-2 DataA\']/td[7]/a</td>\n
    <td>0.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-2 DataA\']/td[8]/a</td>\n
    <td>5000.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-2 DataA\']/td[9]/a</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-3 DataB\']/td[2]/a</td>\n
    <td>40</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-3 DataB\']/td[3]/a</td>\n
    <td>Payable</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-3 DataB\']/td[4]/a</td>\n
    <td>Validated</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-3 DataB\']/td[5]/a</td>\n
    <td>1</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-3 DataB\']/td[6]/a</td>\n
    <td>0.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-3 DataB\']/td[7]/a</td>\n
    <td>7700.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-3 DataB\']/td[8]/a</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-3 DataB\']/td[9]/a</td>\n
    <td>7700.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-4 DataA\']/td[2]/a</td>\n
    <td>41</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-4 DataA\']/td[3]/a</td>\n
    <td>Receivable</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-4 DataA\']/td[4]/a</td>\n
    <td>Validated</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-4 DataA\']/td[5]/a</td>\n
    <td>2</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-4 DataA\']/td[6]/a</td>\n
    <td>5500.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-4 DataA\']/td[7]/a</td>\n
    <td>0.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-4 DataA\']/td[8]/a</td>\n
    <td>5500.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-4 DataA\']/td[9]/a</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-6 DataA\']/td[2]/a</td>\n
    <td>4457</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-6 DataA\']/td[3]/a</td>\n
    <td>Collected VAT 10%</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-6 DataA\']/td[4]/a</td>\n
    <td>Validated</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-6 DataA\']/td[5]/a</td>\n
    <td>2</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-6 DataA\']/td[6]/a</td>\n
    <td>0.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-6 DataA\']/td[7]/a</td>\n
    <td>500.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-6 DataA\']/td[8]/a</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-6 DataA\']/td[9]/a</td>\n
    <td>500.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-5 DataB\']/td[2]/a</td>\n
    <td>4456</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-5 DataB\']/td[3]/a</td>\n
    <td>Refundable VAT 10%</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-5 DataB\']/td[4]/a</td>\n
    <td>Validated</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-5 DataB\']/td[5]/a</td>\n
    <td>1</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-5 DataB\']/td[6]/a</td>\n
    <td>700.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-5 DataB\']/td[7]/a</td>\n
    <td>0.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-5 DataB\']/td[8]/a</td>\n
    <td>700.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-5 DataB\']/td[9]/a</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-7 DataB\']/td[2]/a</td>\n
    <td>5</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-7 DataB\']/td[3]/a</td>\n
    <td>Bank</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-7 DataB\']/td[4]/a</td>\n
    <td>Validated</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-7 DataB\']/td[5]/a</td>\n
    <td>0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-7 DataB\']/td[6]/a</td>\n
    <td>0.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-7 DataB\']/td[7]/a</td>\n
    <td>0.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-7 DataB\']/td[8]/a</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-7 DataB\']/td[9]/a</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-8 DataA\']/td[2]/a</td>\n
    <td>6</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-8 DataA\']/td[3]/a</td>\n
    <td>Goods Purchase</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-8 DataA\']/td[4]/a</td>\n
    <td>Validated</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-8 DataA\']/td[5]/a</td>\n
    <td>1</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-8 DataA\']/td[6]/a</td>\n
    <td>7000.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-8 DataA\']/td[7]/a</td>\n
    <td>0.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-8 DataA\']/td[8]/a</td>\n
    <td>7000.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-8 DataA\']/td[9]/a</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-9 DataB\']/td[2]/a</td>\n
    <td>7</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-9 DataB\']/td[3]/a</td>\n
    <td>Goods Sales</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-9 DataB\']/td[4]/a</td>\n
    <td>Validated</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-9 DataB\']/td[5]/a</td>\n
    <td>2</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-9 DataB\']/td[6]/a</td>\n
    <td>0.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-9 DataB\']/td[7]/a</td>\n
    <td>5000.0</td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox-data-line-9 DataB\']/td[8]/a</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox-data-line-9 DataB\']/td[9]/a</td>\n
    <td>5000.0</td>\n
  </tr>\n
<!-- }}} -->\n
\n
<!-- Check Stat columns {{{ -->\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox_stat_line listbox-stat-line\']/td[2]</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox_stat_line listbox-stat-line\']/td[3]</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox_stat_line listbox-stat-line\']/td[4]</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox_stat_line listbox-stat-line\']/td[5]</td>\n
    <td>12</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox_stat_line listbox-stat-line\']/td[6]</td>\n
    <td>33200.00</td>\n
  </tr>\n
  <tr>\n
    <td>verifyFloat</td>\n
    <td>//tr[@class=\'listbox_stat_line listbox-stat-line\']/td[7]</td>\n
    <td>33200.00</td>\n
  </tr>\n
  <!-- XXX Currently no stat for Debit Balance and Credit Balance -->\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox_stat_line listbox-stat-line\']/td[8]</td>\n
    <td></td>\n
  </tr>\n
  <tr>\n
    <td>verifyText</td>\n
    <td>//tr[@class=\'listbox_stat_line listbox-stat-line\']/td[9]</td>\n
    <td></td>\n
  </tr>\n
<!-- }}} -->\n
\n
</tbody></table>\n
</body>\n
</html> <!-- vim: syntax=html foldmethod=marker\n
-->\n


]]></unicode> </value>
        </item>
        <item>
            <key> <string>content_type</string> </key>
            <value> <string>text/html</string> </value>
        </item>
        <item>
            <key> <string>expand</string> </key>
            <value> <int>0</int> </value>
        </item>
        <item>
            <key> <string>id</string> </key>
            <value> <string>test_account_module_default_list.html</string> </value>
        </item>
        <item>
            <key> <string>output_encoding</string> </key>
            <value> <string>utf-8</string> </value>
        </item>
        <item>
            <key> <string>title</string> </key>
            <value> <unicode></unicode> </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
