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

erp5_travel_expense: define default value

parent 3758b1d7
......@@ -58,7 +58,7 @@
doc.simulation_state = 'draft';
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;
});
}
......
......@@ -66,9 +66,7 @@
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>contributor/person_module/2</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......@@ -242,7 +240,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>956.14178.1267.12151</string> </value>
<value> <string>956.24261.36171.23790</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>1482759569.14</float>
<float>1483434792.47</float>
<string>UTC</string>
</tuple>
</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