mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP] stock_location_orderpoint: Improve queue.job description
This commit is contained in:
@@ -76,8 +76,10 @@ class StockMove(models.Model):
|
|||||||
job_options = job_options.copy()
|
job_options = job_options.copy()
|
||||||
job_options.setdefault(
|
job_options.setdefault(
|
||||||
"description",
|
"description",
|
||||||
_("Try to replenish quantities for location {} and product {}").format(
|
_("Try to replenish quantities {} location {} for product {}").format(
|
||||||
location.display_name, product.display_name
|
location_field == "location_id" and _("in") or _("from"),
|
||||||
|
location.display_name,
|
||||||
|
product.display_name,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
# do not enqueue 2 jobs for the same location and product set
|
# do not enqueue 2 jobs for the same location and product set
|
||||||
|
|||||||
Reference in New Issue
Block a user