Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
5596261a
Commit
5596261a
authored
Dec 19, 2011
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setup required configuration.
parent
81d0116b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml
...m/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml
+3
-3
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpSaleOrderTest.xml
...s/erp5_user_tutorial_ui_test/Zuite_setUpSaleOrderTest.xml
+10
-0
bt5/erp5_user_tutorial_ui_test/bt/revision
bt5/erp5_user_tutorial_ui_test/bt/revision
+1
-1
No files found.
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml
View file @
5596261a
...
...
@@ -45,7 +45,7 @@
<body>
\n
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
\n
<thead>
\n
<tr><td
rowspan=
"1"
colspan=
"3"
>
How-to Sale Order / Packing List / Invoices / Payment
(expected failure)
</td></tr>
\n
<tr><td
rowspan=
"1"
colspan=
"3"
>
How-to Sale Order / Packing List / Invoices / Payment
</td></tr>
\n
</thead><tbody>
\n
\n
<span
metal:use-macro=
"container/Zuite_viewTestMacroLibrary/macros/init_test_environment"
>
init
</span>
\n
...
...
@@ -711,11 +711,11 @@ Wait for activities</span>\n
<td>
//select[@name="select_action"]
</td>
\n
<td>
Create Related Payment
</td>
\n
</tr>
\n
<span
tal:condition=
"python:\'5
1
- Bank\' in here.Zuite_getCashAccountRelatedFormattedTitleList()"
>
\n
<span
tal:condition=
"python:\'5 - Bank\' in here.Zuite_getCashAccountRelatedFormattedTitleList()"
>
\n
<tr>
\n
<td>
select
</td>
\n
<td>
//select[@name="field_your_node"]
</td>
\n
<td>
5
1
- Bank
</td>
\n
<td>
5 - Bank
</td>
\n
</tr>
\n
</span>
\n
<span
tal:condition=
"python:\'512 - Banques\' in here.Zuite_getCashAccountRelatedFormattedTitleList()"
>
\n
...
...
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpSaleOrderTest.xml
View file @
5596261a
...
...
@@ -57,9 +57,19 @@ portal = context.getPortalObject()\n
howto_dict = context.Zuite_getHowToInfo()\n
isTransitionPossible = portal.portal_workflow.isTransitionPossible\n
\n
# validate rules\n
for account in context.account_module.objectValues():\n
if isTransitionPossible(account, \'validate\'):\n
account.validate()\n
\n
# validate default business process\n
business_process = context.portal_catalog.getResultValue(portal_type=\'Business Process\',\n
reference=\'erp5_default_business_process\')\n
business_process.account_debit_path.setTestTalesExpression(\'python: True\')\n
business_process.account_credit_path.setTestTalesExpression(\'python: True\')\n
business_process.account_debit_path.setSourceValue(context.account_module.goods_sales)\n
business_process.account_credit_path.setSourceValue(context.account_module.receivable)\n
\n
if isTransitionPossible(business_process, \'validate\'):\n
business_process.validate()\n
\n
...
...
bt5/erp5_user_tutorial_ui_test/bt/revision
View file @
5596261a
775
\ No newline at end of file
776
\ 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