Commit 70cf248e authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_travel_expense: Leave Report Record have the person as Source and not Destination

parent 6794d150
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </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