summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/stock_picking.py
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-06-25 10:47:36 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-06-25 10:47:36 +0700
commit79cf5002ddd85a57e3c2eb146bfbe612fdef8d3a (patch)
tree3c210d9d00b923d74948e32151df1165d1e611d7 /indoteknik_custom/models/stock_picking.py
parent3c43b91173cdaf5762e2f39197a89a2b24090458 (diff)
parent74b49469064387219474ddf8e8f38e5d676079c2 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into odoo-backup
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 27046063..c884f97e 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -1356,6 +1356,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):