Commit fed85a26 authored by Rafael Monnerat's avatar Rafael Monnerat

Add Macro for select cash account

parent ba0ad870
......@@ -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
......
......@@ -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>
......
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