fix: resolved conflict
This commit is contained in:
parent
3c98368e45
commit
d196aa5a36
@ -561,11 +561,8 @@ def modify_depreciation_schedule_for_asset_repairs(asset, notes):
|
||||
def reverse_depreciation_entry_made_after_disposal(asset, date):
|
||||
for row in asset.get("finance_books"):
|
||||
asset_depr_schedule_doc = get_asset_depr_schedule_doc(asset.name, "Active", row.finance_book)
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
if not asset_depr_schedule_doc or not asset_depr_schedule_doc.get("depreciation_schedule"):
|
||||
continue
|
||||
>>>>>>> 17f85de6fb (fix: Issues regarding asset cancellation and deletion)
|
||||
|
||||
for schedule_idx, schedule in enumerate(asset_depr_schedule_doc.get("depreciation_schedule")):
|
||||
if schedule.schedule_date == date and schedule.journal_entry:
|
||||
|
Loading…
Reference in New Issue
Block a user