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