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
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
89b10c27
Commit
89b10c27
authored
Jul 29, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also reset sort order on "show all"
parent
1e8bd712
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
35 additions
and
107 deletions
+35
-107
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_at_date.html.xml
.../test_account_module/test_account_module_at_date.html.xml
+1
-7
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_default_list.html.xml
..._account_module/test_account_module_default_list.html.xml
+1
-7
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_default_list_with_employees.html.xml
.../test_account_module_default_list_with_employees.html.xml
+1
-7
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_filter.html.xml
...e/test_account_module/test_account_module_filter.html.xml
+11
-9
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_from_date.html.xml
...est_account_module/test_account_module_from_date.html.xml
+1
-7
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_delete.html.xml
...module/test_accounting_transaction_module_delete.html.xml
+0
-5
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_filter.html.xml
...module/test_accounting_transaction_module_filter.html.xml
+0
-5
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_multiple_pages.html.xml
...est_accounting_transaction_module_multiple_pages.html.xml
+5
-5
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_search_columns.html.xml
...est_accounting_transaction_module_search_columns.html.xml
+11
-7
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_sort.html.xml
...g_module/test_accounting_transaction_module_sort.html.xml
+0
-4
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_sort_without_section.html.xml
...counting_transaction_module_sort_without_section.html.xml
+0
-5
bt5/erp5_accounting_ui_test/bt/revision
bt5/erp5_accounting_ui_test/bt/revision
+1
-1
bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testFilter.xml
...athTemplateItem/portal_tests/listbox_zuite/testFilter.xml
+0
-36
bt5/erp5_ui_test/bt/revision
bt5/erp5_ui_test/bt/revision
+1
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_show.xml
...e/SkinTemplateItem/portal_skins/erp5_core/Folder_show.xml
+1
-0
product/ERP5/bootstrap/erp5_core/bt/revision
product/ERP5/bootstrap/erp5_core/bt/revision
+1
-1
No files found.
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_at_date.html.xml
View file @
89b10c27
...
...
@@ -86,11 +86,6 @@ Test display of Account Module, with at_date parameter\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
...
...
@@ -260,8 +255,7 @@ Test display of Account Module, with at_date parameter\n
</tbody></table>
\n
</body>
\n
</html>
<!-- vim: syntax=html foldmethod=marker\n
-->
\n
-->
]]>
</unicode>
</value>
</item>
...
...
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_default_list.html.xml
View file @
89b10c27
...
...
@@ -55,11 +55,6 @@ Test default display of Account Module\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
...
...
@@ -535,8 +530,7 @@ for line_idx, line in enumerate(list(csv.reader(f))[1:]):\n
</tbody></table>
\n
</body>
\n
</html>
<!-- vim: syntax=html foldmethod=marker\n
-->
\n
-->
]]>
</unicode>
</value>
</item>
...
...
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_default_list_with_employees.html.xml
View file @
89b10c27
...
...
@@ -56,11 +56,6 @@ Test default display of Account Module With Employees.\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
...
...
@@ -518,8 +513,7 @@ Test default display of Account Module With Employees.\n
</tbody></table>
\n
</body>
\n
</html>
<!-- vim: syntax=html foldmethod=marker\n
-->
\n
-->
]]>
</unicode>
</value>
</item>
...
...
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_filter.html.xml
View file @
89b10c27
...
...
@@ -47,20 +47,13 @@ Test filter in Account Module\n
</thead><tbody
tal:define=
"init_method string:AccountingZuite_createAccountingTransactionList"
>
\n
<tal:block
metal:use-macro=
"here/AccountingZuite_CommonTemplate/macros/init"
/>
\n
\n
<!-- Setup {{{ -->
\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>
Folder_show:method
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//span[@class="listbox-current-page-total-number"]
</td>
\n
...
...
@@ -177,6 +170,11 @@ Test filter in Account Module\n
<td>
Folder_show:method
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
//button[@value=\'listbox.preferred_gap_id:asc\']
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//span[@class="listbox-current-page-total-number"]
</td>
\n
...
...
@@ -339,6 +337,11 @@ Test filter in Account Module\n
<td>
Folder_show:method
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
//button[@value=\'listbox.preferred_gap_id:asc\']
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//span[@class="listbox-current-page-total-number"]
</td>
\n
...
...
@@ -349,8 +352,7 @@ Test filter in Account Module\n
</tbody></table>
\n
</body>
\n
</html>
<!-- vim: syntax=html foldmethod=marker\n
-->
\n
-->
]]>
</unicode>
</value>
</item>
...
...
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_from_date.html.xml
View file @
89b10c27
...
...
@@ -86,11 +86,6 @@ Test display of Account Module, with from_date parameter (which has no impact)\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
...
...
@@ -548,8 +543,7 @@ Test display of Account Module, with from_date parameter (which has no impact)\n
</tbody></table>
\n
</body>
\n
</html>
<!-- vim: syntax=html foldmethod=marker\n
-->
\n
-->
]]>
</unicode>
</value>
</item>
...
...
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_delete.html.xml
View file @
89b10c27
...
...
@@ -71,11 +71,6 @@ Test Accounting module listbox supports deleting\n
<!-- }}} -->
\n
\n
<!-- 4 records in the list {{{ -->
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
Folder_show:method
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//span[@class="listbox-current-page-total-number"]
</td>
\n
...
...
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_filter.html.xml
View file @
89b10c27
...
...
@@ -56,11 +56,6 @@ Test Accounting module listbox supports filtering\n
<!-- }}} -->
\n
\n
<!-- 4 records in the list {{{ -->
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
Folder_show:method
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//span[@class="listbox-current-page-total-number"]
</td>
\n
...
...
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_multiple_pages.html.xml
View file @
89b10c27
...
...
@@ -56,11 +56,6 @@ Test Accounting module listbox multi pages\n
<!-- }}} -->
\n
\n
<!-- 4*12 records in the list {{{ -->
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
Folder_show:method
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//span[@class="listbox-current-page-total-number"]
</td>
\n
...
...
@@ -186,6 +181,11 @@ Test Accounting module listbox multi pages\n
<td>
Folder_show:method
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
//button[ @value=\'listbox.operation_date:asc\']
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//span[@class="listbox-current-page-total-number"]
</td>
\n
...
...
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_search_columns.html.xml
View file @
89b10c27
...
...
@@ -57,11 +57,6 @@ Accounting Transaction Module Search Columns\n
<!-- }}} -->
\n
\n
<!-- filter on title {{{ -->
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
Folder_show:method
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
type
</td>
\n
<td>
//tr[@class=\'listbox-search-line\']/th[2]/input
</td>
\n
...
...
@@ -124,6 +119,11 @@ as title is a search key -->\n
<td>
Folder_show:method
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
//button[@value=\'listbox.operation_date:asc\']
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
type
</td>
\n
<td>
//tr[@class=\'listbox-search-line\']/th[2]/input
</td>
\n
...
...
@@ -192,6 +192,11 @@ as title is a search key -->\n
<td>
Folder_show:method
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
//button[@value=\'listbox.operation_date:asc\']
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
type
</td>
\n
<td>
//tr[@class=\'listbox-search-line\']/th[3]/input
</td>
\n
...
...
@@ -499,8 +504,7 @@ XXX shall we really test i18n issues here?\n
</tbody></table>
\n
</body>
\n
</html>
<!-- vim: syntax=html foldmethod=marker\n
-->
\n
-->
]]>
</unicode>
</value>
</item>
...
...
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_sort.html.xml
View file @
89b10c27
...
...
@@ -54,10 +54,6 @@ Test sort for Accounting module main listbox\n
<td>
Accounting
</td>
\n
</tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
Folder_show:method
</td>
\n
<td></td>
\n
</tr>
\n
<!-- }}} -->
\n
\n
<!-- check content of known lines {{{ -->
\n
...
...
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_module/test_accounting_transaction_module_sort_without_section.html.xml
View file @
89b10c27
...
...
@@ -53,11 +53,6 @@ Test sort for Accounting module main listbox, without section\n
<td>
select_module
</td>
\n
<td>
Accounting
</td>
\n
</tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
Folder_show:method
</td>
\n
<td></td>
\n
</tr>
\n
<!-- we unselect section -->
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
...
...
bt5/erp5_accounting_ui_test/bt/revision
View file @
89b10c27
198
\ No newline at end of file
199
\ No newline at end of file
bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testFilter.xml
View file @
89b10c27
...
...
@@ -310,42 +310,6 @@
<td>
//*[@class="listbox-data-line-2 DataA"]//input[@type="checkbox"]
</td>
\n
<td>
off
</td>
\n
</tr>
\n
<tal:block
tal:condition=
"python: context.TestTool_getSkinName()!=\'Mobile\'"
>
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//*[@class="listbox-data-line-0 DataA"]//a[not(@title)]
</td>
\n
<td>
9
</td>
\n
</tr>
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//*[@class="listbox-data-line-1 DataB"]//a[not(@title)]
</td>
\n
<td>
8
</td>
\n
</tr>
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//*[@class="listbox-data-line-2 DataA"]//a[not(@title)]
</td>
\n
<td>
7
</td>
\n
</tr>
\n
</tal:block>
\n
<tal:block
tal:condition=
"python: context.TestTool_getSkinName()==\'Mobile\'"
>
\n
<!-- The elements are not descending sorted -->
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//*[@id="listbox_data_line_0"]//a[not(@title)]
</td>
\n
<td>
0
</td>
\n
</tr>
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//*[@id="listbox_data_line_1"]//a[not(@title)]
</td>
\n
<td>
1
</td>
\n
</tr>
\n
<tr>
\n
<td>
verifyText
</td>
\n
<td>
//*[@id="listbox_data_line_2"]//a[not(@title)]
</td>
\n
<td>
2
</td>
\n
</tr>
\n
</tal:block>
\n
\n
<tr>
\n
<td>
verifyElementNotPresent
</td>
\n
<td>
//*[@class="listbox-data-line-3 DataB"]
</td>
\n
...
...
bt5/erp5_ui_test/bt/revision
View file @
89b10c27
712
\ No newline at end of file
713
\ No newline at end of file
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_show.xml
View file @
89b10c27
...
...
@@ -57,6 +57,7 @@ if selection_name is None:\n
\n
ps = context.portal_selections\n
ps.setSelectionToAll(selection_name, REQUEST=request, reset_domain_tree=True, reset_report_tree=True)\n
ps.setSelectionSortOrder(selection_name, [])\n
url = ps.getSelectionListUrlFor(selection_name, REQUEST=request)\n
request.RESPONSE.redirect(url)\n
</string>
</value>
...
...
product/ERP5/bootstrap/erp5_core/bt/revision
View file @
89b10c27
41106
\ No newline at end of file
41107
\ 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