Skip to content

Commit

Permalink
fix minimum quantity on stock movement
Browse files Browse the repository at this point in the history
by fixing another issue on the batch management in the API, I introduced
a bug on the stock quantity decrease.

[see: X]
  • Loading branch information
laudeco committed Jan 22, 2020
1 parent edc79e7 commit 73ee655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/product/stock/class/api_stockmovements.class.php
Expand Up @@ -164,7 +164,7 @@ public function index($sortfield = "t.rowid", $sortorder = 'ASC', $limit = 100,
*
* @param int $product_id Id product id {@min 1} {@from body} {@required true}
* @param int $warehouse_id Id warehouse {@min 1} {@from body} {@required true}
* @param float $qty Qty to add (Use negative value for a stock decrease) {@min 0} {@message qty must be higher than 0} {@from body} {@required true}
* @param float $qty Qty to add (Use negative value for a stock decrease) {@from body} {@required true}
* @param string $lot Lot {@from body}
* @param string $movementcode Movement code {@example INV123} {@from body}
* @param string $movementlabel Movement label {@example Inventory number 123} {@from body}
Expand Down

0 comments on commit 73ee655

Please sign in to comment.