chore: fix linter issue

(cherry picked from commit 3c993377aa)
(cherry picked from commit 21ada7799c)
This commit is contained in:
rohitwaghchaure
2026-05-13 18:50:09 +05:30
committed by Mergify
parent 927360dd1d
commit b79ec7cbdd

View File

@@ -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)