summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/stock_move.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-09-13 10:25:03 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-09-13 10:25:03 +0700
commitb473179e5adde097bc9ec43ee4566b850937f1ed (patch)
tree692846858d335ac67fa3881c390188144f3c2090 /indoteknik_custom/models/stock_move.py
parent5c6098158ab0f82437aa24e947a66b78b21b6bd7 (diff)
unreserve
Diffstat (limited to 'indoteknik_custom/models/stock_move.py')
-rw-r--r--indoteknik_custom/models/stock_move.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/stock_move.py b/indoteknik_custom/models/stock_move.py
index 6c44f8a6..cd061946 100644
--- a/indoteknik_custom/models/stock_move.py
+++ b/indoteknik_custom/models/stock_move.py
@@ -14,7 +14,7 @@ class StockMove(models.Model):
if move.state == 'cancel' or (move.state == 'done' and move.scrapped):
continue
elif move.state == 'done':
- raise UserError(_("You cannot unreserve a stock move that has been set to 'Done'."))
+ raise UserError("You cannot unreserve a stock move that has been set to 'Done'.")
if product and move.product_id != product:
continue # Skip moves that don't match the specified product