mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[15.0][MIG] stock_location_lockdown: Migration to 15.0
This commit is contained in:
committed by
Urvisha-OSI
parent
a47cd47d0e
commit
2bc1b76d3d
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
* Florian da Costa <florian.dacosta@akretion.com>
|
||||
* David Montull Guasch <david.montull@bt-group.com>
|
||||
|
||||
Reference in New Issue
Block a user