[kmymoney] [Bug 362384] Cannot enter transaction with postdate prior to account's opening date error

Thomas Baumgart via KDE Bugzilla bugzilla_noreply at kde.org
Sun May 1 06:45:44 UTC 2016


Thomas Baumgart <ipwizard at users.sourceforge.net> changed:

           What    |Removed                     |Added
         Resolution|---                         |WORKSFORME
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Thomas Baumgart <ipwizard at users.sourceforge.net> ---
Copied from https://bugs.kde.org/show_bug.cgi?id=313793#c41 which has a
different subject so I did not create a duplicate entry:

Git commit 7a4901c668871882bba75068bf1256f2bf00dba0 by Thomas Baumgart.
Committed on 16/05/2015 at 06:20.
Pushed by tbaumgart into branch 'master'.

Eliminate usage of opening date for categories

Set the opening date for newly created categories to 1900-01-01 and fix
existing ones to have that date during the consistency check. Since the
opening date of an income/expense account (aka category) is not used
throughout the application, it should not interfer with the check that
the opening dates of all accounts referenced in a transaction are prior
to the transaction's post date. Setting the opening date of a category
to the above mentioned value makes sure that a category is always
'opened' before the transaction took place.

The UI elements for the opening date have been removed from the
account/category edit dialog as they are not used anymore.

M  +8    -2    kmymoney/dialogs/knewaccountdlg.cpp
M  +1    -0    kmymoney/dialogs/knewaccountdlg.h
M  +16   -16   kmymoney/dialogs/knewaccountdlgdecl.ui
M  +2    -0    kmymoney/kmymoney.cpp
M  +13   -0    kmymoney/mymoney/mymoneyfile.cpp
M  +71   -0    kmymoney/mymoney/mymoneyfiletest.cpp
M  +1    -0    kmymoney/mymoney/mymoneyfiletest.h


You are receiving this mail because:
You are the assignee for the bug.

More information about the KMyMoney-devel mailing list