Re: [GNC] Unexpected currency change in a report

2019-12-29 Thread boldstripe
Bug report filed here
https://bugs.gnucash.org/show_bug.cgi?id=797537




--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Unexpected currency change in a report

2019-12-28 Thread boldstripe
Thanks. I will file a bug report.

The report in question is 'Profit & Loss'. I could see in the text of the
Saved Reports code that my various instances of this appeared to refer to
the same template they were built on:

based on template "8758ba23984c40dea5527f5f0ca2779e"



--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Unexpected currency change in a report

2019-12-28 Thread Christopher Lam
Hello
Thank you for report. This is a known behaviour in some reports. Would you
mind filing bugs describing the offending report (and options)?

On Sat, 28 Dec 2019 at 17:04, boldstripe  wrote:

> Unexpected currency change in a report between two copies of Gnucash on
> different machines
>
>
> Conclusion
>
>
> If you keep books in multiple currencies, make reports in multiple
> currencies, and also sync your preferences folder (and hence your saved
> reports) between machines, then you should probably make sure you have the
> same 'default currency' preferences settings in all copies of Gnucash, in
> particular the
>
>   General Preference>Reports>Default Report Currency setting (Locale or
> Choose)
>
> This setting affects the displayed currency even in reports you have
> already
> made and set to a currency in the report's individual Options while working
> in one copy of Gnucash. It is a local preference specific to one copy of
> Gnucash/one machine and is not stored in the same folder as the other
> preferences (and the saved reports).
>
> This is not mentioned in the online help, presumably because syncing of the
> preferences folder is outside the scope of normal usage, see Help> Report
> Preferences
> <
> https://www.gnucash.org/docs/v3/C/gnucash-help/set-prefs.html#prefs-reports>
>
>
> Problem experienced
>
>
> I am now keeping two sets of books, one each for local transactions in each
> of two countries/currencies.
>
> I am /also/ syncing my Gnucash Preferences folder between two machines
> using
> a sync service like Dropbox (mine is pCloud). Although this syncs many
> preferences and the Saved Reports, there are still local user preferences
> that are specific to each machine.
>
> I created some reports in one or other currency and saved them. After
> syncing, the reports showed up in Gnucash on both machines. But opening
> them
> had different effects.
>
> I had set the Report Currency I preferred for each report in Report Options
> (Commodities>Report's currency) and I expected that would remain constant
> between different copies of GnuCash.
>
> However, I discovered that a Report set in Options to show Currency 1 could
> open in Currency 2 on the second machine. Additionally, if I then corrected
> the displayed currency (using Report Options) on Machine 2 then, after
> preferences syncing, the same report would now show the 'wrong/other'
> currency when opened back on the first machine.
>
> I was surprised to discover that the machine-specific Gnucash Preferences
> setting
>
> Reports>Report Default Currency
>
> was affecting the currency displayed in a Saved Report.
>
> The changing currencies problems only happens when reports are synced and
> then opened in copies of Gnucash running with different values of Report
> Default Currency. In other words, this preference setting can affect
> reports, even after they have been created.
>
>
>
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] Unexpected currency change in a report

2019-12-28 Thread boldstripe
Unexpected currency change in a report between two copies of Gnucash on
different machines


Conclusion


If you keep books in multiple currencies, make reports in multiple
currencies, and also sync your preferences folder (and hence your saved
reports) between machines, then you should probably make sure you have the
same 'default currency' preferences settings in all copies of Gnucash, in
particular the

  General Preference>Reports>Default Report Currency setting (Locale or
Choose)

This setting affects the displayed currency even in reports you have already
made and set to a currency in the report's individual Options while working
in one copy of Gnucash. It is a local preference specific to one copy of
Gnucash/one machine and is not stored in the same folder as the other
preferences (and the saved reports).

This is not mentioned in the online help, presumably because syncing of the
preferences folder is outside the scope of normal usage, see Help> Report
Preferences
  

Problem experienced


I am now keeping two sets of books, one each for local transactions in each
of two countries/currencies.

I am /also/ syncing my Gnucash Preferences folder between two machines using
a sync service like Dropbox (mine is pCloud). Although this syncs many
preferences and the Saved Reports, there are still local user preferences
that are specific to each machine.

I created some reports in one or other currency and saved them. After
syncing, the reports showed up in Gnucash on both machines. But opening them
had different effects.

I had set the Report Currency I preferred for each report in Report Options
(Commodities>Report's currency) and I expected that would remain constant
between different copies of GnuCash.

However, I discovered that a Report set in Options to show Currency 1 could
open in Currency 2 on the second machine. Additionally, if I then corrected
the displayed currency (using Report Options) on Machine 2 then, after
preferences syncing, the same report would now show the 'wrong/other'
currency when opened back on the first machine.

I was surprised to discover that the machine-specific Gnucash Preferences
setting 

Reports>Report Default Currency 

was affecting the currency displayed in a Saved Report. 

The changing currencies problems only happens when reports are synced and
then opened in copies of Gnucash running with different values of Report
Default Currency. In other words, this preference setting can affect
reports, even after they have been created.



--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.