mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 10:41:21 +00:00
chore: fixed test case
This commit is contained in:
@@ -11,7 +11,6 @@ from erpnext.stock.deprecated_serial_batch import (
|
||||
DeprecatedBatchNoValuation,
|
||||
DeprecatedSerialNoValuation,
|
||||
)
|
||||
from erpnext.stock.utils import get_combine_datetime
|
||||
from erpnext.stock.valuation import round_off_if_near_zero
|
||||
|
||||
|
||||
@@ -1057,6 +1056,7 @@ class SerialBatchCreation:
|
||||
self.__dict__.update(item_details)
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user