Merge PR #1893 into 14.0

Signed-off-by LoisRForgeFlow
This commit is contained in:
OCA-git-bot
2023-11-23 09:04:05 +00:00

View File

@@ -13,7 +13,10 @@ class StockPicking(models.Model):
raise UserError(_("Choose transfers with same source location"))
if not record.picking_type_id.allow_pull_list_server_action:
raise UserError(
f"Operation type of {record.name} transfer did not handle server action"
_(
"Operation type of %(name)s transfer did not handle server action",
name=record.name,
)
)
pull_wizard = self.env["stock.pull.list.wizard"].create(
{"location_id": source_location.id}