summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/stock_picking.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-06-20 09:57:29 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-06-23 16:29:23 +0700
commitaf4ee6eef06a440207c6d16809d06e08057f66f0 (patch)
tree9b80559cd0aa7dc202177b1e57880d2aa232a425 /indoteknik_custom/models/stock_picking.py
parenteeb72c4ed24c33403bb733a51198b9cc0f356e6a (diff)
bu pick in purchase order sales match
Diffstat (limited to 'indoteknik_custom/models/stock_picking.py')
-rw-r--r--indoteknik_custom/models/stock_picking.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index eabef37c..7c4e6bc0 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -1309,6 +1309,7 @@ class StockPicking(models.Model):
self.final_seq = 0
self.set_picking_code_out()
self.send_koli_to_so()
+ self.automatic_reserve_product()
if (self.state_reserve == 'done' and self.picking_type_code == 'internal' and 'BU/PICK/' in self.name
and self.linked_manual_bu_out):
@@ -1347,6 +1348,9 @@ class StockPicking(models.Model):
}
self.send_mail_bills()
return res
+
+ # def automatic_reserve_product(self):
+ # if self.name
def check_invoice_date(self):
for picking in self: