2023-08-21 GnuCash IRC logs

00:01:58 *** jwhite has quit IRC
00:23:06 <chris> jralls: I believe gtk_list_store_set has an unwritten rule: the iter must belong to the store. This rule is not applicable to the simplified set().
01:09:56 *** fell has quit IRC
01:11:16 *** fell has joined #gnucash
01:11:16 *** ChanServ sets mode: +o fell
01:33:53 *** gjanssens has quit IRC
01:34:17 *** gandalf has joined #gnucash
01:36:25 *** gjanssens has joined #gnucash
01:36:25 *** ChanServ sets mode: +o gjanssens
01:58:05 *** mosiu has quit IRC
02:41:09 *** jervin has joined #gnucash
03:07:03 *** CDB-Man has joined #gnucash
03:07:03 *** ChanServ sets mode: +v CDB-Man
03:48:00 *** chris has quit IRC
04:02:00 *** sunyibo has joined #gnucash
04:02:00 *** ChanServ sets mode: +v sunyibo
04:16:54 *** bkin has joined #gnucash
04:22:00 *** ChanServ sets mode: +v bkin
04:22:41 <bkin> hello. My gnucash frequently creates an empty account Orphan-EUR, every time I have to delete it. How can I prevent it from appearing?
04:23:00 *** sunyibo has quit IRC
04:37:02 *** bkin has quit IRC
05:00:42 *** bertbob has quit IRC
05:02:49 *** bertbob has joined #gnucash
05:02:49 *** ChanServ sets mode: +v bertbob
06:13:20 <fell> tell bkin We can help you only, if you stay longer online after a question.
06:13:33 <fell> @tell bkin We can help you only, if you stay longer online after a question.
06:13:33 <gncbot> fell: The operation succeeded.
06:17:22 *** gncbot has joined #gnucash
06:48:56 *** sunyibo has joined #gnucash
06:48:56 *** ChanServ sets mode: +v sunyibo
07:14:54 *** sunyibo has quit IRC
07:58:44 *** chris has joined #gnucash
07:58:44 *** ChanServ sets mode: +v chris
08:21:02 *** chris has quit IRC
08:45:29 *** jwhite has joined #gnucash
08:45:29 *** ChanServ sets mode: +v jwhite
09:57:21 *** Cork has quit IRC
09:58:34 *** Cork has joined #gnucash
10:11:04 *** nevivurn has quit IRC
10:15:38 *** gandalf has quit IRC
10:15:55 *** gandalf has joined #gnucash
10:56:27 *** chris has joined #gnucash
10:56:28 *** ChanServ sets mode: +v chris
11:38:40 *** chris has quit IRC
11:50:35 *** jeff_ has joined #gnucash
12:00:43 *** chris has joined #gnucash
12:00:43 *** ChanServ sets mode: +v chris
12:02:48 *** sunyibo has joined #gnucash
12:02:48 *** ChanServ sets mode: +v sunyibo
12:09:09 *** jeff_ has quit IRC
12:09:47 *** sunyibo has quit IRC
12:10:39 *** jeff_ has joined #gnucash
12:23:22 *** jeff_ is now known as el_capitan2
12:24:12 *** ChanServ sets mode: +v el_capitan2
12:25:34 *** el_capitan2 has quit IRC
12:25:45 *** el_capitan2 has joined #gnucash
12:25:45 *** ChanServ sets mode: +v el_capitan2
13:32:36 <el_capitan2> Hi everybody, hopefully I figured out the voice thing! I've been using gnucash for a couple years and am super happy with it! Thanks to all involved! There's a feature in Quickbooks that I really liked where in an Income Statement you could break out the data in a sort of pivot table by month, week, quarter, etc. I see there is a similar functionality in the Gnucash Budget reports but wasn't sure how to get such bucketing in an Income Statement
13:32:36 <el_capitan2> format. Does something like this exist? The "T12" (https://www.multifamily.loans/trailing-twelve-months) is an example of an application of such a "pivot", though I've found also found bucketing by year and quarter to be help, personally.
14:04:07 *** sunyibo has joined #gnucash
14:04:07 *** ChanServ sets mode: +v sunyibo
14:05:27 *** bertbob has quit IRC
14:09:26 *** jervin has quit IRC
14:11:36 *** cproo12 has joined #gnucash
14:11:36 *** ChanServ sets mode: +v cproo12
14:13:10 *** jervin has joined #gnucash
14:18:28 *** bertbob has joined #gnucash
14:18:28 *** ChanServ sets mode: +v bertbob
14:34:13 *** el_capit1n2 has joined #gnucash
14:35:31 <el_capitan2> I guess as a follow-up..... would anybody else find something like this useful if I took a stab at writing it?
14:41:39 *** el_capitan2 has quit IRC
14:41:41 *** ChanServ sets mode: +v el_capit1n2
14:43:27 *** ArtGravity has joined #gnucash
14:43:28 *** ChanServ sets mode: +v ArtGravity
14:44:15 *** el_capit1n2 is now known as el_capitan2
15:05:36 <AdrienM> el_capitan2, the better place to ask if folks would find something useful is most likely the gnucash-user mailing list. While the current report can't transform itself after running it, the user can simply set a new date range as desired via Options.
15:08:39 <AdrienM> also, take a look at Income Statement (Multi-Column) Options > General > Period Duration. (be sure to turn off dual columns first, but that might not be necessary when setting duration to other than 'none')
15:09:04 <AdrienM> *and in fact, it isn't.
15:11:28 <el_capitan2> Multi-column / Period Duration is *exactly* what I was looking for!
15:11:30 <el_capitan2> thanks!
15:13:34 *** cproo12 has quit IRC
15:23:00 <AdrienM> Cheers!
15:23:59 *** cproo12 has joined #gnucash
15:23:59 *** ChanServ sets mode: +v cproo12
15:29:16 *** cproo12 has quit IRC
15:43:54 *** gandalf1 has joined #gnucash
15:44:21 *** gandalf has quit IRC
15:44:21 *** gandalf1 is now known as gandalf
15:50:50 *** aschokker has joined #gnucash
15:52:20 *** aschokker has quit IRC
15:58:14 *** aschokker has joined #gnucash
16:06:27 *** sunyibo has quit IRC
16:32:44 *** aschokker has joined #gnucash
16:35:56 *** gandalf has quit IRC
16:38:16 *** mydogsnameisrudy has joined #gnucash
16:39:48 *** aschokker has quit IRC
16:39:56 *** aschokker has joined #gnucash
16:40:08 *** aschokker has quit IRC
16:42:11 *** aschokker has joined #gnucash
16:42:15 *** mydogsnameisrudy has quit IRC
16:47:53 *** cproo12 has joined #gnucash
16:47:53 *** ChanServ sets mode: +v cproo12
16:52:10 *** aschokker has quit IRC
16:57:33 *** jervin has quit IRC
17:00:58 *** chris_ has joined #gnucash
17:02:35 *** chris has quit IRC
17:02:57 *** warlord has quit IRC
17:05:40 *** gjanssens has quit IRC
17:12:58 *** iHorse has quit IRC
17:18:05 *** iHorse has joined #gnucash
18:27:24 <jralls> chris, re cash-in-lieu, the cash tab isn't enough, it needs to balance with something.
18:30:50 <jralls> @tell chris re cash-in-lieu, the cash tab isn't enough, it needs to balance with something. To be most correct there'd be a sale of fractional share split. The Stock Split Assistant puts up a page with amount and two accounts, one asset and one income.
18:30:50 <gncbot> jralls: The operation succeeded.
18:31:15 *** jralls sets mode: +o gncbot
18:31:18 <jralls> @tell chris re cash-in-lieu, the cash tab isn't enough, it needs to balance with something. To be most correct there'd be a sale of fractional share split. The Stock Split Assistant puts up a page with amount and two accounts, one asset and one income.
18:31:18 <gncbot> jralls: The operation succeeded.
18:33:58 <jralls> @tell chris my comment about CRTP refers to the weird relationship between GncTreeData and GncTreeIter. It's not correct CRTP, but CRTP is the closest idiom I can think of to describe what you might be trying to do.
18:33:58 <gncbot> jralls: The operation succeeded.
18:35:51 <jralls> @tell chris gtk_list_store_set doesn't have an unwritten rule about iters, it's quite explicit about the iter having to be associated with the store. That's what the stamp member is about: It's a number unique to each store that's used to enforce that.
18:35:51 <gncbot> jralls: The operation succeeded.
18:38:00 *** cproo12 has quit IRC
18:38:31 <jralls> @tell chris but that's always true of all iters, including STL ones. An iter is associated with exactly one container instance and is valid only as long as that container isn't mutated.
18:38:31 <gncbot> jralls: The operation succeeded.
18:49:53 *** cproo12 has joined #gnucash
18:49:53 *** ChanServ sets mode: +v cproo12
18:50:01 *** cproo12 has quit IRC
19:34:27 *** chris_ is now known as chris
19:34:33 *** chris has left #gnucash
19:34:41 *** chris has joined #gnucash
19:34:41 *** ChanServ sets mode: +v chris
19:34:47 *** gncbot sets mode: +o chris
19:35:51 <chris> .
19:40:58 <jralls> @notes chris
19:40:58 <gncbot> jralls: Error: I have no notes for that nick.
19:41:28 <jralls> Weird. I left three an hour ago.
19:41:29 <chris> jralls: re: stock-split with cash-in-lieu: Ahh IIRC we'd simplified it by forcing a separation of fractional sale followed by the reverse split
19:41:39 <chris> jralls: gnc sent msg to me in DM
19:41:52 <chris> see the explanatory notes in reverse split
19:43:10 <jralls> Huh. The DM thing must be a new feature, it used to play them out in public.
19:44:27 <chris> re gncTreeIter and gncTreeData -- the reason for the separation is GncTreeData can be inherited to create a specialised data retrieval class: see #1708 - import-main-matcher.cpp will create an ImportMatcherType to add some more methods.
19:49:02 <chris> back to StockAssistant: IIUC StockSplit (eg 3 STOCK @ $100 each --> 6 STOCK @ 50 each) should never result in a cash-in-lieu. A reverse split however can (7 STOCK @ $100 --> 3 STOCK $200 after a forced $100 sale which records the capgains)
19:49:21 <chris> ^ CDB-Man or jralls may find some edge case
19:50:27 <chris> in any case, IMHO recording the forced sale separately will be best because it makes the user consider the capgains component
19:50:32 <jralls> Not an edge case. About half the stock splits in my experience have had cash in lieu. An obvious case that will often generate it is a 4:3 on 100 shares.
19:51:22 <chris> Hmm then the cash-in-lieu is recorded in a separate SELL and should be added in the StockSplit explanation
19:52:08 <chris> (I assume I'm right that cash-in-lieu is effectively a SELL which needs capgains)
19:52:39 <jralls> Right. Which the stock split assistant gets wrong.
19:52:50 <chris> ^ \o/
19:54:06 <chris> the old stock split assistant always felt wrong and inadequate.
19:55:55 <chris> while the StockAssistant forces a sale separately, the IFRS report will interpret SS+cash-in-lieu correctly, pulling numbers into the appropriate columns
19:56:23 <chris> ^ this is one of the cases where SSAssistant and IFRS list of TxnTypes cannot be identical
19:57:54 <jralls> Will the IFRS report figure out that the stock assistant's two txns are really one and combine them?
19:58:15 <chris> No it will still place them into separate rows
19:58:39 <chris> but the various numbers (value/capg/avgcost) etc should be correct
20:00:35 <jralls> Well, yeah, the end result is the same, just like with capgains splits in the sell txn or in their own.
20:01:09 <chris> in 797796 xls it's the 26-jun-2020 line which is interpreted correctly by ifrs-report.scm
20:26:00 *** chris has quit IRC
20:47:56 *** chris has joined #gnucash
20:47:56 *** ChanServ sets mode: +v chris
20:48:01 *** gncbot sets mode: +o chris
20:50:11 *** ArtGravity has quit IRC
20:52:55 <chris> so there are two explanation changes that I'd suggest: SS and its shorting SS explanation must include "pls record any cash in lieu in a separate sale (or cover buy)"
20:54:24 <chris> and another one in the regular SELL or COVERBUY: "if the capgains cannot currently be determined, you can record a placeholder value eg $999 and later manually amend the two balancing capgains splits in manually"
20:57:27 <chris> re: GncTreeIter - it can always be combined with GncTreeData, and the class inheritance happens at the GncTreeIter level...
20:58:07 <chris> ^ and #1708 must be amended appropriately
21:03:49 <jralls> Or do that and ImportMatcherType could have a GncTreeIter instead of inheriting. I'll look at it tomorrow, dinner is imminent and I'm working on the stock assistant now.
21:12:34 *** jervin has joined #gnucash
21:29:08 *** chris has quit IRC