Commit 1bbb2393 authored by Romain Courteaud's avatar Romain Courteaud

Fix wrong indexation in stock table introduced in r19563

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23031 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 00f6845b
...@@ -186,31 +186,31 @@ ...@@ -186,31 +186,31 @@
<key> <string>_keys</string> </key> <key> <string>_keys</string> </key>
<value> <value>
<list> <list>
<string>uid</string> <string>uid</string>
<string>getResourceUid</string> <string>getResourceUid</string>
<string>getInventoriatedQuantity</string> <string>getInventoriatedQuantity</string>
<string>getSourceUid</string> <string>getSourceUid</string>
<string>getDestinationUid</string> <string>getDestinationUid</string>
<string>getSourceSectionUid</string> <string>getSourceSectionUid</string>
<string>getDestinationSectionUid</string> <string>getDestinationSectionUid</string>
<string>isMovement</string> <string>isMovement</string>
<string>isInventoryMovement</string> <string>isInventoryMovement</string>
<string>getSourcePaymentUid</string> <string>getSourcePaymentUid</string>
<string>getDestinationPaymentUid</string> <string>getDestinationPaymentUid</string>
<string>getSourceFunctionUid</string> <string>getSourceFunctionUid</string>
<string>getDestinationFunctionUid</string> <string>getDestinationFunctionUid</string>
<string>getSourceProjectUid</string> <string>getSourceProjectUid</string>
<string>getDestinationProjectUid</string> <string>getDestinationProjectUid</string>
<string>getSimulationState</string> <string>getSimulationState</string>
<string>getSourceInventoriatedTotalAssetPrice</string> <string>getSourceInventoriatedTotalAssetPrice</string>
<string>getDestinationInventoriatedTotalAssetPrice</string> <string>getDestinationInventoriatedTotalAssetPrice</string>
<string>getStartDate</string> <string>getStartDate</string>
<string>getStopDate</string> <string>getStopDate</string>
<string>isAccountable</string> <string>isAccountable</string>
<string>getPortalType</string> <string>getPortalType</string>
<string>getVariationText</string> <string>getVariationText</string>
<string>getSubVariationText</string> <string>getSubVariationText</string>
<string>asMovementList</string> <string>asMovementList</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -341,8 +341,8 @@ WHERE\n ...@@ -341,8 +341,8 @@ WHERE\n
getDestinationUid[loop_item],\n getDestinationUid[loop_item],\n
getResourceUid[loop_item],\n getResourceUid[loop_item],\n
-(getInventoriatedQuantity[loop_item] or 0),\n -(getInventoriatedQuantity[loop_item] or 0),\n
mov_item.getStopDate(),\n
mov_item.getStartDate(),\n mov_item.getStartDate(),\n
mov_item.getStopDate(),\n
getSourceInventoriatedTotalAssetPrice[loop_item],\n getSourceInventoriatedTotalAssetPrice[loop_item],\n
getPortalType[loop_item],\n getPortalType[loop_item],\n
getSimulationState[loop_item],\n getSimulationState[loop_item],\n
...@@ -472,8 +472,8 @@ WHERE\n ...@@ -472,8 +472,8 @@ WHERE\n
getDestinationUid[loop_item],\n getDestinationUid[loop_item],\n
getResourceUid[loop_item],\n getResourceUid[loop_item],\n
-(getInventoriatedQuantity[loop_item] or 0),\n -(getInventoriatedQuantity[loop_item] or 0),\n
mov_item.getStopDate(),\n
mov_item.getStartDate(),\n mov_item.getStartDate(),\n
mov_item.getStopDate(),\n
getSourceInventoriatedTotalAssetPrice[loop_item],\n getSourceInventoriatedTotalAssetPrice[loop_item],\n
getPortalType[loop_item],\n getPortalType[loop_item],\n
getSimulationState[loop_item],\n getSimulationState[loop_item],\n
......
322 324
\ No newline at end of file \ No newline at end of file
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