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 @@
<key> <string>_keys</string> </key>
<value>
<list>
<string>uid</string>
<string>getResourceUid</string>
<string>getInventoriatedQuantity</string>
<string>getSourceUid</string>
<string>getDestinationUid</string>
<string>getSourceSectionUid</string>
<string>getDestinationSectionUid</string>
<string>isMovement</string>
<string>isInventoryMovement</string>
<string>getSourcePaymentUid</string>
<string>getDestinationPaymentUid</string>
<string>getSourceFunctionUid</string>
<string>getDestinationFunctionUid</string>
<string>getSourceProjectUid</string>
<string>getDestinationProjectUid</string>
<string>getSimulationState</string>
<string>getSourceInventoriatedTotalAssetPrice</string>
<string>getDestinationInventoriatedTotalAssetPrice</string>
<string>getStartDate</string>
<string>getStopDate</string>
<string>isAccountable</string>
<string>getPortalType</string>
<string>getVariationText</string>
<string>getSubVariationText</string>
<string>asMovementList</string>
<string>uid</string>
<string>getResourceUid</string>
<string>getInventoriatedQuantity</string>
<string>getSourceUid</string>
<string>getDestinationUid</string>
<string>getSourceSectionUid</string>
<string>getDestinationSectionUid</string>
<string>isMovement</string>
<string>isInventoryMovement</string>
<string>getSourcePaymentUid</string>
<string>getDestinationPaymentUid</string>
<string>getSourceFunctionUid</string>
<string>getDestinationFunctionUid</string>
<string>getSourceProjectUid</string>
<string>getDestinationProjectUid</string>
<string>getSimulationState</string>
<string>getSourceInventoriatedTotalAssetPrice</string>
<string>getDestinationInventoriatedTotalAssetPrice</string>
<string>getStartDate</string>
<string>getStopDate</string>
<string>isAccountable</string>
<string>getPortalType</string>
<string>getVariationText</string>
<string>getSubVariationText</string>
<string>asMovementList</string>
</list>
</value>
</item>
......@@ -341,8 +341,8 @@ WHERE\n
getDestinationUid[loop_item],\n
getResourceUid[loop_item],\n
-(getInventoriatedQuantity[loop_item] or 0),\n
mov_item.getStopDate(),\n
mov_item.getStartDate(),\n
mov_item.getStopDate(),\n
getSourceInventoriatedTotalAssetPrice[loop_item],\n
getPortalType[loop_item],\n
getSimulationState[loop_item],\n
......@@ -472,8 +472,8 @@ WHERE\n
getDestinationUid[loop_item],\n
getResourceUid[loop_item],\n
-(getInventoriatedQuantity[loop_item] or 0),\n
mov_item.getStopDate(),\n
mov_item.getStartDate(),\n
mov_item.getStopDate(),\n
getSourceInventoriatedTotalAssetPrice[loop_item],\n
getPortalType[loop_item],\n
getSimulationState[loop_item],\n
......
322
\ No newline at end of file
324
\ 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