diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-09-13 10:25:03 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-09-13 10:25:03 +0700 |
| commit | b473179e5adde097bc9ec43ee4566b850937f1ed (patch) | |
| tree | 692846858d335ac67fa3881c390188144f3c2090 /indoteknik_custom/models/stock_move.py | |
| parent | 5c6098158ab0f82437aa24e947a66b78b21b6bd7 (diff) | |
unreserve
Diffstat (limited to 'indoteknik_custom/models/stock_move.py')
| -rw-r--r-- | indoteknik_custom/models/stock_move.py | 2 |
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 |
