[15.0][MIG] stock_location_lockdown: Migration to 15.0

This commit is contained in:
David Montull
2022-03-04 13:01:52 +01:00
committed by Urvisha-OSI
parent a47cd47d0e
commit 2bc1b76d3d
3 changed files with 8 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
"author": "Akretion, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"category": "Warehouse",
"version": "14.0.1.0.0",
"version": "15.0.1.0.0",
"license": "AGPL-3",
"application": False,
"installable": True,

View File

@@ -16,8 +16,11 @@ class StockQuant(models.Model):
if record.location_id.block_stock_entrance:
raise ValidationError(
_(
"The location %s is blocked and can "
"not be used for moving the product %s"
"The location %(location)s is blocked and can "
"not be used for moving the product %(product)s"
)
% (record.location_id.display_name, record.product_id.display_name)
% {
"location": record.location_id.display_name,
"product": record.product_id.display_name,
}
)

View File

@@ -1 +1,2 @@
* Florian da Costa <florian.dacosta@akretion.com>
* David Montull Guasch <david.montull@bt-group.com>