Bug 339657

Summary: Impossibility to assign VAT account to assets accounts
Product: [Applications] kmymoney Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: onet.cristian
Priority: NOR    
Version: 4.6.6   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.1,5.0.0
Attachments: Display vat account assignment dialog in vat tab for all accounts

Description Ralf Habacker 2014-10-04 10:06:11 UTC
Booking assets from a bank account using german template skr3 may require a split transaction as mentioned at http://www.rechnungswesen-portal.de/Fachinfo/Anlagevermoegen/Geringwertige-Wirtschaftsgueter-GWG-Beispiele-und-Buchung.html (see 'Schreibtischlampe)
which should be possible to activate in kmymoney. 

Unfortunally there is currently no way to assign a VAT account to assets accounts

Reproducible: Always

Steps to Reproduce:
1. open kmymoney
2. create new file using the german skr3 account template
3. edit account '0420 Büroeinrichtung'
4.  enter VAT tab anf try to assign a VAT account
 

Actual Results:  
the VAT account assignment dialog (and the related enable switch) is not visible

Expected Results:  
the account assignment dialog should and the related enable switch should be displayed
Comment 1 Ralf Habacker 2014-10-04 10:10:10 UTC
Created attachment 88953 [details]
Display vat account assignment dialog in vat tab for all accounts
Comment 2 Cristian Oneț 2014-10-19 07:42:04 UTC
Thomas, could you take a look at this? The patch looks fine but I don't know why asset/liabilities currently have this restriction.
Comment 3 Ralf Habacker 2017-06-07 17:22:17 UTC
(In reply to Cristian Oneț from comment #2)
> Thomas, could you take a look at this? The patch looks fine but I don't know
> why asset/liabilities currently have this restriction.
> 3. edit account '0420 Büroeinrichtung'

This account is an expense and requires to have vat account assignments. There may be additional account types that need this support too and therefore appended patch does not limit the account type.
Comment 4 Ralf Habacker 2017-06-07 19:07:24 UTC
(In reply to Ralf Habacker from comment #3)
> This account is an expense 
correction: '0420 Büroeinrichtung' is an asset, '4930 Bürobedarf' for example is an expense.