This commit deals with invoice posting and unposting only.
Before invoices and payments shared the same lot (meaning a payment was
added to an existing invoice lot or vice versa).
Now payments and lots have their own separate lots and payments are
linked to invoices via linking transactions. This opens the way to "pay"
invoices with credit notes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21996 57a11ea4-9604-0410-9ed3-97b8803252fd
Note that contrary to the other invoice reports the invoice title is not
automatically set to "Credit Note", because on the tax invoice report
that title is a user settable option.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21991 57a11ea4-9604-0410-9ed3-97b8803252fd
Make it clear when the values are rounded or not and that the values are
as on the document (opposed to how they impact the balance).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21985 57a11ea4-9604-0410-9ed3-97b8803252fd
- improve comments, fix spelling
- fix some static code analysis warnings
- expand and remove a macro that wasn't adding much other than reduced
code readability
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21983 57a11ea4-9604-0410-9ed3-97b8803252fd
Credit Notes.
Other changes in this commit:
* The feature code moved to core-utils, because the engine can't use
app-utils.
* I remove the gettext wrapper around the feature description. As
mentioned on the mailing list, by definition unknown features can't have
translated descriptions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21981 57a11ea4-9604-0410-9ed3-97b8803252fd
This allows for
- other engine consumers to use the features test as well (think
CuteCash, python bindings,...)
- a central point for developers to check for feature definitions
- a central point to manage all feature related code
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21978 57a11ea4-9604-0410-9ed3-97b8803252fd
Forward-port of r21886, done in the 2.4 branch to quickly resolve bug
#667900 and to give windows users a nightly build to test with.
Extends that change by also converting the GDK_SELECTION_PRIMARY
operations to use GtkClipboard instead of GtkSelection.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21918 57a11ea4-9604-0410-9ed3-97b8803252fd
td isn't declared unless HAVE_KTOBLZCHECK_H is true, so we can't use it
outside of the #if block.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21917 57a11ea4-9604-0410-9ed3-97b8803252fd
With this patch, files are correctly installed together.
Patch by Vincent Untz.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21905 57a11ea4-9604-0410-9ed3-97b8803252fd
As usual, re-indentation was done using astyle-1.24 using the following options:
astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21904 57a11ea4-9604-0410-9ed3-97b8803252fd
* Use expander to show/hide templates
* Disable execute button as long as field values are incorrect
* Use icons and tooltips in entries to indicate that an incorrect value was inserted
Patch by Johannes Schmid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21903 57a11ea4-9604-0410-9ed3-97b8803252fd
A buffer of fixed size PATH_MAX is created, but this constant is non-existent
on GNU/Hurd, so the package FTBFS on that architecture.
The fix consists in using a dynamically (re-)allocated buffer, as recommended
on: http://www.gnu.org/software/hurd/hurd/porting/guidelines.html
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21900 57a11ea4-9604-0410-9ed3-97b8803252fd
This avoids problems when libraries or reports have been moved around in newer versions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21894 57a11ea4-9604-0410-9ed3-97b8803252fd
Instead, a pointer to the GnuCash website is added for those who are
actually looking for a stable release.
This follows an in my opinion good suggestion from Colin Law on the
mailing list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21877 57a11ea4-9604-0410-9ed3-97b8803252fd
Add two new files that were in the original patch also.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21876 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Johannes Schmid (with indentation fixed by our usual astyle call):
The patch actually fixes two issues:
* Only allow digits in account/bank code field
* Filter spaces when pasting content.
This has annoyed me for a while because quite often I paste account
informations from the browser or some email into gnucash and people tend to
group the numbers like this:
BLZ: 763 510 40
The result of the paste is that the number looks like 763 510<end> because the
number of characters in the entry is limited. With the patch the spaces will be
removed and you will see
763 510 40 -> 76351040
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21874 57a11ea4-9604-0410-9ed3-97b8803252fd