mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[13.0][FIX] Broken pre-commit: E741 ambiguous variable name 'l'
This commit is contained in:
committed by
Ben Stannard
parent
b5e86d97bc
commit
2cba95ea3b
@@ -38,8 +38,8 @@ class StockMove(models.Model):
|
|||||||
)
|
)
|
||||||
and (
|
and (
|
||||||
move.location_dest_id in locked_location_ids
|
move.location_dest_id in locked_location_ids
|
||||||
or any([l in locked_location_ids for l in dest_locs])
|
or any([loc in locked_location_ids for loc in dest_locs])
|
||||||
or any([l in locked_location_ids for l in reserved_locs])
|
or any([loc in locked_location_ids for loc in reserved_locs])
|
||||||
)
|
)
|
||||||
):
|
):
|
||||||
location_names = locked_location_ids.mapped("complete_name")
|
location_names = locked_location_ids.mapped("complete_name")
|
||||||
|
|||||||
Reference in New Issue
Block a user