https://bugs.kde.org/show_bug.cgi?id=510448

            Bug ID: 510448
           Summary: When editing a share transaction I cannot change the
                    total amount
    Classification: Applications
           Product: kmymoney
      Version First 5.2.1
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I wanted to fix a typo in the numbers of shares of a Sell shares transaction.
Although the price entry for this share is set to "Total for all shares" in the
editor I cannot change the total (which is wrong after changing the number of
shares because KMyMoney recalculates it based on the wrong price/share).

STEPS TO REPRODUCE
1. Create a share with price entry "Total for all shares"
2. Sell some of those shares (very likely you can also buy some shares)
3. Now try to edit the number of shares you sold/bought without changing the
Total price

OBSERVED RESULT
1. The Total changes when I edit the number of shares.
2. I cannot edit the Total (but I can edit the price/share).

EXPECTED RESULT
1. For a share configured with price entry "Total for all shares" when changing
the number of shares of an existing transaction then the price/share should be
recalculated based on the new number of shares and the (old) Total.
2. For a share configured with price entry "Total for all shares" when editing
a buy/sell/etc. for such a share then it should be possible to change the Total
and the Price/share should be read-only.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to