Merge pull request 'feat: refs #7219' (!2307) from 7219-sale_replaceItem into test
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2307
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Robert Ferrús 2024-04-17 10:10:42 +00:00
commit 062bda548f
1 changed files with 0 additions and 4 deletions

View File

@ -81,10 +81,6 @@ BEGIN
ORDER BY (vQuantity % `grouping`) ASC
LIMIT 1;
IF vNewPrice IS NULL THEN
CALL util.throw('price retrieval failed');
END IF;
IF vNewPrice > vOldPrice THEN
SET vFinalPrice = vOldPrice;
SET vOption = 'substitution';