Commit 1966e168 authored by Jérome Perrin's avatar Jérome Perrin

adding new test for account module when we have transactions with an employee.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9770 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 19aa7408
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PageTemplates.ZopePageTemplate</string>
<string>ZopePageTemplate</string>
</tuple>
<none/>
</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>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <string 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 With Employees.\n
</td></tr>\n
</thead><tbody tal:define="init_method string:AccountingZuite_createAccountingTransactionListWithPersons">\n
\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>listbox_record_number</td>\n
<td>10 record(s)</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- check lines contents {{{ -->\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[2]/a</td>\n
<td>1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[3]/a</td>\n
<td>Equity</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[4]/a</td>\n
<td>Openned Account</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]/a</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[6]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[7]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[8]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[9]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[2]/a</td>\n
<td>2</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[3]/a</td>\n
<td>Fixed Assets</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[4]/a</td>\n
<td>Openned Account</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[5]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[6]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[7]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[8]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[9]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[2]/a</td>\n
<td>3</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[3]/a</td>\n
<td>Stocks</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[4]/a</td>\n
<td>Openned Account</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[5]/a</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[6]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[7]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[8]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[9]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[2]/a</td>\n
<td>40</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[3]/a</td>\n
<td>Payable</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[4]/a</td>\n
<td>Openned Account</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[5]/a</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[6]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[7]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[8]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[9]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_4\']/td[2]/a</td>\n
<td>41</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_4\']/td[3]/a</td>\n
<td>Receivable</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_4\']/td[4]/a</td>\n
<td>Openned Account</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_4\']/td[5]/a</td>\n
<td>1</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_4\']/td[6]/a</td>\n
<td>1100.0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_4\']/td[7]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_4\']/td[8]/a</td>\n
<td>1100.0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_4\']/td[9]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_5\']/td[2]/a</td>\n
<td>4456</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_5\']/td[3]/a</td>\n
<td>Refundable VAT 10%</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_5\']/td[4]/a</td>\n
<td>Openned Account</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_5\']/td[5]/a</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_5\']/td[6]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_5\']/td[7]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_5\']/td[8]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_5\']/td[9]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_6\']/td[2]/a</td>\n
<td>4457</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_6\']/td[3]/a</td>\n
<td>Collected VAT 10%</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_6\']/td[4]/a</td>\n
<td>Openned Account</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_6\']/td[5]/a</td>\n
<td>1</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_6\']/td[6]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_6\']/td[7]/a</td>\n
<td>100.0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_6\']/td[8]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_6\']/td[9]/a</td>\n
<td>100.0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_7\']/td[2]/a</td>\n
<td>5</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_7\']/td[3]/a</td>\n
<td>Bank</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_7\']/td[4]/a</td>\n
<td>Openned Account</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_7\']/td[5]/a</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_7\']/td[6]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_7\']/td[7]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_7\']/td[8]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_7\']/td[9]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_8\']/td[2]/a</td>\n
<td>6</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_8\']/td[3]/a</td>\n
<td>Goods Purchase</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_8\']/td[4]/a</td>\n
<td>Openned Account</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_8\']/td[5]/a</td>\n
<td>0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_8\']/td[6]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_8\']/td[7]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_8\']/td[8]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_8\']/td[9]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_9\']/td[2]/a</td>\n
<td>7</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_9\']/td[3]/a</td>\n
<td>Goods Sales</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_9\']/td[4]/a</td>\n
<td>Openned Account</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_9\']/td[5]/a</td>\n
<td>1</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_9\']/td[6]/a</td>\n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_9\']/td[7]/a</td>\n
<td>1000</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_9\']/td[8]/a</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_data_line_9\']/td[9]/a</td>\n
<td>1000.0</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- Cheek Stat columns {{{ -->\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_stat_line\']/td[2]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_stat_line\']/td[3]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_stat_line\']/td[4]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_stat_line\']/td[5]</td>\n
<td>3</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_stat_line\']/td[6]</td>\n
<td>1100.00</td>\n
</tr>\n
<tr>\n
<td>verifyFloat</td>\n
<td>//tr[@id=\'listbox_stat_line\']/td[7]</td>\n
<td>1100.00</td>\n
</tr>\n
<!-- XXX Currently no stat for Debit Balance and Credit Balance -->\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_stat_line\']/td[8]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'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
]]></string> </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_with_employees.html</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
13 14
\ No newline at end of file \ 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