mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP] stock_move_location: black, isort, prettier
This commit is contained in:
committed by
Alex Cuellar
parent
90fe3bf206
commit
c8aec98626
@@ -155,7 +155,7 @@ class StockMoveLocationWizard(models.TransientModel):
|
||||
location_to_id = lines[0].destination_location_id.id
|
||||
product = lines[0].product_id
|
||||
product_uom_id = lines[0].product_uom_id.id
|
||||
qty = sum([x.move_quantity for x in lines])
|
||||
qty = sum(x.move_quantity for x in lines)
|
||||
return {
|
||||
"name": product.display_name,
|
||||
"location_id": location_from_id,
|
||||
|
||||
Reference in New Issue
Block a user