fix(Sales Invoice): Reset disposal_date on returning the Asset
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
index bfcf206..dc52820 100644
--- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
+++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
@@ -932,15 +932,16 @@
 					if self.is_return:
 						fixed_asset_gl_entries = get_gl_entries_on_asset_movement(asset,
 							item.base_net_amount, item.finance_book, True)
+						asset.db_set("disposal_date", None)
 					else:
 						fixed_asset_gl_entries = get_gl_entries_on_asset_movement(asset,
 							item.base_net_amount, item.finance_book)
+						asset.db_set("disposal_date", self.posting_date)
 
 					for gle in fixed_asset_gl_entries:
 						gle["against"] = self.customer
 						gl_entries.append(self.get_gl_dict(gle, item=item))
 
-					asset.db_set("disposal_date", self.posting_date)
 					self.set_asset_status(asset)
 				
 				else: