feat: option to enable serial / batch features

This commit is contained in:
Rohit Waghchaure
2026-02-09 14:51:20 +05:30
parent 2bc3c146a6
commit 82c3da5b1e
16 changed files with 162 additions and 10 deletions

View File

@@ -16,6 +16,7 @@ erpnext.assets.AssetCapitalization = class AssetCapitalization extends erpnext.s
refresh() {
this.show_general_ledger();
erpnext.toggle_serial_batch_fields(this.frm);
if (this.frm.doc.stock_items && this.frm.doc.stock_items.length) {
this.show_stock_ledger();