mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 07:22:13 +00:00
fix: auto serial and batch bundle not creating for Asset Capitalization (#42231)
(cherry picked from commit 5f53ad3117)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
@@ -218,7 +218,7 @@ class StockController(AccountsController):
|
|||||||
"do_not_submit": True if not via_landed_cost_voucher else False,
|
"do_not_submit": True if not via_landed_cost_voucher else False,
|
||||||
}
|
}
|
||||||
|
|
||||||
if row.get("qty") or row.get("consumed_qty"):
|
if row.get("qty") or row.get("consumed_qty") or row.get("stock_qty"):
|
||||||
self.update_bundle_details(bundle_details, table_name, row)
|
self.update_bundle_details(bundle_details, table_name, row)
|
||||||
self.create_serial_batch_bundle(bundle_details, row)
|
self.create_serial_batch_bundle(bundle_details, row)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user