mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[12.0][FIX] ValidationError string is not formatted with %s
This commit is contained in:
@@ -91,8 +91,8 @@ class StockInventory(models.Model):
|
||||
lines.extend(self._generate_lines_at_date(loc, product_ids))
|
||||
else:
|
||||
raise ValidationError(_(
|
||||
'Option %s not available when forcing Inventory Date.',
|
||||
self.filter))
|
||||
'Option %s not available when forcing Inventory Date.') %
|
||||
self.filter)
|
||||
return lines
|
||||
|
||||
@api.multi
|
||||
|
||||
Reference in New Issue
Block a user