Unexpected auto-fill and duplication of party fields in Journal Entry accounts child table

Hello Frappe community,

I’m facing an issue in ERPNext version 15 within the Journal Entry form, specifically in the child table accounts (Journal Entry Account).

Problem:
When I add a new row to the accounts table and fill in the party-related fields (party_type, party), the next new row automatically inherits the previous row’s party_type and party values without me selecting them again. This causes repeated data entries and can lead to errors or confusion.

I want to prevent this auto-fill behavior so that each new row starts with empty or default values for party fields, and only the fields I explicitly set should be filled.

I tried to write a client-side script to clear the party fields when a new row is added, but the event to detect new row addition (accounts_add) does not seem to fire reliably in ERPNext v15. Other workarounds also failed.