https://bugs.kde.org/show_bug.cgi?id=517246

--- Comment #10 from [email protected] ---
Created attachment 190483
  --> https://bugs.kde.org/attachment.cgi?id=190483&action=edit
Solved my problem using the Python script

After several hours on chatgpt, I finally solved my problem using the Python
script (attached), although I find it a shame that it wasn't simpler, as the
5.1.3 to 5.2.x transition isn't handled by kmymoney.

It performs both repairs correctly:
It looks for a real account under AStd::Equity, ideally Opening Balances, and
replaces only the following in the <SPLIT ...> tags:
`account="AStd::Equity"` with the actual account, for example, A000002.

Then it converts all the old IDs, such as:

8-account
9-account
326-category
1-bank

to modern A000xxx IDs, without any conflicts with existing ones.
It automatically detects the largest existing A000xxx ID, avoids any conflicts,
and validates consistency before and after conversion.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to