fix: ignored posting time 00:00:00 in RIV (#56571)

This commit is contained in:
rohitwaghchaure
2026-06-26 19:19:16 +05:30
committed by GitHub
parent 1e2adc0706
commit 31f89b72b4

View File

@@ -94,7 +94,7 @@ class RepostItemValuation(Document):
self.validate_recreate_stock_ledgers()
def set_default_posting_time(self):
if not self.posting_time:
if self.posting_time is None:
self.posting_time = nowtime()
if not self.posting_date: