summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/stock_picking.py
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-06-26 12:08:12 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-06-26 12:08:12 +0700
commit215dffae18b05fd3ab6df25b5d414f302f986b65 (patch)
treed10da611a6d0d10eddcc21adfe9ae512c15f03a4 /indoteknik_custom/models/stock_picking.py
parent3b6b3a2f7a161a08fa3995906f92019cc5ea4d17 (diff)
parent4a628d1644da21870706951c4601a5b007993cd8 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into tukar_guling
Diffstat (limited to 'indoteknik_custom/models/stock_picking.py')
-rw-r--r--indoteknik_custom/models/stock_picking.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 06f873a5..6d868db4 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -1364,6 +1364,8 @@ class StockPicking(models.Model):
])
for line in po.order_sales_match_line:
+ if not line.bu_pick:
+ continue
line.bu_pick.action_assign()
def check_invoice_date(self):