mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[I18n] stock_pull_list: add translations to UserError
This commit is contained in:
committed by
Lois Rilo
parent
e8bc5b1711
commit
f70f0eb797
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user