From b79ec7cbdd1c915cfd9e0582df034b2bf974ce19 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Wed, 13 May 2026 18:50:09 +0530 Subject: [PATCH] chore: fix linter issue (cherry picked from commit 3c993377aaa7fb9cf3349565553515d1d7e0b735) (cherry picked from commit 21ada7799cdfff258856384dddfd604db7eab0a6) --- erpnext/stock/serial_batch_bundle.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/stock/serial_batch_bundle.py b/erpnext/stock/serial_batch_bundle.py index 42e4df2d502..633867dcc79 100644 --- a/erpnext/stock/serial_batch_bundle.py +++ b/erpnext/stock/serial_batch_bundle.py @@ -1070,6 +1070,7 @@ class SerialBatchCreation: def set_other_details(self): from erpnext.stock.utils import get_combine_datetime + if not self.get("posting_datetime"): if self.get("posting_date") and self.get("posting_time"): self.posting_datetime = get_combine_datetime(self.posting_date, self.posting_time)