Error in Stock Ledger (qty_after_transaction)

I’ve been customizing erpnext, taking parts from the stock module and manufacturing module, i get an error in stock_ledger file --> update_entries_after, it cant find qty_after_transaction
help is much appreciated

Traceback (most recent call last):
File “/home/show/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/show/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/show/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/show/frappe-bench/apps/frappe/frappe/init.py”, line 939, in call
return fn(*args, **newargs)
File “/home/show/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 256, in save
return self._save(*args, **kwargs)
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 279, in _save
self.insert()
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 239, in insert
self.run_method(“after_insert”)
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 755, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 1024, in composer
return composed(self, method, *args, **kwargs)
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 1007, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 749, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/show/frappe-bench/apps/rms/rms/stock/doctype/item/item.py”, line 44, in after_insert
self.set_opening_stock()
File “/home/show/frappe-bench/apps/rms/rms/stock/doctype/item/item.py”, line 84, in set_opening_stock
qty=self.opening_stock)
File “/home/show/frappe-bench/apps/rms/rms/stock/doctype/stock_entry/stock_entry_utils.py”, line 65, in make_stock_entry
s.submit()
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 831, in submit
self._submit()
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 820, in _submit
self.save()
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 256, in save
return self._save(*args, **kwargs)
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 307, in _save
self.run_post_save_methods()
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 890, in run_post_save_methods
self.run_method(“on_submit”)
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 755, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 1024, in composer
return composed(self, method, *args, **kwargs)
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 1007, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/show/frappe-bench/apps/frappe/frappe/model/document.py”, line 749, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/show/frappe-bench/apps/rms/rms/stock/doctype/stock_entry/stock_entry.py”, line 52, in on_submit
self.update_stock_ledger()
File “/home/show/frappe-bench/apps/rms/rms/stock/doctype/stock_entry/stock_entry.py”, line 276, in update_stock_ledger
self.make_sl_entries(sl_entries, self.amended_from)
File “/home/show/frappe-bench/apps/rms/rms/controllers/stock_controller.py”, line 86, in make_sl_entries
make_sl_entries(sl_entries, is_amended)
File “/home/show/frappe-bench/apps/rms/rms/stock/stock_ledger.py”, line 36, in make_sl_entries
update_bin(args)
File “/home/show/frappe-bench/apps/rms/rms/stock/utils.py”, line 114, in update_bin
bin.update_stock(args)
File “/home/show/frappe-bench/apps/rms/rms/stock/doctype/bin/bin.py”, line 43, in update_stock
“voucher_no”: args.get(“voucher_no”)
File “/home/show/frappe-bench/apps/rms/rms/stock/stock_ledger.py”, line 90, in init
self.build()
File “/home/show/frappe-bench/apps/rms/rms/stock/stock_ledger.py”, line 97, in build
self.process_sle(sle)
File “/home/show/frappe-bench/apps/rms/rms/stock/stock_ledger.py”, line 129, in process_sle
self.qty_after_transaction += flt(sle.actual_qty)
AttributeError: ‘update_entries_after’ object has no attribute ‘qty_after_transaction’
desk.min.js:1701:7

Never mind guys fixed by myself