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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
erp5
Commits
c7a292ba
Commit
c7a292ba
authored
Oct 23, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_bank_reconciliation] Activate actions for ERP5JS
parent
2617d934
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
1098 additions
and
8 deletions
+1098
-8
bt5/erp5_bank_reconciliation/ActionTemplateItem/portal_types/Bank%20Reconciliation/bank_reconciliation_export.xml
...ypes/Bank%20Reconciliation/bank_reconciliation_export.xml
+2
-2
bt5/erp5_bank_reconciliation/ActionTemplateItem/portal_types/Bank%20Reconciliation/bank_reconciliation_report.xml
...ypes/Bank%20Reconciliation/bank_reconciliation_report.xml
+2
-2
bt5/erp5_bank_reconciliation/ActionTemplateItem/portal_types/Bank%20Reconciliation/fast_input.xml
...ateItem/portal_types/Bank%20Reconciliation/fast_input.xml
+2
-2
bt5/erp5_bank_reconciliation/ActionTemplateItem/portal_types/Bank%20Reconciliation/select_non_reconcilied_transaction_list.xml
...econciliation/select_non_reconcilied_transaction_list.xml
+2
-2
bt5/erp5_bank_reconciliation_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_bank_reconciliation_action_zuite.xml
...al_tests/renderjs_ui_bank_reconciliation_action_zuite.xml
+26
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_bank_reconciliation_action_zuite/testBankReconciliationFastInput.xml
...iliation_action_zuite/testBankReconciliationFastInput.xml
+58
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_bank_reconciliation_action_zuite/testBankReconciliationFastInput.zpt
...iliation_action_zuite/testBankReconciliationFastInput.zpt
+159
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_bank_reconciliation_action_zuite/testBankReconciliationFastInputAbort.xml
...ion_action_zuite/testBankReconciliationFastInputAbort.xml
+58
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_bank_reconciliation_action_zuite/testBankReconciliationFastInputAbort.zpt
...ion_action_zuite/testBankReconciliationFastInputAbort.zpt
+97
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test.xml
...ortal_skins/erp5_bank_reconciliation_renderjs_ui_test.xml
+26
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/BankReconciliationRJSZuite_createData.py
...renderjs_ui_test/BankReconciliationRJSZuite_createData.py
+55
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/BankReconciliationRJSZuite_createData.xml
...enderjs_ui_test/BankReconciliationRJSZuite_createData.xml
+62
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/BankReconciliationRJSZuite_deleteData.py
...renderjs_ui_test/BankReconciliationRJSZuite_deleteData.py
+24
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/BankReconciliationRJSZuite_deleteData.xml
...enderjs_ui_test/BankReconciliationRJSZuite_deleteData.xml
+62
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/BankReconciliationRJSZuite_setPreference.py
...derjs_ui_test/BankReconciliationRJSZuite_setPreference.py
+12
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/BankReconciliationRJSZuite_setPreference.xml
...erjs_ui_test/BankReconciliationRJSZuite_setPreference.xml
+66
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/Zuite_CommonTemplateForBankReconciliationRenderjsUi.xml
...t/Zuite_CommonTemplateForBankReconciliationRenderjsUi.xml
+79
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/Zuite_CommonTemplateForBankReconciliationRenderjsUi.zpt
...t/Zuite_CommonTemplateForBankReconciliationRenderjsUi.zpt
+114
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalRJSBankReconciliationAction.py
...ts/test.erp5.testFunctionalRJSBankReconciliationAction.py
+51
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalRJSBankReconciliationAction.xml
...s/test.erp5.testFunctionalRJSBankReconciliationAction.xml
+127
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/comment
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/comment
+1
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/copyright_list
...p5_bank_reconciliation_renderjs_ui_test/bt/copyright_list
+1
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/dependency_list
...5_bank_reconciliation_renderjs_ui_test/bt/dependency_list
+3
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/license
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/license
+1
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/template_format_version
...econciliation_renderjs_ui_test/bt/template_format_version
+1
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/template_path_list
...ank_reconciliation_renderjs_ui_test/bt/template_path_list
+2
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/template_skin_id_list
..._reconciliation_renderjs_ui_test/bt/template_skin_id_list
+1
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/template_test_id_list
..._reconciliation_renderjs_ui_test/bt/template_test_id_list
+1
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/test_dependency_list
...k_reconciliation_renderjs_ui_test/bt/test_dependency_list
+1
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/title
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/title
+1
-0
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/version
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/version
+1
-0
No files found.
bt5/erp5_bank_reconciliation/ActionTemplateItem/portal_types/Bank%20Reconciliation/bank_reconciliation_export.xml
View file @
c7a292ba
...
...
@@ -33,13 +33,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_exchange
</string>
<string>
action_type/object_
jio_
exchange
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_exchange
</string>
</value>
<value>
<string>
object_
jio_
exchange
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_bank_reconciliation/ActionTemplateItem/portal_types/Bank%20Reconciliation/bank_reconciliation_report.xml
View file @
c7a292ba
...
...
@@ -33,13 +33,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_bank_reconciliation/ActionTemplateItem/portal_types/Bank%20Reconciliation/fast_input.xml
View file @
c7a292ba
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_bank_reconciliation/ActionTemplateItem/portal_types/Bank%20Reconciliation/select_non_reconcilied_transaction_list.xml
View file @
c7a292ba
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_bank_reconciliation_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_bank_reconciliation_action_zuite.xml
0 → 100644
View file @
c7a292ba
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Zuite"
module=
"Products.Zelenium.zuite"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
renderjs_ui_bank_reconciliation_action_zuite
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_bank_reconciliation_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_bank_reconciliation_action_zuite/testBankReconciliationFastInput.xml
0 → 100644
View file @
c7a292ba
<?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>
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>
testBankReconciliationFastInput
</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>
bt5/erp5_bank_reconciliation_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_bank_reconciliation_action_zuite/testBankReconciliationFastInput.zpt
0 → 100644
View file @
c7a292ba
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test Form View Editable Save Action
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test Default Module View
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForBankReconciliationRenderjsUi/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForBankReconciliationRenderjsUi/macros/prepare_data"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForBankReconciliationRenderjsUi/macros/view_fast_input"
/>
<!-- reconciliate the payment -->
<tr>
<td>
assertValue
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='reconcile']
</td>
<td>
on
</td>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(1)', 'footer': '1 Records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<tal:block
tal:define=
"line_configuration python: {'line': 0}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/select_listbox_line"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'Lines Reconciled'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tr>
<td>
assertValue
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='reconcile']
</td>
<td>
on
</td>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(0)', 'footer': 'No records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<!-- switch to unreconciliate mode
As payment is not indexed, it should not be visible
-->
<tr>
<td>
click
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='unreconcile']
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'Data received.'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tr>
<td>
assertValue
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='unreconcile']
</td>
<td>
on
</td>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(0)', 'footer': 'No records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<!-- Unreconcile nothing, but check if the radio field value is still correct (it took time to get it right...) -->
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'Lines Unreconciled'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tr>
<td>
assertValue
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='unreconcile']
</td>
<td>
on
</td>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(0)', 'footer': 'No records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<!-- reindex -->
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/wait_for_activities"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForBankReconciliationRenderjsUi/macros/view_fast_input"
/>
<tr>
<td>
assertValue
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='reconcile']
</td>
<td>
on
</td>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(0)', 'footer': 'No records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<!-- switch to unreconciliate mode
-->
<tr>
<td>
click
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='unreconcile']
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'Data received.'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tr>
<td>
assertValue
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='unreconcile']
</td>
<td>
on
</td>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(1)', 'footer': '1 Records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<!-- Unreconcile this time -->
<tal:block
tal:define=
"line_configuration python: {'line': 0}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/select_listbox_line"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'Lines Unreconciled'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tr>
<td>
assertValue
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='unreconcile']
</td>
<td>
on
</td>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(0)', 'footer': 'No records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<!-- reindex -->
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/wait_for_activities"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForBankReconciliationRenderjsUi/macros/view_fast_input"
/>
<tr>
<td>
assertValue
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='reconcile']
</td>
<td>
on
</td>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(1)', 'footer': '1 Records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_bank_reconciliation_action_zuite/testBankReconciliationFastInputAbort.xml
0 → 100644
View file @
c7a292ba
<?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>
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>
testBankReconciliationFastInputAbort
</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>
bt5/erp5_bank_reconciliation_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_bank_reconciliation_action_zuite/testBankReconciliationFastInputAbort.zpt
0 → 100644
View file @
c7a292ba
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test Form View Editable Save Action
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test Default Module View
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForBankReconciliationRenderjsUi/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForBankReconciliationRenderjsUi/macros/prepare_data"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForBankReconciliationRenderjsUi/macros/view_fast_input"
/>
<!-- reconciliate the payment -->
<tr>
<td>
assertValue
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='reconcile']
</td>
<td>
on
</td>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(1)', 'footer': '1 Records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<tal:block
tal:define=
"line_configuration python: {'line': 0}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/select_listbox_line"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'Lines Reconciled'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tr>
<td>
assertValue
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='reconcile']
</td>
<td>
on
</td>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(0)', 'footer': 'No records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<!-- stay on reconciliate mode
As payment is not indexed, it should be visible
-->
<tr>
<td>
click
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='reconcile']
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'Data received.'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tr>
<td>
assertValue
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='reconcile']
</td>
<td>
on
</td>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(1)', 'footer': '1 Records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<!-- Reconcile again -->
<tal:block
tal:define=
"line_configuration python: {'line': 0}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/select_listbox_line"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'Line Already Reconciled'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tr>
<td>
assertValue
</td>
<td>
//input[@name='field_your_reconciliation_mode' and @value='reconcile']
</td>
<td>
on
</td>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(1)', 'footer': '1 Records'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
</tal:block>
<tal:block
tal:define=
"line_configuration python: {'value': 'on', 'line': 0}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_line_selection"
/>
</tal:block>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test.xml
0 → 100644
View file @
c7a292ba
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_bank_reconciliation_renderjs_ui_test
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/BankReconciliationRJSZuite_createData.py
0 → 100644
View file @
c7a292ba
from
DateTime
import
DateTime
portal
=
context
.
getPortalObject
()
organisation_portal_type
=
"Organisation"
organisation_id
=
"erp5_bank_reconciliation_renderjs_ui_test"
module
=
portal
.
getDefaultModule
(
organisation_portal_type
)
organisation
=
module
.
newContent
(
portal_type
=
organisation_portal_type
,
id
=
organisation_id
,
title
=
organisation_id
,
group_value
=
portal
.
portal_categories
.
group
.
demo_group
)
bank_account_portal_type
=
"Bank Account"
bank_account_id
=
"erp5_bank_reconciliation_bank"
bank_account
=
organisation
.
newContent
(
portal_type
=
bank_account_portal_type
,
id
=
bank_account_id
,
title
=
bank_account_id
)
bank_reconciliation_portal_type
=
"Bank Reconciliation"
bank_reconciliation_id
=
"erp5_bank_reconciliation_renderjs_ui_test"
module
=
portal
.
getDefaultModule
(
bank_reconciliation_portal_type
)
bank_reconciliation
=
module
.
newContent
(
portal_type
=
bank_reconciliation_portal_type
,
id
=
bank_reconciliation_id
,
title
=
bank_reconciliation_id
,
source_section_value
=
organisation
,
source_payment_value
=
bank_account
,
quantity_range_max
=
100
,
stop_date
=
DateTime
(
'2019/10/21'
)
)
bank_reconciliation
.
open
()
payment_portal_type
=
"Payment Transaction"
payment_id
=
"erp5_bank_reconciliation_renderjs_ui_test"
module
=
portal
.
getDefaultModule
(
payment_portal_type
)
payment
=
module
.
newContent
(
portal_type
=
payment_portal_type
,
id
=
payment_id
,
title
=
payment_id
,
source_section_value
=
organisation
,
destination_section_value
=
organisation
,
source_payment_value
=
bank_account
,
start_date
=
DateTime
(
'2019/10/20'
),
resource_value
=
portal
.
restrictedTraverse
(
'currency_module/euro'
)
)
payment
.
bank
.
edit
(
source_value
=
portal
.
restrictedTraverse
(
'account_module/bank'
)
)
payment
.
stop
()
return
"Bank Reconciliation Created."
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/BankReconciliationRJSZuite_createData.xml
0 → 100644
View file @
c7a292ba
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</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_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<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>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
BankReconciliationRJSZuite_createData
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/BankReconciliationRJSZuite_deleteData.py
0 → 100644
View file @
c7a292ba
portal
=
context
.
getPortalObject
()
bank_reconciliation_portal_type
=
"Bank Reconciliation"
bank_reconciliation_id
=
"erp5_bank_reconciliation_renderjs_ui_test"
# Delete bank reconciliation
module
=
portal
.
getDefaultModule
(
bank_reconciliation_portal_type
)
if
getattr
(
module
,
bank_reconciliation_id
,
None
)
is
not
None
:
module
.
manage_delObjects
([
bank_reconciliation_id
])
payment_portal_type
=
"Payment Transaction"
payment_id
=
"erp5_bank_reconciliation_renderjs_ui_test"
# Delete Payment
module
=
portal
.
getDefaultModule
(
payment_portal_type
)
if
getattr
(
module
,
payment_id
,
None
)
is
not
None
:
module
.
manage_delObjects
([
payment_id
])
organisation_portal_type
=
"Organisation"
organisation_id
=
"erp5_bank_reconciliation_renderjs_ui_test"
module
=
portal
.
getDefaultModule
(
organisation_portal_type
)
if
getattr
(
module
,
organisation_id
,
None
)
is
not
None
:
module
.
manage_delObjects
([
organisation_id
])
return
"Deleted Successfully."
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/BankReconciliationRJSZuite_deleteData.xml
0 → 100644
View file @
c7a292ba
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</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_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<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>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
BankReconciliationRJSZuite_deleteData
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/BankReconciliationRJSZuite_setPreference.py
0 → 100644
View file @
c7a292ba
"""Set subversion working copy list and enable preference.
This script is called by Products.ERP5Type.tests.runFunctionalTest to set
subversion working copy paths and conversion server address.
It's not meant to be called by zelenium tests directly.
"""
context
.
Zuite_setPreference
(
''
)
pref
=
context
.
portal_preferences
.
erp5_ui_test_preference
# pref.setPreferredTextEditor('fck_editor')
return
'Set Bank Reconciliation Preference Successfully.'
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/BankReconciliationRJSZuite_setPreference.xml
0 → 100644
View file @
c7a292ba
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</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_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<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>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
BankReconciliationRJSZuite_setPreference
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Set Test Runner Preferences
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/Zuite_CommonTemplateForBankReconciliationRenderjsUi.xml
0 → 100644
View file @
c7a292ba
<?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>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
description
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
text
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Common Template for PTZuite, it will reuse parts of the Listbox Zuite
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Zuite_CommonTemplateForBankReconciliationRenderjsUi
</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>
Common Template for All Bank Reconciliation Renderjs ui Zuite
</unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_bank_reconciliation_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_bank_reconciliation_renderjs_ui_test/Zuite_CommonTemplateForBankReconciliationRenderjsUi.zpt
0 → 100644
View file @
c7a292ba
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal">
<tal:block metal:define-macro="init">
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<tr>
<td>open</td>
<td>${base_url}/portal_preferences/BankReconciliationRJSZuite_setPreference</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Set Bank Reconciliation Preference Successfully.</td>
<td></td>
</tr>
<tr>
<td>store</td>
<td>${base_url}/web_site_module/renderjs_runner/#</td>
<td>renderjs_url</td>
</tr>
</tal:block>
<tal:block metal:define-macro="delete_data">
<tr>
<td colspan="3"><b>Delete Bank Reconciliation Test Data</b></td>
</tr>
<tr>
<td>open</td>
<td>${base_url}/BankReconciliationRJSZuite_deleteData</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Deleted Successfully.</td>
<td></td>
</tr>
<tr>
<td colspan="3"><p></p></td>
</tr>
</tal:block>
<tal:block metal:define-macro="prepare_data">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForBankReconciliationRenderjsUi/macros/delete_data" />
<tr>
<td colspan="3"><b>Create Bank Reconciliation Test Data</b></td>
</tr>
<tr>
<td>open</td>
<td>${base_url}/BankReconciliationRJSZuite_createData</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Bank Reconciliation Created.</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/wait_for_activities" />
<tr>
<td colspan="3"><p></p></td>
</tr>
</tal:block>
<tal:block metal:define-macro="view_fast_input">
<tr>
<td colspan="3"><b>Display the fast input</b></td>
</tr>
<tr>
<td>open</td>
<td>${renderjs_url}/bank_reconciliation_module/erp5_bank_reconciliation_renderjs_ui_test</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<!-- Wait for gadget to be loaded -->
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_view.html']</td>
<td></td>
</tr>
<tal:block tal:define="click_configuration python: {'text': 'Actions'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link" />
</tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_page_action.html']</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Bank Reconciliation</td>
<td></td>
</tr>
<tal:block tal:define="click_configuration python: {'text': 'Bank Reconciliation'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link" />
</tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_dialog.html']</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Bank Reconciliation</td>
<td></td>
</tr>
<tr>
<td colspan="3"><p></p></td>
</tr>
</tal:block>
</tal:block>
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalRJSBankReconciliationAction.py
0 → 100644
View file @
c7a292ba
##############################################################################
#
# Copyright (c) 2011 Nexedi SARL and Contributors. All Rights Reserved.
# Kazuhiko <kazuhiko@nexedi.com>
# Rafael Monnerat <rafael@nexedi.com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# garantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
import
unittest
from
Products.ERP5Type.tests.ERP5TypeFunctionalTestCase
import
ERP5TypeFunctionalTestCase
class
TestRenderJSUIBankReconciliationAction
(
ERP5TypeFunctionalTestCase
):
foreground
=
0
run_only
=
"renderjs_ui_bank_reconciliation_action_zuite"
def
getBusinessTemplateList
(
self
):
return
(
'erp5_bank_reconciliation_renderjs_ui_test'
,
'erp5_bank_reconciliation'
,
'erp5_web_renderjs_ui'
,
'erp5_web_renderjs_ui_test'
,
'erp5_accounting_ui_test'
,
'erp5_ui_test_core'
,
'erp5_test_result'
,
)
def
test_suite
():
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
unittest
.
makeSuite
(
TestRenderJSUIBankReconciliationAction
))
return
suite
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalRJSBankReconciliationAction.xml
0 → 100644
View file @
c7a292ba
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_recorded_property_dict
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testFunctionalRJSBankReconciliationAction
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testFunctionalRJSBankReconciliationAction
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/comment
0 → 100644
View file @
c7a292ba
RenderJS UI tests for Bank Reconciliation
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/copyright_list
0 → 100644
View file @
c7a292ba
Copyright (C) 2018 Nexedi SA
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/dependency_list
0 → 100644
View file @
c7a292ba
erp5_bank_reconciliation
erp5_web_renderjs_ui_test
erp5_accounting_ui_test
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/license
0 → 100644
View file @
c7a292ba
GPL
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/template_format_version
0 → 100644
View file @
c7a292ba
1
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/template_path_list
0 → 100644
View file @
c7a292ba
portal_tests/renderjs_ui_bank_reconciliation_action_zuite
portal_tests/renderjs_ui_bank_reconciliation_action_zuite/**
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/template_skin_id_list
0 → 100644
View file @
c7a292ba
erp5_bank_reconciliation_renderjs_ui_test
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/template_test_id_list
0 → 100644
View file @
c7a292ba
test.erp5.testFunctionalRJSBankReconciliationAction
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/test_dependency_list
0 → 100644
View file @
c7a292ba
erp5_full_text_mroonga_catalog
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/title
0 → 100644
View file @
c7a292ba
erp5_bank_reconciliation_renderjs_ui_test
\ No newline at end of file
bt5/erp5_bank_reconciliation_renderjs_ui_test/bt/version
0 → 100644
View file @
c7a292ba
0.1
\ 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