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
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
Hardik Juneja
erp5
Commits
fed85a26
Commit
fed85a26
authored
Mar 30, 2012
by
Rafael Monnerat
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Macro for select cash account
parent
ba0ad870
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
14 deletions
+20
-14
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml
...m/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml
+3
-14
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_viewTestMacroLibrary.xml
...erp5_user_tutorial_ui_test/Zuite_viewTestMacroLibrary.xml
+17
-0
No files found.
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml
View file @
fed85a26
...
...
@@ -715,20 +715,9 @@ 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 - Bank\' in here.Zuite_getCashAccountRelatedFormattedTitleList()"
>
\n
<tr>
\n
<td>
select
</td>
\n
<td>
//select[@name="field_your_node"]
</td>
\n
<td>
5 - Bank
</td>
\n
</tr>
\n
</span>
\n
<span
tal:condition=
"python:\'512 - Banques\' in here.Zuite_getCashAccountRelatedFormattedTitleList()"
>
\n
<tr>
\n
<td>
select
</td>
\n
<td>
//select[@name="field_your_node"]
</td>
\n
<td>
512 - Banques
</td>
\n
</tr>
\n
</span>
\n
\n
<span
metal:use-macro=
"container/Zuite_viewTestMacroLibrary/macros/select_cash_account"
>
Select Cash Account
</span>
\n
\n
<tr>
\n
<td>
select
</td>
\n
<td>
//select[@name="field_your_payment_mode"]
</td>
\n
...
...
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_viewTestMacroLibrary.xml
View file @
fed85a26
...
...
@@ -240,6 +240,23 @@
here.Zuite_getHowToInfo()[\'person_howto_reference\']"
></td>
\n
<td></td>
\n
</tr>
\n
</tal:block>
\n
\n
<tal:block
metal:define-macro=
"select_cash_account"
>
\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 - Bank
</td>
\n
</tr>
\n
</span>
\n
<span
tal:condition=
"python:\'512 - Banques\' in here.Zuite_getCashAccountRelatedFormattedTitleList()"
>
\n
<tr>
\n
<td>
select
</td>
\n
<td>
//select[@name="field_your_node"]
</td>
\n
<td>
512 - Banques
</td>
\n
</tr>
\n
</span>
\n
</tal:block>
]]>
</unicode>
</value>
...
...
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