mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP] stock_location_lockdown: improve error message
This commit is contained in:
committed by
Urvisha-OSI
parent
9db52e9b23
commit
2de75c4f84
@@ -17,6 +17,5 @@ class StockQuant(models.Model):
|
||||
raise ValidationError(
|
||||
_('The location %s is blocked and can '
|
||||
'not be used for moving the product %s')
|
||||
% (record.location_id.name, record.product_id.name)
|
||||
% (record.location_id.display_name, record.product_id.display_name)
|
||||
)
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user