fix: valuation rate for serial and batch bundle for current bundle (#41850)

This commit is contained in:
rohitwaghchaure
2024-06-11 18:10:02 +05:30
committed by GitHub
parent db313706a7
commit 7249a691b3
3 changed files with 33 additions and 6 deletions

View File

@@ -715,6 +715,9 @@ class StockController(AccountsController):
row.db_set("rejected_serial_and_batch_bundle", None)
if row.get("current_serial_and_batch_bundle"):
row.db_set("current_serial_and_batch_bundle", None)
def set_serial_and_batch_bundle(self, table_name=None, ignore_validate=False):
if not table_name:
table_name = "items"