Commit Graph
70 Commits
Author SHA1 Message Date
Mike Evans 4dc71d7455 Prevent line break in date column on hyphen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22833 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-24 14:03:32 +00:00
Mike Evans e4a46ebf64 Normalise line endings of min.js files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22808 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-23 10:34:13 +00:00
Mike Evans 679d59e445 Bug 683881 Partial implementation.
TODO:
  Saving search preferences doesn't save reverse sort.
  The blank_split remains at the bottom of the register when reverse
  sorted.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22766 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-08 11:02:55 +00:00
Mike Evans fb6993ef1c Re-indentation of source code.
Done using the following options:

    astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=noneR

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22433 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-10-02 21:44:56 +00:00
Mike Evans 9cedbe7b43 Fix bug in customer/vendor importer where new customers/vendors
were always created even if one with a matching ID already exists.
The intended behaviour is to update customer or vendor data if
one already exists with a matching ID.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22432 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-10-02 21:42:22 +00:00
Mike Evans 5d44c421ff Fix typo in regex.
modified:   customer_import/dialog-customer-import-gui.c

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22431 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-10-02 20:12:49 +00:00
Mike Evans b0b8d064aa Bug #682869 - In CSV transaction importer, re-implement double mouse click for file selection.
From a patch by Bob.
Patch also resizes small OK button.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22353 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-09-01 14:54:52 +00:00
Mike Evans ae735f39e7 Bug #680576 - Transaction report: date takes up two lines when using Canadian locale format.
Change date cells type from text-cell to date-cell to apply white-space: nowrap
style.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22281 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-08-04 12:01:37 +00:00
Mike Evans bf7e106aa2 Revert GUID change as per Derek's suggestion.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22241 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-06-26 13:03:18 +00:00
Mike Evans 9c4f76d5ff Bug #666576 - Balance Column Set Too Narrow
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22234 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-06-23 12:25:22 +00:00
Mike Evans 65c5311a1c Bug 341048 - RFE: Printable Invoice should allow display of Job Name
Add job name and number to printable invoice.  This only applies to
invoice.scm.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22233 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-06-23 11:57:34 +00:00
Mike Evans 331bcf384b Add formatting to table.
Add cell padding to columns in table.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22222 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-06-16 11:52:51 +00:00
Mike Evans 0eb2c2b30e Remove hack for fixed bug #573645 which was fixed in r18056.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22142 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-09 15:29:15 +00:00
Mike Evans be43cb7cda Fix the annoying case where an invoice item has mistakenly(?) had a tax table applied,
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
2012-04-09 15:23:40 +00:00
Mike Evans 3b3ad7c05a Display job name and job number when invoice is "in progress...".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22140 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-09 11:41:02 +00:00
Mike Evans 3195649664 Fix reversed "Job Name", "Job Number" in options dialog, Headings 2 tab.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22139 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-09 11:33:44 +00:00
Mike Evans 731f17da50 Expose InvoiceNextID to python bindings.
Accessed as book.InvoiceNextID(customer)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22138 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-04 08:35:27 +00:00
Mike Evans 54faec5520 Bug 670008 - taxinvoice lacks flexibility necessary to produce legally valid Australian Tax Invoice
Patches supplied by Dmitry Smirnov, many thanks.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22126 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-31 12:07:07 +00:00
Mike Evans 2d5eaa61c2 Bug 670008 - taxinvoice lacks flexibility necessary to produce legally valid Australian Tax Invoice
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
2012-03-25 14:51:36 +00:00
Mike Evans dc6e29618c Some systems fail to compile with:
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
2012-03-22 09:11:47 +00:00
Mike Evans 8ca749ac4f Prevent wrapping in date column.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22076 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-12 13:23:50 +00:00
Mike Evans 105ab023f4 New plugin to import customers and vendors from a csv type file.
From a patch by Sebastian Held.
Again the CSV file is of fixed number of fields, similar to invoice/bill importer.
Please test this.
Field list:
id,  company,  name,  addr1,  addr2,  addr3,  addr4,  phone,  fax,  email,  notes,  shipname,  shipaddr1,  shipaddr2,  shipaddr3,  shipaddr4,  shipphone  shipfax,  shipemail
Vendors don't have shipping information so even though the fields have to exist, leave them empty.
The id field is optional, if empty a new id will be chosen. If an id is used this will UPDATE
a vendor/customer with the same id.  This may not be what the user wants.  Maybe this should
be optional/selectable behaviour.
To enable the plugin, add the line:
(gnc:module-load "gnucash/plugins/customer_import" 0)
to ~/.gnucash/config.user

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22065 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-28 18:38:26 +00:00
Mike Evans 04b4dce118 Fix gtk_entry_set_text error warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22060 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-22 12:34:55 +00:00
Mike Evans ec79f4286c Restore missing customer|vendor in printable invoice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21930 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-03 13:16:23 +00:00
Mike Evans 7e8a36d984 Bug 667581 - Migrate Invoice / Bill plugin to Builder
Add the renamed files.  Oops, missed one, here it is.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21872 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-21 16:28:32 +00:00
Mike Evans 1eced1035c Bug 667581 - Migrate Invoice / Bill plugin to Builder
Add the renamed files.
Patch supplied by Bob Fewell. Many thanks.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21871 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-21 16:22:45 +00:00
Mike Evans f2325a979c Bug 667581 - Migrate Invoice / Bill plugin to Builder
Remove empty files renamed and updated by patch.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21870 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-21 12:20:55 +00:00
Mike Evans df94d1c936 Bug 667581 - Migrate Invoice / Bill plugin to Builder
Patch supplied by Bob Fewell.  Many thanks.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21869 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-21 12:20:49 +00:00
Mike Evans 73d00a82f8 Bug #665996 - Minor changes to existing Assistants.
Patch supplied by Bob.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21733 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-16 14:57:20 +00:00
Mike Evans bbf1611b02 Bug #658247 - First time setup should prompt to save file.
Fix supplied by Bob referenced in bug #665996.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21732 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-16 14:36:00 +00:00
Mike Evans b4a094b506 Fix number alignment in table.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21703 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-10 13:25:18 +00:00
Mike Evans 765da84dc3 Add missing parameter credit-note? for "Display All Taxes" checkbutton.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21695 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-09 14:53:37 +00:00
Mike Evans a110a75303 Fix table number alignment.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21694 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-09 12:31:39 +00:00
Mike Evans 12854c34f8 Fix right align for number cells in table.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21663 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-04 11:00:40 +00:00
Mike Evans 10fcc37d97 Bug #665098 - document shortcut for blank transaction.
Added accelerator text to menu.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21652 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-02 11:09:16 +00:00
Mike Evans f932feb035 Undo r21650. Wrong approach. Uses wrong save dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21651 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-01 10:02:51 +00:00
Mike Evans fbb1db7451 Bug #658247 - First time setup should prompt to save file.
Open a save dialog after chart of accounts assistant.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21650 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-30 14:47:14 +00:00
Mike Evans cb8c25a426 Sort list of reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21648 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-30 11:03:35 +00:00
Mike Evans 4801e50176 Added user settable line width and data point markers to net worth
line chart.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21640 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-29 18:55:30 +00:00
Mike Evans 6cc40a4ed8 Add missing Root Account part.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21633 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-28 16:37:38 +00:00
Mike Evans 4a2a29e016 Bug #664764 - Account setup for Swedish small business
Added Swedish chart of accounts for small businesses.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21632 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-28 16:37:31 +00:00
Mike Evans b3aa466378 Commented line width. This value really should be passed from .scm file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21631 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-27 11:03:02 +00:00
Mike Evans ae188cc4c9 Fix setting of line color for line charts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21630 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-27 11:02:58 +00:00
Mike Evans 4de35e0f3e Bug #664862 - New report showing net assets over time
Added new line chart report for assets, net-linechart.scm.
Distantly related to Bug #570011

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21629 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-27 11:02:54 +00:00
Mike Evans 41dbd8bf6f File contents appear to be doubled. Removed extra copy.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21628 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-27 11:02:48 +00:00
Mike Evans c0e6f0c838 Partial revert of r21588.
Causes crash when updating price quote.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21625 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-24 14:04:46 +00:00
Mike Evans 6d56a869fa Bug #663368 - When importing CSV files, the word 'Deposit' appears in Num/Action column
Removed "Deposit".

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21622 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-23 13:11:10 +00:00
Mike Evans ba00175d6b Add English translation of "Action Column|Deposit" as per note to
translators in /src/register/ledger-core/split-register.c:2228.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21521 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-05 14:23:59 +00:00
Mike Evans 2e7198f309 Merge branch 'un_posted_invoice'
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21516 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-03 17:05:06 +00:00
Mike Evans 354e95362a Bug #650482 - Cant resize width of import columns when importing a CSV.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21416 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-10-12 08:02:15 +00:00
Mike Evans 01b4a86888 Bug #660875 - Make columns have minumum width in import dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21400 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-10-08 19:19:16 +00:00
Mike Evans 32c89135ae Open the newly created invoices for editing after import.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20169 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-26 17:13:09 +00:00
Mike Evans 0e8cef246e Fixed some typos.
Please enter the commit message for your changes. Lines starting

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20035 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-07 14:05:07 +00:00
Mike Evans c33270221d A plugin to import CSV data as a new invoice or bill. Based on code written by Sebastian Held.
Also includes a python script to massage a downloaded order form into the correct format for import.  See contrib/rapid2gnucash.py
This works with Rapid Electronics (UK) and can be used as a basis for other vendors.  Users need to add a line in their  ~/.gnucash/config.user
for the module to be loaded:
(gnc:module-load "gnucash/plugins/bi_import" 0)
See bug #624911 for more details.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20034 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-07 14:04:55 +00:00
Mike Evans 2fcc850c98 Adds percentages to piecharts. See bug #343449 for details. Patch is derived from a patch submitted by Alexander Weiss
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19989 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 12:30:13 +00:00
Mike Evans 36f60b88b3 Removed accidentally created directory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19963 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-19 21:26:43 +00:00
Mike Evans 81a4a8108c Support for GncCommodityNamespace, better support for GncCommodity, and example
enhancements.
Patch supplied my Mark Jenkins.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19955 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-17 14:00:52 +00:00
Mike Evans 94c55fef95 Changes to example Script to include added namespace functionality
This patch changes the example script to reflect the capability of reading all
namespaces.
Patch provided by Christoph Holtermann.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19954 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-17 13:39:49 +00:00
Mike Evans 5d1e22bf92 Adds checking of gnc_commodity_namespace in glists
In src/base-typemaps.i check for return type gnc_commodity_namespace is added
so that it is returned instead of gnc_type_monetary.
Thanks to Christoph Holtermann for the patch.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19944 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-15 15:17:59 +00:00
Mike Evans 22089df099 Move price_database_example.py to the correct place and remove incorrect path/file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19943 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-15 12:07:41 +00:00
Mike Evans a44d515bbb Change indent to 4 sp
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19942 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-15 12:07:14 +00:00
Mike Evans 356d51060d Remove variable names that conflict with Python keywords. Relevent when using SWIG autodoc feature for python bindings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19924 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-10 13:09:50 +00:00
Mike Evans 3879292cc6 Add %feature("autodoc", "1"); to gnucash_core.i to pass C documentation through to python interface.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19923 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-10 13:09:46 +00:00
Mike Evans 26b16be5ba New example script for prices dababase. Thanks to Christoph Holtermann for contributing to this.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19922 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-10 12:53:21 +00:00
Mike Evans 56fe25cb63 Insert missing space
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19918 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-09 08:16:51 +00:00
Mike Evans 30bb2d28fa Re-enable -Werror in Makefile.am and remove %feature("autodoc", "1"); from gnucash_core.i
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19917 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-08 14:56:07 +00:00
Mike Evans e1fcfe0269 Add commodity price functions to bindings.
See Bug 636457 for more details.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19916 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-08 11:52:22 +00:00
Mike Evans 0607593792 Add PriceList to typemap for Python bindings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19915 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-08 11:52:18 +00:00
Mike Evans 5c7784abf1 Bug #635439: Patch to autoset owner in the payment dialog
Patch by Matthijs Kooijman <matthijs@stdin.nl>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19861 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-22 15:13:26 +00:00
Mike Evans bc3f36698f Revert "Bug #635439: Patch to autoset owner in the payment dialog"
This reverts commit 232ae4064952cb65e9703d61778cb1531d2e4f56.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19860 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-22 13:45:43 +00:00