[13.0][FIX] Broken pre-commit: E741 ambiguous variable name 'l'

This commit is contained in:
HviorForgeFlow
2020-05-12 16:19:47 +02:00
committed by Ben Stannard
parent b5e86d97bc
commit 2cba95ea3b

View File

@@ -38,8 +38,8 @@ class StockMove(models.Model):
)
and (
move.location_dest_id in locked_location_ids
or any([l in locked_location_ids for l 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 dest_locs])
or any([loc in locked_location_ids for loc in reserved_locs])
)
):
location_names = locked_location_ids.mapped("complete_name")