cost center kmymoney 5.2.1

I have Kmymoney 5.2.1 and I have a problem when I want to enter a transaction in Kmymoney using the transaction form. First, I enter the date, then the amount, then the payee, then the category and subcategory. Then I come across the cost center. I cannot ignore this. I also cannot enter the transaction by clicking enter. I have not seen this field before and I have tried to disable it, but I cannot find anything anywhere. Is this a bug or does anyone know how I can disable itor how can I solve this?

Minor terminology issue - the transaction form (now display only at the bottom of the ledger) is no longer used for data entry/edit. Entry/edit is now done inline in the ledger.

The Cost Center field has been present in KMyMoney for some time, but is not actually used anywhere, and it is not supposed to interfere with any actions. Please start by helping us help you and tell us what OS/Distribution you are using, and where you got KMM (distro package, appimage, ….?) I don’t see the cost center field at all - and I believe it is a build time setting, so the easiest solution might be necessary to get your distro to build KMM with it disabled, although you are right that it really should not prevent saving the transaction.

I use Manjaro and I have it from official repository. It’ s Kmymoney 5.2.0.. I use the ledger where I see the cost center.

The cost center feature is under development and not ready for use yet. Therefore, it is off by default and you should not see any reference to it. Apparently, your distro compiled the source by actively turning on the feature. You should probably ask the Manjaro team to build KMyMoney with ENABLE_COSTCENTER=OFF instead of ON.

Nevertheless, I build the current 5.2 branch (5.2.1 plus changes) with cost center activated and I don’t have any problem to enter a transaction. You cannot enter values in the cost center combo which is by design. But I was able to create transactions and enter them in the ledger without any problems.

@jan1974 Can you post a screenshot of the transaction editor with data filled in and the enter button being disabled here?

I’m sorry that I didn’t respond. Because of the error in Kmymoney I tried the older version of Kmymoney in Flatpak. From today Kmymoney was updated in verion 5.21 and I got the same error. See here a screenshot. I use Flatpak in Debian testing. It’ s a Dutch version of Kmymoney.

We need to get the Flatpack version built without the cost center, that is not something Manjaro can do. However, it IS strange that the cost center field is showing the red border. I will have to make a local build with it enabled to see how it looks here.

The current flatpak version does not have the cost center enabled.

If you hover the mouse over the cost center widget, what does the tooltip say? AFAIR, the cost center is a required field only when a specific option is set in the category. Can you provide a screenshot of the category settings of your furniture category shown above?

Hello. I thank you for your reply! What do you mean with wat the tooltip says?

I meant what does the tooltip say when you hover over the area marked in yellow:

It’s also strange that you see the widget but don’t have the controls in the expense category. Which version (see Help/About) is that?

It says “A link to a cost center is required for a transaction in the selected category.” It’ s version 5.2.1.. I have this problem with the cost center only with certain categories. For some categories, a cost center does appear, but I can just click through.

You must have turned on that checkbox in the category editor when it was still available in a build that turned cost centers on. Now this is gone and you are locked.

Important: keep backups !

Workaround: create a sibling category with the same name while adding a suffix like _new to it to see the difference. Then open the original category in the ledger, select all transactions (Ctrl+A) and move them to the new one (right mouse click, move transaction to, select it). Then remove the old one and assign the the new one the old name (get rid of the suffix).

Thank you for your suggestion! I will try.

It’s working! thank you for your help.