portfolio-performance / portfolio

Track and evaluate the performance of your investment portfolio across stocks, cryptocurrencies, and other assets.
http://www.portfolio-performance.info
Eclipse Public License 1.0
2.75k stars 577 forks source link

Import of GPX priced divs causes ‘input required for total’ msg #4075

Open Rich28 opened 2 weeks ago

Rich28 commented 2 weeks ago

Describe the bug

If PP is configured with only one cash account (in my case was priced in GBP) and a dividend payment priced in another currency (in my case GBX) is either manually entered or imported via the import wizard, and a user then views (clicking on edit), beneath the dividend title an error message is displayed stating: "Input required for 'Total'".

It seems that the issue doesn't occur if PP is setup with two or more cash accounts, priced in different currencies.

Steps to reproduce the behavior: As summarised above and expanded upon here:- https://forum.portfolio-performance.info/t/import-of-gpx-priced-divs-causes-input-required-for-total-msg/28676/6

Expected behavior The error msg shouldn't be displayed in cases where PP is configured with only one cash account

Screenshots If applicable, add screenshots to help explain your problem. Untitled

Desktop (please complete the following information):