Fixed undo consume stock transaction location handling (references #1602)

This commit is contained in:
Bernd Bestel
2021-09-27 17:50:19 +02:00
parent 19ff782c00
commit bed7965989
2 changed files with 3 additions and 1 deletions

View File

@@ -1352,7 +1352,8 @@ class StockService extends BaseService
'stock_id' => $logRow->stock_id,
'price' => $logRow->price,
'opened_date' => $logRow->opened_date,
'open' => $logRow->opened_date !== null
'open' => $logRow->opened_date !== null,
'location_id' => $logRow->location_id
]);
$stockRow->save();