Re: Invoices: Process Payment
Sebastian Held sebastian.h...@gmx.de writes: As of right now there is no way to assign a split to a customer (see bug #108570). The way to do it now is to run Process Payment when you actually get the payment from the customer, and then during the import mark it as a duplicate of the existing transaction. The problem is, that I do not know, a payment has been placed, until I start the import. Only then, by looking at my imported transactions (via HBCI) I can recognize payments. I'll have a look at this issue. Thanks for explaining. Sebastian FYI, my original plan was to setup a callback listener for new transactions on AR/AP account types that look for new transactions added to those accounts. When the callback hits it will check to see if it's from a Process Payment and if not it will pop up an interface to perform the connection to the proper customer. The notification events should already be there, so it's just a matter of registering and listening for them and creating the interface processor. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: r18354 - gnucash/trunk/src/register/ledger-core - Fix bug when register running balance column appears in template transaction.
Hi, Tim M t...@filmchicago.org writes: I should note that when testing this patch, I also tried setting the RATE_CELL to column 7 for the template register (8 for non-template) and leaving column 8 blank, but I was told that the RATE_CELL needs to be the last column. When I tested a build with the RATE cell in col 7 for the template register, the 5px empty column did appear to the right of the template register. Right, because you were telling it that there are 9 columns but only telling it about 8. Another option if no empty columns are allowed would be to either a) create a BLANK_CELL type and use that to fill the void, or b) also set the number of columns for the GENERAL_LEDGER to 8 for template registers instead of 9 which is required to add the running balance column. The latter approach is easier -- just tell it the correct number of columns. -Tim -derek On Tue, Sep 29, 2009 at 10:30 AM, Derek Atkins warl...@mit.edu wrote: Christian Stimming cs...@code.gnucash.org writes: - gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + if (!reg-is_template) + { + gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + } gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); Is it okay to skip a column like this? -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warl...@mit.edu PGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: How to setup gconf data
Hi, Colin Law clan...@googlemail.com writes: I have got to the bottom of this, it appears to me that it may be an error in make install, but perhaps it is as intended. As Christian suggested it is a problem with the location that the schema files are installed to. If a prefix is specified then the schemas are installed to $(prefix)/etc/gconf/gconf.xml.defaults which is not a location that gconf looks in. Note that /etc/gconf/gconf.xml.defaults _is_ in the gconf path. OK, I thought, that is intentional in order that the schemas do not conflict with those installed for a different prefix or no prefix. I then tried an install with no prefix specified, in this case it installs them to /usr/local/etc/gconf/gconf.xml.defaults which is still not in the gconf path. Is that the expected behaviour? Yes, no --prefix implies --prefix=/usr/local What if you add --sysconfdir=/etc ? In order to add the folder to the gconf path one can create a file ~/.gconf.path and put in there the line xml:readonly:/usr/local/etc/gconf/gconf.xml.defaults or the equivalent if prefix is used. Colin -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Build error split-register-model.c
jra...@raehls.org writes: /usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports. scm:160:45: In expression (@ (gnucash report standard-reports ...) gnc:register-report-create-internal): /usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports. scm:160:45: Unbound variable: @ It was ok before I picked up the last few days of changes. I am on Ubuntu 9.04. Is this something specific to me? It is late so I have not looked at the files indicated yet. This is very odd.. What version of slib do you have? What happens if you do this: guile guile (use-modules (ice-9 slib)) guile @ #macro! @ guile At least, this is what I get when I run it. Similarly: guile -c '(use-modules (ice-9 slib)) @' returns without an error for me. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Build error split-register-model.c
Hi, Please remember to cc the list on all replies using your mailer's reply-to-list or reply-all functionality. t...@filmchicago.org writes: This is caused by r18352. If I back out the changes and recompile, gnucash starts successfully. Yeah, I'm not surprised. The question is: why is '@' undefined in some instances? -derek --Original Message-- From: Derek Atkins Sender: gnucash-devel-boun...@gnucash.org To: clan...@googlemail.com Cc: gnucash-devel Subject: Re: Build error split-register-model.c Sent: Sep 29, 2009 4:52 PM Quoting Colin Law clan...@googlemail.com: /usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.scm:160:45: In expression (@ (gnucash report standard-reports ...) gnc:register-report-create-internal): /usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.scm:160:45: Unbound variable: @ It was ok before I picked up the last few days of changes. I am on Ubuntu 9.04. Is this something specific to me? Try adding: (use-modules (ice-9 slib)) to the top of standard-reports.scm and see if that helps? It is late so I have not looked at the files indicated yet. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Build error split-register-model.c
Zitat von Derek Atkins warl...@mit.edu: Unbound variable: @ This is very odd.. What version of slib do you have? What happens if you do this: guile guile (use-modules (ice-9 slib)) guile @ #macro! @ guile At least, this is what I get when I run it. In the windows build, this gives the same Unbound Variable error reported by jraehl. Similarly: guile -c '(use-modules (ice-9 slib)) @' returns without an error for me. In the windows build, this gives ERROR: Unbound variable: @. The version numbers you can see in packaging/win32/defaults.sh; guile-1.6.8, slib3a3. Regards, Christian ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Build error split-register-model.c
2009/9/30 Derek Atkins warl...@mit.edu: jra...@raehls.org writes: /usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports. scm:160:45: In expression (@ (gnucash report standard-reports ...) gnc:register-report-create-internal): /usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports. scm:160:45: Unbound variable: @ It was ok before I picked up the last few days of changes. I am on Ubuntu 9.04. Is this something specific to me? It is late so I have not looked at the files indicated yet. This is very odd.. What version of slib do you have? What happens if you do this: guile guile (use-modules (ice-9 slib)) guile @ #macro! @ guile I am not sure how to tell which version of slib I have, in the Ubuntu repository it is labelled 3b1-3 and the package guile-1.6-slib (guile slib support) is 1.6.8-6.3 I get: guile (use-modules (ice-9 slib)) guile @ unnamed port: In expression @: unnamed port: Unbound variable: @ ABORT: (unbound-variable) guile (backtrace) Backtrace: In unknown file: ?: 0* @ At least, this is what I get when I run it. Similarly: guile -c '(use-modules (ice-9 slib)) @' returns without an error for me. Again I get ~$ guile -c '(use-modules (ice-9 slib)) @' ERROR: Unbound variable: @ Colin ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
[Patch] Fix compiler warnings/errors in split-register-model.c
Attached is a patch to fix compiler warnings in split-register-model.c. In fact for me they prevent compilation, possibly because I have specified --enable-compile-warnings. I have inspected the code and it appears that the warnings are unfounded, the code appears to be safe, though I can see why the warnings were generated. I am using git svn and am not sure in what format the patch is required. I performed git diff to get this. If I should do something different please let me know. Colin diff --git a/src/register/ledger-core/split-register-model.c b/src/register/ledger-core/split-register-model.c index b22452a..dcb5dd2 100644 --- a/src/register/ledger-core/split-register-model.c +++ b/src/register/ledger-core/split-register-model.c @@ -66,9 +66,10 @@ gnc_split_register_get_rbaln (VirtualLocation virt_loc, gpointer user_data, gboo Split *split; SRInfo *info = gnc_split_register_get_info (reg); gnc_numeric value = gnc_numeric_zero(), balance = gnc_numeric_zero(); - Account *account; + Account *account = NULL; Transaction *trans; - GList *node, *children, *child; + GList *node, *child; + GList *children = NULL; int i, row; balance = gnc_numeric_zero(); ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [Patch] Fix compiler warnings/errors in split-register-model.c
2009/9/30 Phil Longstaff plongst...@rogers.com: That format should work. I'll apply it. Great, thanks Colin ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
GnuCash 2.3.6 - not starting on Windows XP
Hi! Today I've downloaded GnuCash 2.3.6 (win installer) and I had problems with opening of GnuCash 2.3.6 on Windows XP. Click on the pulpit icon, splash screen, tip's screen and nothing more. I have information from some guy who had the same problem today. I have also some screenshot from my Win 2003 Server where situation is the same. Linux version from sources starts normally. Greetings Jacek Baszkiewicz inline: error.JPG___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: r18354 - gnucash/trunk/src/register/ledger-core - Fix bug when register running balance column appears in template transaction.
Hmm was this a bug in 2.2.6? I've been using it as a benchmark (ubuntu 9.04 isn't up to date with 2.2.9), and all registers and templates in 2.2.6 display this extra blank column on the right side but I see the 2.3.6 trunk does not. If the blank column shouldn't be there, I have made a patch to use a different column count for the template register so that gnucash doesn't expect more columns than are defined. Ill upload the patch later. P.s. sorry for some messages not going to the mailing list, I've been sending them from a new phone and didn't realize my mistake. On 9/30/09, Derek Atkins warl...@mit.edu wrote: Hi, Tim M t...@filmchicago.org writes: I should note that when testing this patch, I also tried setting the RATE_CELL to column 7 for the template register (8 for non-template) and leaving column 8 blank, but I was told that the RATE_CELL needs to be the last column. When I tested a build with the RATE cell in col 7 for the template register, the 5px empty column did appear to the right of the template register. Right, because you were telling it that there are 9 columns but only telling it about 8. Another option if no empty columns are allowed would be to either a) create a BLANK_CELL type and use that to fill the void, or b) also set the number of columns for the GENERAL_LEDGER to 8 for template registers instead of 9 which is required to add the running balance column. The latter approach is easier -- just tell it the correct number of columns. -Tim -derek On Tue, Sep 29, 2009 at 10:30 AM, Derek Atkins warl...@mit.edu wrote: Christian Stimming cs...@code.gnucash.org writes: - gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + if (!reg-is_template) + { + gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + } gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); Is it okay to skip a column like this? -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warl...@mit.edu PGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available -- Sent from my mobile device ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: GnuCash 2.3.6 - not starting on Windows XP
Same problem here. No nightly build or recently released 2.3.6 Win versions will run on my XP or Vista boxes after the r18350 version. This is the most recent build that will run successfully, nothing after it, Regards, Kim Jacek Baszkiewicz-2 wrote: Hi! Today I've downloaded GnuCash 2.3.6 (win installer) and I had problems with opening of GnuCash 2.3.6 on Windows XP. Click on the pulpit icon, splash screen, tip's screen and nothing more. I have information from some guy who had the same problem today. I have also some screenshot from my Win 2003 Server where situation is the same. Linux version from sources starts normally. Greetings Jacek Baszkiewicz ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- View this message in context: http://www.nabble.com/GnuCash-2.3.6---not-starting-on-Windows-XP-tp25685264p25689439.html Sent from the GnuCash - Dev mailing list archive at Nabble.com. ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Patch for balance column displayed in template register
The attached patch is an improvement to the original patch (and should be applied over it, this patch was generated from very recent trunk with the original patch already applied) which supplies the correct number of columns to gnucash for the general_ledger register view if the register is a template. -Tim 2009/9/28 Christian Stimming stimm...@tuhh.de: Am Samstag, 26. September 2009 14:59 schrieb Tim M: I noticed yesterday a bug in the reg run balance patch that was applied, there is now a Balance column displayed in the template transaction register. If you open the scheduled transaction editor, then open a scheduled transaction and go to the Template Transaction tab, there is a Balance column displayed on the far right side of the register. The attached patch fixes this defect so that the RBALN column is not displayed in template registers. Applied. Thanks a lot! Christian Index: src/register/ledger-core/split-register-layout.c === --- src/register/ledger-core/split-register-layout.c (revision 18357) +++ src/register/ledger-core/split-register-layout.c (working copy) @@ -242,13 +242,15 @@ { gnc_table_layout_set_cell (layout, curs, FDEBT_CELL, 0, 5); gnc_table_layout_set_cell (layout, curs, FCRED_CELL, 0, 6); + gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 7); } else { gnc_table_layout_set_cell (layout, curs, DEBT_CELL, 0, 5); gnc_table_layout_set_cell (layout, curs, CRED_CELL, 0, 6); + gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); } -gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); curs_last = curs; curs = gnc_table_layout_get_cursor (layout, @@ -268,11 +270,12 @@ gnc_table_layout_set_cell (layout, curs, DESC_CELL, 0, 2); gnc_table_layout_set_cell (layout, curs, TDEBT_CELL, 0, 5); gnc_table_layout_set_cell (layout, curs, TCRED_CELL, 0, 6); -if (!reg-is_template) -{ +if (reg-is_template) + gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 7); +else { gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); } -gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); curs_last = curs; curs = gnc_table_layout_get_cursor (layout, @@ -294,13 +297,14 @@ { gnc_table_layout_set_cell (layout, curs, FDEBT_CELL, 0, 5); gnc_table_layout_set_cell (layout, curs, FCRED_CELL, 0, 6); + gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 7); } else { gnc_table_layout_set_cell (layout, curs, DEBT_CELL, 0, 5); gnc_table_layout_set_cell (layout, curs, CRED_CELL, 0, 6); + gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); } -gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); break; } @@ -463,7 +467,10 @@ case INCOME_LEDGER: case GENERAL_LEDGER: case SEARCH_LEDGER: - num_cols = 9; + if (reg-is_template) +num_cols = 8; + else +num_cols = 9; break; case STOCK_REGISTER: ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: 2.2.9.4 issue
On Sep 30, 2009, at 3:24 AM, Fernando Teixeira - TecnoRAF wrote: Hi, I tried to install the new version (2.2.9.4.dmg) and the menu caracters are in Japanese. The 2.2.9.1 are OK. Cool. I assume that the language settings in Internationalization/ Language Settings are for Portuguese. Can you manage setting the Gtk settings in shell? If so, /Applications/Gnucash.app/MacOS/Gnucash is a shell script, with a chunk of stuff in the middle which sets the Gtk settings from the Mac's settings. Can you try plugging the correct Gtk settings into the script, commenting out the bits which get it from your Mac, and tell me if that changes anything? Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel