QIF Import: Add support for German "Oth S" accounts.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18055 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Charles Day 2009-04-23 21:51:02 +00:00
parent 822905a9ab
commit f07425f1b0
3 changed files with 5 additions and 2 deletions

View File

@ -28,6 +28,7 @@ Type of account identifiers
!Type:Invoice ??? (invoice presentment ???)
!Type:Invst Investment account
!Type:Oth A Asset account
!Type:Oth S Asset account (German)
!Type:Oth L Liability account
!Type:Tax ???

View File

@ -137,7 +137,7 @@
(case qstate-type
;; Transaction list for a particular account
((type:bank type:cash type:ccard type:invst type:port
#{type:oth a}# #{type:oth l}#)
#{type:oth a}# #{type:oth l}# #{type:oth s}#)
(if ignore-accounts
(set! current-account-name
last-seen-account-name))
@ -198,7 +198,7 @@
;;;;;;;;;;;;;;;;;;;;;;
((type:bank type:cash type:ccard type:invst type:port
#{type:oth a}# #{type:oth l}#)
#{type:oth a}# #{type:oth l}# #{type:oth s}#)
(case tag
;; D : transaction date
((#\D)

View File

@ -164,6 +164,8 @@
(list GNC-ASSET-TYPE GNC-BANK-TYPE GNC-CASH-TYPE))
((string=? mangled-string "oth l")
(list GNC-LIABILITY-TYPE GNC-CCARD-TYPE))
((string=? mangled-string "oth s") ;; German asset account
(list GNC-ASSET-TYPE GNC-BANK-TYPE GNC-CASH-TYPE))
((string=? mangled-string "mutual")
(list GNC-BANK-TYPE))
(#t