Commit 5f1dfe89 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_travel_expense: define default value

parent 3758b1d7
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
doc.simulation_state = 'draft'; doc.simulation_state = 'draft';
doc.portal_type = 'Expense Record'; // For to avoid sync doc.portal_type = 'Expense Record'; // For to avoid sync
} }
doc.related_mission_url = gadget.props.related_mission_url; doc.related_mission_url = gadget.props.related_mission_url || '';
return doc; return doc;
}); });
} }
......
...@@ -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>
...@@ -242,7 +240,7 @@ ...@@ -242,7 +240,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>956.14178.1267.12151</string> </value> <value> <string>956.24261.36171.23790</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -260,7 +258,7 @@ ...@@ -260,7 +258,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1482759569.14</float> <float>1483434792.47</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
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