mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_move_auto_assign_auto_release: Use correct translation parameters
This commit is contained in:
@@ -61,8 +61,10 @@ class StockMove(models.Model):
|
||||
job_options = job_options.copy()
|
||||
job_options.setdefault(
|
||||
"description",
|
||||
_('Try releasing "{}" for quantities added in: {}').format(
|
||||
product.display_name, ", ".join(locations.mapped("name"))
|
||||
_(
|
||||
'Try releasing "%(product)s" for quantities added in: %(locations)s',
|
||||
product=product.display_name,
|
||||
locations=", ".join(locations.mapped("name")),
|
||||
),
|
||||
)
|
||||
job_options.setdefault("identity_key", identity_exact)
|
||||
|
||||
Reference in New Issue
Block a user