Rename Uom to Unit for stock moves.

This commit is contained in:
Albert Cervera i Areny 2023-09-13 18:43:36 +02:00
parent 7d461b4244
commit a79e580d9e
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class StockLotDeactivatableTestCase(CompanyTestMixin, ModuleTestCase):
moves = Move.create([{
'product': product.id,
'lot': lot.id,
'uom': unit.id,
'unit': unit.id,
'quantity': abs(quantity),
'from_location': (supplier.id if quantity > 0
else storage.id),