Try ERPNext Buy Support Partners Foundation

Error in Asset Depreciation Entry

Any one else getting this error?

{‘method_name’: ‘erpnext.assets.doctype.asset.asset.make_post_gl_entry’, ‘log’: <function log at 0x7f8d89cfb2f0>, ‘retry’: 0, ‘is_async’: True, ‘user’: ‘Administrator’, ‘kwargs’: {}, ‘job_name’: ‘erpnext.assets.doctype.asset.asset.make_post_gl_entry’, ‘event’: ‘daily’, ‘method’: <function make_post_gl_entry at 0x7f8d8d932c80>, ‘site’: ‘erp.octo5.co’}
Traceback (most recent call last):
File “/home/octo5/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 99, in execute_job
method(**kwargs)
File “/home/octo5/frappe-bench/apps/erpnext/erpnext/assets/doctype/asset/asset.py”, line 520, in make_post_gl_entry
if not is_cwip_accounting_enabled(self.asset_category):
NameError: name ‘self’ is not defined

Prior to the latest PR for asset depreciation, everythig was running smoothly so i don’t know what broke.