diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-07-30 10:40:11 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-07-30 10:40:11 +0000 |
| commit | d6bdde8fe63ff15ce8f3fee6bc5e8ae903fc78ce (patch) | |
| tree | 511e7d518e8794cf100aead7e12826cceb73a1e4 /indoteknik_custom/models/stock_picking.py | |
| parent | 29345559644b26f46068ebdc7623204452e43cc3 (diff) | |
| parent | 6d5435fffa97486b78fd871ed3859acd45830793 (diff) | |
Merged in tukar_guling (pull request #372)
<miqdad> change status return doc
Diffstat (limited to 'indoteknik_custom/models/stock_picking.py')
| -rw-r--r-- | indoteknik_custom/models/stock_picking.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py index 5dd5844d..825368de 100644 --- a/indoteknik_custom/models/stock_picking.py +++ b/indoteknik_custom/models/stock_picking.py @@ -1384,6 +1384,12 @@ class StockPicking(models.Model): self.send_mail_bills() if 'BU/PUT' in self.name: self.automatic_reserve_product() + + if self.tukar_guling_id: + self.tukar_guling_id.update_state() + elif self.tukar_guling_po_id: + self.tukar_guling_po_id.update_state() + return res def automatic_reserve_product(self): |
