Commit fffb7722 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_travel_expense&test: user can input holiday quantity

parent a1e1e183
......@@ -47,6 +47,11 @@
<input type="date" name="stop_date" value="{{stop_date}}" required>
</div>
<div class="ui-field-contain">
<label data-i18n="Leave Days">Leave Days</label>
<input type="number" step="0.5" name="quantity" value="{{quantity}}" required>
</div>
<div class="ui-field-contain">
<label data-i18n="Comment">Comment</label>
<textarea name="comment">{{comment}}</textarea>
......
......@@ -66,9 +66,7 @@
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>contributor/person_module/2</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......@@ -238,7 +236,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>supercedriclen</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -252,7 +250,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>956.44329.14852.21316</string> </value>
<value> <string>996.48047.61964.64477</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -270,7 +268,7 @@
</tuple>
<state>
<tuple>
<float>1484576952.21</float>
<float>1639131875.82</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -81,6 +81,7 @@
<string>my_source_reference</string>
<string>my_start_date</string>
<string>my_stop_date</string>
<string>my_quantity</string>
</list>
</value>
</item>
......
......@@ -86,6 +86,7 @@
<string>my_title</string>
<string>your_state</string>
<string>your_sync_flag</string>
<string>my_quantity</string>
</list>
</value>
</item>
......
......@@ -109,6 +109,12 @@
<td>Test</td>
</tr>
<tr>
<td>type</td>
<td>//input[@name='quantity']</td>
<td>1</td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='sync_flag']</td>
......
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