refactor(stock): add _service suffix to serial_batch_bundle and quality_inspection modules

Consistent service-module naming: serial_batch_bundle_service.py /
quality_inspection_service.py (matching stock_ledger_service.py). Importers updated;
engine-module imports (stock.serial_batch_bundle) untouched.
This commit is contained in:
Nabin Hait
2026-06-05 15:16:41 +05:30
parent b41eb6876a
commit 7d72d21bbe
6 changed files with 12 additions and 12 deletions

View File

@@ -266,7 +266,7 @@ class StockEntry(StockController, SubcontractingInwardController):
def validate(self):
from erpnext.stock.doctype.putaway_rule.putaway_rule import validate_putaway_capacity
from erpnext.stock.services.serial_batch_bundle import SerialBatchBundleService
from erpnext.stock.services.serial_batch_bundle_service import SerialBatchBundleService
sbb = SerialBatchBundleService(self)

View File

@@ -66,7 +66,7 @@ class StockReconciliation(StockController):
def validate(self):
from erpnext.stock.doctype.putaway_rule.putaway_rule import validate_putaway_capacity
from erpnext.stock.services.serial_batch_bundle import SerialBatchBundleService
from erpnext.stock.services.serial_batch_bundle_service import SerialBatchBundleService
sbb = SerialBatchBundleService(self)

View File

@@ -203,7 +203,7 @@ class StockLedgerService:
def make_sl_entries(self, sl_entries, allow_negative_stock=False, via_landed_cost_voucher=False):
from erpnext.stock.serial_batch_bundle import update_batch_qty
from erpnext.stock.services.serial_batch_bundle import SerialBatchBundleService
from erpnext.stock.services.serial_batch_bundle_service import SerialBatchBundleService
from erpnext.stock.stock_ledger import make_sl_entries
make_sl_entries(sl_entries, allow_negative_stock, via_landed_cost_voucher)