commit | 21a09e74313d91a1abce6bd6dc9fb764ffd784af | [log] [tgz] |
---|---|---|
author | anandbaburajan <anandbaburajan@gmail.com> | Tue Dec 27 13:03:19 2022 +0530 |
committer | anandbaburajan <anandbaburajan@gmail.com> | Tue Dec 27 15:01:42 2022 +0530 |
tree | f3472bb04d9cf9c93abf90c272535065600a1bb5 | |
parent | 97f85882022a1e50b47900afcd3fd43aa6eece26 [diff] |
chore: fix patch
diff --git a/erpnext/patches/v15_0/create_asset_depreciation_schedules_from_assets.py b/erpnext/patches/v15_0/create_asset_depreciation_schedules_from_assets.py index 02ffa70..749225c 100644 --- a/erpnext/patches/v15_0/create_asset_depreciation_schedules_from_assets.py +++ b/erpnext/patches/v15_0/create_asset_depreciation_schedules_from_assets.py
@@ -84,5 +84,5 @@ .set(ds.parent, asset_depr_schedule_name) .set(ds.parentfield, "depreciation_schedule") .set(ds.parenttype, "Asset Depreciation Schedule") - .where(ds.parent == depr_schedule.name) + .where(ds.name == depr_schedule.name) ).run()