mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_location_tray: crash when creating a stock.location from the stock.location.tray.type view
This commit is contained in:
@@ -188,6 +188,7 @@ class StockLocation(models.Model):
|
||||
"posz": posz,
|
||||
"location_id": location.id,
|
||||
"company_id": location.company_id.id,
|
||||
"tray_type_id": False,
|
||||
}
|
||||
values.append(subloc_values)
|
||||
if values:
|
||||
|
||||
Reference in New Issue
Block a user