Commit 745a8bc7 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_travel_expense: Fix Leave Report Record jIO view to use Source for the person

parent 3ec33714
......@@ -279,7 +279,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: 25.0 + here.getPortalObject().portal_simulation.getAvailableInventory(portal_type="Leave Request Period",node_uid=here.getDestinationUid(),)</string> </value>
<value> <string>python: 25.0 + here.getPortalObject().portal_simulation.getAvailableInventory(portal_type="Leave Request Period",node_uid=here.getSourceUid(),)</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -279,7 +279,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getPortalObject().portal_simulation.getAvailableInventory(portal_type="Leave Request Period",node_uid=here.getDestinationUid(),)</string> </value>
<value> <string>python: here.getPortalObject().portal_simulation.getAvailableInventory(portal_type="Leave Request Period",node_uid=here.getSourceUid(),)</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -279,7 +279,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getPortalObject().portal_simulation.getFutureInventory(portal_type="Leave Request Period",node_uid=here.getDestinationUid(),)</string> </value>
<value> <string>python: here.getPortalObject().portal_simulation.getFutureInventory(portal_type="Leave Request Period",node_uid=here.getSourceUid(),)</string> </value>
</item>
</dictionary>
</pickle>
......
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