The windows build has been failing for several days due to this.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22146 57a11ea4-9604-0410-9ed3-97b8803252fd
unchecking the taxable flag for that item didn't remove the tax related columns
from the invoice where there are no other taxable items.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22141 57a11ea4-9604-0410-9ed3-97b8803252fd
Allows asserting on the number of times error messages are encountered.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22135 57a11ea4-9604-0410-9ed3-97b8803252fd
I'd originally put the functions supporting log detection, qof event handling, and mock-counting in test-stuff along with the functions that support the older "make check" integration tests. There are now more unit test support functions than there are of the older functions, so it's time for them to move out on their own.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22132 57a11ea4-9604-0410-9ed3-97b8803252fd
The code will silently revert the entered date to the threshold and just
not allow any older date to be entered. I wonder whether we can display
some useful error message additionally, but unfortunately I didn't find
the place in the code where one single error message would have resulted,
only places where multiply (annoying) error messages would have resulted.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22124 57a11ea4-9604-0410-9ed3-97b8803252fd
Fix typo. Fix column misalignment when no taxes are present in the invoice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22119 57a11ea4-9604-0410-9ed3-97b8803252fd
(Initially I thought there were a relation to the "freeze" state of a
transaction, but this turned out to be not the case.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22118 57a11ea4-9604-0410-9ed3-97b8803252fd
Works on GObjects. Asserts if the object isn't a GObject (which may be the case if it has already been finalized) or if the object's finalize method isn't called (indicating a leak).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22114 57a11ea4-9604-0410-9ed3-97b8803252fd
Now the assert reports the location in the test program where it fails instead of inside test-stuff.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22113 57a11ea4-9604-0410-9ed3-97b8803252fd
dialog-customer-import.c:399:36: error: 'shipaddr' may be used uninitialized in this function [-Werror=uninitialized]
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22110 57a11ea4-9604-0410-9ed3-97b8803252fd
The number of days for this read-only threshold can be chosen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22107 57a11ea4-9604-0410-9ed3-97b8803252fd
This is triggered when glib is configured with G_SLICE=always-malloc
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22104 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Dmitry Smirnov:
Original taxinvoice template lacks flexibility necessary to make
legaly valid Australian Tax Invoices.
This patch introduces customisation options
useful to comply with Australian requirements, but not limited to.
* Functional changes
+ Reference number moved to the right side from under the invoice
owner address (improves visibility and makes invoice layout
more compact)
+ added option to show Job Name
+ added option to show Job Number
+ added options to enable/disable columns with dynamic adjustments
to the table layout.
+ added options to enable/disable display of some invoice elements
+ some spaces in Headings1 defaults replaced with non-breaking space
+ added "Thank you for your patronage" text as default value for
footnote to match other invoices' defaults
* Hardcoded messages in English are replaced with options and
default values to match original report.
This makes possible report localization, like changing
"Invoice" to "Tax Invoice" where required by law etc.
* New dialog element in [Report Options]:[General]
+ [Report Currency]
(Because dollar sign '$' is used by many countries for their national
currency, invoicing between Australia and New Zealand often
causing confusion unless invoice currency is stated in the
invoice.)
* New dialog elements in [Report Options]:[Headings2]
+ Invoice number text (string)
+ To text (string)
+ Ref text (string)
+ Job Name text (string)
+ Job Number text (string)
* New dialog elements page [Report Options]:[Elements]
+ column: Date (boolean)
+ column: Tax Rate (boolean)
+ column: Units (boolean)
+ row: Contact (boolean)
+ row: Address (boolean)
+ row: Invoice Number (boolean)
+ row: Company Name (boolean)
+ Invoice number next to title (boolean)
+ Show Job name (boolean)
+ Show Job number (boolean)
* Fixed bug when customer name is listed twice above invoice owner address.
(this change is hard to separate into standalone patch because fix
involving changes affected by new customisation options)
* Added modification date and copyright comments
* spancols* variables renamed to have more readable names
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22103 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Dmitry Smirnov:
Due to invoice limitations, Gnucash is not yet ready for small business use in
Australia. Lack of customisation options in taxinvoice do not allow to change
its presentation for compliance with legal requirements.
Those patches make taxinvoice practically useful for invoicing.
First patch introducing few changes to allow easy adjustments to report
presentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22102 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Sebastien Alborini:
On win32, gdk never sends GDK_KP_Decimal, so this key cannot be detected.
Work around this by watching the underlying virtual keycode VK_DECIMAL.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22101 57a11ea4-9604-0410-9ed3-97b8803252fd
Forwarded from debian http://bugs.debian.org/443774
Every time gnucash is started it prints the following message to the console:
"main: binreloc relocation support was disabled at configure time."
This unnecessarily worries people who usually take it as warning rather than
normal informational message.
It has been reported as especially annoying if gnucash is running
as cron job because it requires special workaround against sending
this message over email on each invocation.
The attached patch suppresses printing the worthless message.
Given the current status of binreloc we're unlikely to use it so there is no
need to remind that it was disabled (which is default).
Thanks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22100 57a11ea4-9604-0410-9ed3-97b8803252fd
A pure renaming is not the correct solution, I've been told.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22090 57a11ea4-9604-0410-9ed3-97b8803252fd