mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
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
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# This is a comment line
|
||||
# Good company has no ID and will be allocated one automajically
|
||||
,Good Company,Accounts Dept.,1 Rich drive,,,,,,,,,,,,,,,
|
||||
# Average company has an ID and will be used literally. An already existing
|
||||
#company with the same ID will be UPDATED. This may not be what you want!
|
||||
000099,Average Company,Accounts Dept,50 Poor Avenue,,,,,,,,,,,,,,,
|
||||
|
||||
#Just another example after a blank line
|
||||
,"Bad Company",Accounts,99 Destutute street,,,,,,,,,,,,,,,
|
||||
|
Reference in New Issue
Block a user