Merge PR #1634 into 14.0

Signed-off-by rousseldenis
This commit is contained in:
OCA-git-bot
2023-11-13 14:39:01 +00:00

View File

@@ -44,13 +44,13 @@ class ProductProduct(models.Model):
excluded_location_ids.ids, excluded_location_ids.ids,
) )
], ],
domain_quant_loc, domain_move_in_loc,
] ]
) )
domain_move_out_loc = expression.AND( domain_move_out_loc = expression.AND(
[ [
[("location_id", "not in", excluded_location_ids.ids)], [("location_id", "not in", excluded_location_ids.ids)],
domain_quant_loc, domain_move_out_loc,
] ]
) )
return domain_quant_loc, domain_move_in_loc, domain_move_out_loc return domain_quant_loc, domain_move_in_loc, domain_move_out_loc