Commit 4b84326f authored by Ralf Habacker's avatar Ralf Habacker
Browse files

tools/xea2kmt: Add support to import slot 'equity-type' with value 'opening-balance'

BUG:429229
FIXED-IN:4.8.5
parent 4872fd88
......@@ -299,6 +299,12 @@ public:
xml.writeEndElement();
}
}
if (account->slotList.contains("equity-type") && account->slotList["equity-type"] == "opening-balance") {
xml.writeStartElement("flag");
xml.writeAttribute("name","OpeningBalanceAccount");
xml.writeAttribute("value","Yes");
xml.writeEndElement();
}
}
index++;
writeAccountsAsXml(xml, account->id, index);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment