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