summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-02-15 17:33:28 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-02-15 17:33:28 +0700
commitc5ccdc87a4367367733783dfe71e9237557722c1 (patch)
treec816e6c9ec3ca868bad5bb2621afac3f51fca0ed
parentf24d7fc1c60fb0198dbb62f7ba996912ce9f2b9d (diff)
<Miqdad> push
-rw-r--r--fixco_custom/models/stock_inventory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fixco_custom/models/stock_inventory.py b/fixco_custom/models/stock_inventory.py
index e507af5..37104ff 100644
--- a/fixco_custom/models/stock_inventory.py
+++ b/fixco_custom/models/stock_inventory.py
@@ -112,6 +112,7 @@ class StockInventory(models.Model):
record.approval_state = False
elif record.adjusment_type == 'out' and record.approval_state == False:
record.approval_state = 'logistic'
+ self._assign_number(record)
return res
def copy(self, default=None):