fix: Use the item's project instead of the invoice's

Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py
index 65dbe17..2aac496 100644
--- a/erpnext/controllers/accounts_controller.py
+++ b/erpnext/controllers/accounts_controller.py
@@ -837,7 +837,7 @@
 							dr_or_cr: flt(item.discount_amount),
 							dr_or_cr + "_in_account_currency": flt(item.discount_amount),
 							"cost_center": item.cost_center,
-							"project": self.project
+							"project": item.project
 						}, account_currency, item=self)
 					)