<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>425935</bug_id>
          
          <creation_ts>2020-08-29 09:50:14 +0000</creation_ts>
          <short_desc>No way of changing smallest cash/money unit size</short_desc>
          <delta_ts>2020-09-13 12:29:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmymoney</product>
          <component>general</component>
          <version>5.0.8</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Ian Neal">iannbugzilla</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/office/kmymoney/commit/f68278ea401af18af92cb708c5899dfefa07ae52</cf_commitlink>
          <cf_versionfixedin>5.1.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1953766</commentid>
    <comment_count>0</comment_count>
    <who name="Ian Neal">iannbugzilla</who>
    <bug_when>2020-08-29 09:50:14 +0000</bug_when>
    <thetext>SUMMARY
When creating a new currency there is no way to change the smallest cash unit or smallest money unit sizes. Not sure how those sizes relate to the precision field that can be changed.

STEPS TO REPRODUCE
1. Create a new currency in the currencies dialog
2. Select Edit of new currency
3. Smallest cash/money unit size shows at 0.01

OBSERVED RESULT
1. Fields are read only and there seems to be no way to edit them
2. Precision field is set to 4 but seems to bear no relation ship to smallest cash/money unit size.

EXPECTED RESULT
1. Smallest cash/money unit size can be updated.
2. Perhaps the smallest cash unit should be linked to the precision field?

I am presuming the smallest money unit is the smallest coin/note available in circulation, whereas the smallest cash unit is to what level currency calculations are done at.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 31
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957140</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2020-09-13 12:08:45 +0000</bug_when>
    <thetext>Git commit 2afa09b0691f4eb79a2f22c5a2ac4adf8b50c7ec by Thomas Baumgart.
Committed on 13/09/2020 at 12:07.
Pushed by tbaumgart into branch &apos;master&apos;.

Provide detailed creation of currencies

The current implementation does not allow to specify all attributes for
currencies but rather uses default values which cannot be changed
afterwards.

This change adds functionality to set all relevant attributes during
creation and also provides a feature to change those which can be
changed after creation of the currency.

M  +60   -31   kmymoney/dialogs/kcurrencyeditdlg.cpp
M  +1    -1    kmymoney/dialogs/kcurrencyeditdlg.h
M  +23   -15   kmymoney/dialogs/kcurrencyeditdlg.ui
M  +101  -16   kmymoney/dialogs/kcurrencyeditordlg.cpp
M  +9    -5    kmymoney/dialogs/kcurrencyeditordlg.h
M  +104  -29   kmymoney/dialogs/kcurrencyeditordlg.ui

https://invent.kde.org/office/kmymoney/commit/2afa09b0691f4eb79a2f22c5a2ac4adf8b50c7ec</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957146</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2020-09-13 12:29:34 +0000</bug_when>
    <thetext>Git commit f68278ea401af18af92cb708c5899dfefa07ae52 by Thomas Baumgart.
Committed on 13/09/2020 at 12:28.
Pushed by tbaumgart into branch &apos;5.1&apos;.

Provide detailed creation of currencies

The current implementation does not allow to specify all attributes for
currencies but rather uses default values which cannot be changed
afterwards.

This change adds functionality to set all relevant attributes during
creation and also provides a feature to change those which can be
changed after creation of the currency.
FIXED-IN: 5.1.1
GUI:

(cherry picked from commit 2afa09b0691f4eb79a2f22c5a2ac4adf8b50c7ec)

M  +59   -30   kmymoney/dialogs/kcurrencyeditdlg.cpp
M  +1    -1    kmymoney/dialogs/kcurrencyeditdlg.h
M  +23   -15   kmymoney/dialogs/kcurrencyeditdlg.ui
M  +101  -16   kmymoney/dialogs/kcurrencyeditordlg.cpp
M  +9    -5    kmymoney/dialogs/kcurrencyeditordlg.h
M  +104  -29   kmymoney/dialogs/kcurrencyeditordlg.ui

https://invent.kde.org/office/kmymoney/commit/f68278ea401af18af92cb708c5899dfefa07ae52</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>