fix: Filter for additional_discount_account

Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
index 435fc1e..d6bb69b 100644
--- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
+++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
@@ -504,7 +504,7 @@
 				filters: {
 					company: frm.doc.company,
 					is_group: 0,
-					root_type: "Profit and Loss",
+					report_type: "Profit and Loss",
 				}
 			};
 		});