[GNC] read-only accounts

D. sunfish62 at yahoo.com
Fri Dec 3 18:52:57 EST 2021


Adrien, 

Placeholder account registers are displayed as greyed out. While it's not necessarily obvious upon first viewing, it becomes clearer when you try to add a transaction (and it prevents you).

I do agree with the OP that the way gnucash handles transactions in placeholder accounts is very confusing. I've raised this point in the past (https://lists.gnucash.org/pipermail/gnucash-devel/2017-February/040345.html).

Clearly, it's a complicated issue. 

David T.


-------- Original Message --------
From: Adrien Monteleone <adrien.monteleone at lusfiber.net>
Sent: Fri Dec 03 13:22:58 EST 2021
To: gnucash-user at lists.gnucash.org
Subject: Re: [GNC] read-only accounts

Maybe the warning could be more helpful. (via a more accurate description)

If the issue involves affecting a placeholder account that shouldn't be 
edited, and *not* just the editing of a reconciled transaction, the 
warning should inform the user this is the case. (or maybe the register 
should show some special designation for placeholder accounts, so the 
user would catch this at a glance)

While the rules around the reconciled warning have been relaxed, there 
are times where editing them is acceptable, but without remembering 
which accounts were marked placeholders, this incomplete warning can 
result in 'unexpected' behavior.

Though I'll concede this particular case still at least prevents 
'inadvertent' editing since you have to dismiss the warning.

Regards,
Adrien

On 12/3/21 8:37 AM, Derek Atkins wrote:
> HI,
> 
> On Fri, December 3, 2021 9:17 am, Mattia Rizzolo wrote:
>> On Thu, Dec 02, 2021 at 08:33:51PM -0500, Derek Atkins wrote:
>>> Mark the account as a PlaceHolder account and it'll be read-only.
>>
>> Oh, that's a nice trick I didn't think of!  Thanks!
>>
>> Howver, it seems to me that it doesn't fully lock down the account.  If
>> I tried to change a split belonging to that account from "the other
>> side", it first nags me about changing a reconciled split, then it
>> errors out saying that "the account doesn't allow transactions" (because
>> it's read-only), but it then still proceeds to record the changes,
>> regardless of the warning.
>> Is that the expected behaviour?
> 
> Yes.
> 
> GnuCash told you "don't do that" but you did it anyways.
> 
> -derek
> 

_______________________________________________
gnucash-user mailing list
gnucash-user at 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.


More information about the gnucash-user mailing list