Re: Invoice records are dupliceted in current inveice not in newly creatod one

2011-04-11 Thread Valdis Vītoliņš
Fixed in trunk r20554, confirmed by Valdis as well. (By the way, why did you send a separate gnucash-devel message after posting the bugzilla item, but didn't note the bugzilla item and/or the progress there here?) I started with e-mail, but because I am nod subscribed anymore,

Invoice records are dupliceted in current inveice not in newly creatod one

2011-04-10 Thread Valdis Vītoliņš
When new invoice is created as a duplicate of the current one, invoice records are added to the current one, not to the newly created one. Tested on svn r20552 (an older 2.4.x ones). Valdis ___ gnucash-devel mailing list gnucash-devel@gnucash.org

Re: [OT] Help for ssh

2010-12-08 Thread Valdis Vītoliņš
It looks you use ssh public/private key for authentication, and it fails. What are folder permissions (shouldn't be readable to others) for ssh keys and is this folder encrypted (shouldn't be encrypted) What says: ssh host -vvv Valdis I need a little help with ssh. I've just installed from

Re: [OT] Help for ssh

2010-12-08 Thread Valdis Vītoliņš
Connection timed out As it seems as a network connection problem Probably you simply need to wait for better times... Valdis ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Teaching GnuCash?

2010-11-19 Thread Valdis Vītoliņš
a request from an Italian GnuCash user. She wants to teach how to use GnuCash in a class and she asks if it's required some permission to do that; so I'm asking to developers if there are problems of any kind in this situation. If I remember right Valdis Vītoliņš was involved in a course

Re: Polish translation: problem

2010-09-13 Thread Valdis Vītoliņš
It is also true for Latvian and I always do the same. Valdis Translations commited to rev 19572. They will be in the next release. Thanks for contributing. I've only found a problem on file po/pl.po: if I run it through the command msgfmt -c i get an error message because one english

Re: Windows Installer, extra translatable custom messages

2010-09-03 Thread Valdis Vītoliņš
packaging/win32/gnucash.iss.in That looks fine for Latvian Thanks, Valdis ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Windows Installer, extra translatable custom messages

2010-09-03 Thread Valdis Vītoliņš
Oh.. sorry, Friday evening... I noticed difference lastly! Updated file is attached. Thanks for patience, Valdis On Friday 3 September 2010, Valdis Vītoliņš wrote: packaging/win32/gnucash.iss.in That looks fine for Latvian Thanks, Valdis Well,... no. I recently added

Re: Windows Installer, extra translatable custom messages

2010-09-02 Thread Valdis Vītoliņš
I did few updates for jargon words. Note that file is in Windows-1257 codepage. Valdis I have just finished making changes to the Windows Installer script [1]. These changes were necessary to fix an important installer bug, but I had to introduce some additional custom messages in the

Allow to show A/Receivable accounts for Employee payments

2010-08-17 Thread Valdis Vītoliņš
Currently Gnucash allow to choose accounts with type A/Payable for Employee payments, which is OK, because usually it is money which you owe to employee (e.g. for salary). However in Latvia standart practice is prepayment for business trips etc., so in this case employee owe to company, and it

Re: Additional functionality for Employee salary

2010-07-22 Thread Valdis Vītoliņš
I agree. Even expense vouchers can't be used to support full salary calculation process, it should allow adding tax for each line similarly to invoices. Otherwise they can't be convenient even to book simple expenses. Valdis Am Mittwoch, 7. Juli 2010 um 15:22:24 schrieb Derek Atkins: Valdis

Additional functionality for Employee salary

2010-07-07 Thread Valdis Vītoliņš
Investigating employee expense vouchers for salaries seems not sufficient. To use them for Latvian legislation each entry should be with tax similarly to Invoice, and vouchers should be easily duplicated or scheduled. As vouchers are similar to invoices it seems to be easily implemented/fixed.

Re: Additional functionality for Employee salary

2010-07-07 Thread Valdis Vītoliņš
, Valdis Vītoliņš valdis.vitol...@odo.lv writes: Investigating employee expense vouchers for salaries seems not sufficient. That's because employee expense vouchers are NOT for salaries, they are for employee expense reimbursements. They are not and never were designed for salaries

Re: make pot broken? was: Updates for Latvian po file

2010-06-24 Thread Valdis Vītoliņš
@@ Project-Id-Version: 1.0\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2010-05-10 15:54+0300\n -PO-Revision-Date: 2010-05-20 19:17+0300\n +PO-Revision-Date: 2010-06-24 11:52+0300\n Last-Translator: Valdis Vītoliņš valdis.vitol...@odo.lv\n Language-Team: Odo i...@odo.lv\n MIME-Version: 1.0\n @@ -113,23

Updates for Latvian po file

2010-06-22 Thread Valdis Vītoliņš
Hello! Please commit attached diff file for Latvian resource file. Thanks, Valdis Using program it appears, that wording can be changed little bit, though size and importance of changes should be decaying ;-) Index: po/lv_LV.po ===

Re: Updates for Latvian po file

2010-06-22 Thread Valdis Vītoliņš
Sorry, I did update, but probably didn't merge conflicts carefully. Attached file is difference for clearly checked-out revision 19284. It is shorter now, but there are few updates left. Valdis On Tuesday 22 June 2010, Valdis Vītoliņš wrote: Hello! Please commit attached diff file

Re: Updates for Latvian (Windows)

2010-06-18 Thread Valdis Vītoliņš
Many thanks Geert! All looks fine except readme at the end, because it seems also need to be Windows Baltic (CP-1257), modified file is attached. Valdis On Thursday 17 June 2010, Valdis Vītoliņš wrote: Thanks, Geert! Please use attached diff file for gnucash.iss.in and note, when I

Re: Updates for Latvian (Windows)

2010-06-17 Thread Valdis Vītoliņš
Hello! Can somebody comment what is destiny for proposed additions for Gnucash Windows port? Please don't hesitate ask me if something is not clear or wrong or additional info or actions are necessary (e.g. if gnucash.iss.in content should be coded in other codepage). Thanks in advance, Valdis

Re: Updates for Latvian (Windows)

2010-06-17 Thread Valdis Vītoliņš
Thanks, Geert! Please use attached diff file for gnucash.iss.in and note, when I could test windows build. Valdis On Thursday 17 June 2010, Valdis Vītoliņš wrote: Hello! Can somebody comment what is destiny for proposed additions for Gnucash Windows port? Please don't hesitate ask me

Re: Where to use country codes

2010-06-09 Thread Valdis Vītoliņš
On clean checkout after ./configure ... configure.ac:1344: required file `accounts/lv_LV/Makefile.in' not found Valdis ... Done. I moved lv_LV.po to lv.po and accounts/lv_LV to accounts/lv Changed accounts/Makefile.am, accounts/lv/Makefile.am and configure.ac I hope that covers it all.

Re: configure.ac:1344: required file `accounts/lv_LV/Makefile.in' not found

2010-06-09 Thread Valdis Vītoliņš
It is fixed in revision 19247 few minutes ago. Valdis Hi, I regularly build GnuCash from source, to test and contribute here and there. Today I did a clean checkout from the trunk, and when I ran ./autogen.sh I got: Makefile.am: installing `./COPYING' using GNU General Public License

Re: Where to use country codes

2010-06-09 Thread Valdis Vītoliņš
Thanks, on Ubuntu it works as expected. Will check on Windows after nightly build. Valdis On Wednesday 9 June 2010, Valdis Vītoliņš wrote: On clean checkout after ./configure ... configure.ac:1344: required file `accounts/lv_LV/Makefile.in' not found Valdis ... Done. I

Re: Where to use country codes

2010-06-07 Thread Valdis Vītoliņš
Hi, Am Donnerstag, 3. Juni 2010 um 22:00:34 schrieb Valdis Vītoliņš: For linguists it's difficult question. It was agreed Latvian (http://en.wikipedia.org/wiki/Latvian_language) is language with several dialects, so standard Latvan is lv_LV and dialects with lv_..other

Re: Where to use country codes

2010-06-07 Thread Valdis Vītoliņš
Hi Valdis, Am Montag, 7. Juni 2010 um 10:54:12 schrieb Valdis Vītoliņš: : Then formally language code should be only lv. Yes. I did tests with Ubuntu with Lithuanian locale: val...@studio:~$ env|grep -i lang LANG=lt_LT.utf8 GDM_LANG=lt_LT.utf8 Gnucash correctly starts using Lithuanian

Re: Why Two sets of Documentation?

2010-06-04 Thread Valdis Vītoliņš
IMHO almost all computers have a network. So, why not to implement context sensitive help, which opens web page? Valdis ... Oh, I agree! I think the context-sensitive help should be part of GnuCash itself. However how LARGE is the context-sensitive help? How much would it bloat the

Re: [PATCH 2.3.13] fix Latvian account trees

2010-06-03 Thread Valdis Vītoliņš
For linguists it's difficult question. It was agreed Latvian (http://en.wikipedia.org/wiki/Latvian_language) is language with several dialects, so standard Latvan is lv_LV and dialects with lv_..other. Though Latgalian language (http://en.wikipedia.org/wiki/Latgalian_language) is not dialect but

Re: fancy-invoice.scm updates for review

2010-05-27 Thread Valdis Vītoliņš
/business-core.scm ./src/business/business-core/business-core.scm Valdis Vītoliņš valdis.vitol...@odo.lv writes: Another problem for invoice is that I need to show Reg No, VAT Reg. No and account info, for current (my) company and customer/vendor. There are no explicit fields for this, but I

Updates for Latvian

2010-05-27 Thread Valdis Vītoliņš
Hello, please commit attached diff file for Latvian po file. Can anybody describe how to localize recently discussed windows installer file? Valdis Index: po/lv_LV.po === --- po/lv_LV.po (revision 19208) +++ po/lv_LV.po (working

Re: Updates for Latvian (Windows)

2010-05-27 Thread Valdis Vītoliņš
Thanks, Tao, Attached files are what I see necessary: 1. doc/README-lv_LV.win32-bin.txt 2. Only part of packaging/win32/gnucash.iss.in I have some doubts about code page. Windows default for Latvian is 1257, and all other use single byte codepages. Though for *po file I use UTF-8 which is

Re: [SPAM] Re: r19206: format ‘%d’ expects type ‘int’, but argument 7 has type ‘gsize’

2010-05-26 Thread Valdis Vītoliņš
Works for me. uname -a Linux studio 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux Valdis ... ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Problems with Gnucash development environment on Ubuntu 10.04

2010-05-25 Thread Valdis Vītoliņš
P , 2010-05-24 22:25 -0700, z33...@gmail.com rakstīja: I have guile-1.8 installed, but not 1.6. Ubuntu 10.04 doesn't have guile-1.8-slib package similarly to guile-1.6-slib, which contains symlink /usr/share/guile/1.6/slib-../../slib. To fix that, enter following commands: sudo su cd

Re: How to get tax table value for invoice report?

2010-05-25 Thread Valdis Vītoliņš
I need to get name of Tax table name (because I have tax value in name) http://code.gnucash.org/docs/HEAD/structGncTaxTable.html Or better should be concatenated tax table name, entry amount and type (e.g. VAT 21%, or VAT 10%) http://code.gnucash.org/docs/HEAD/structGncTaxTableEntry.html

How to show additional info in invoice?

2010-05-25 Thread Valdis Vītoliņš
Another problem for invoice is that I need to show Reg No, VAT Reg. No and account info, for current (my) company and customer/vendor. There are no explicit fields for this, but I can enter this info in address field for current company, and in notes field for customer/vendor. Though now I stuck

How to get tax table value for invoice report?

2010-05-24 Thread Valdis Vītoliņš
Hello! I'm studying Bill/Invoice reports, and I investigate how for Fancy invoice (fancy-invoice.scm) include field with Tax Table value (not simple T, if it is taxed). Currently I use ... (if (tax-col column-vector) (addto! row-contents

Re: How to get tax table value for invoice report?

2010-05-24 Thread Valdis Vītoliņš
I need to get name of Tax table name (because I have tax value in name) http://code.gnucash.org/docs/HEAD/structGncTaxTable.html Or better should be concatenated tax table name, entry amount and type (e.g. VAT 21%, or VAT 10%) http://code.gnucash.org/docs/HEAD/structGncTaxTableEntry.html Usually

Re: Updated files for Latvian

2010-05-21 Thread Valdis Vītoliņš
Am Thursday 20 May 2010 schrieb Valdis Vītoliņš: Hello, please check-in updated resource files (po and account schemes) for Latvian. Applied. The account templates contain only three changed files, was this correct? Yes, that seems correct. Valdis Thanks a lot! Regards

Re: We need to prevent multi-user access to the SQL backend (Re: New GnuCash article on LWN)

2010-05-19 Thread Valdis Vītoliņš
I vote for not over-engineered solution and, I suppose simple lock for all database (only one can write) is OK. My clients/partners will not use SQL backend. They use Gnucash because it can be installed and used as many other standalone applications. It is important, that Gnucash save data in

How to make simple working guile report

2010-05-18 Thread Valdis Vītoliņš
Huh.. Reading many samples and web pages (mainly http://www.widyono.net/prog/gnucash-xacc-repdev.html http://wiki.gnucash.org/wiki/Custom_Reports and http://wiki.gnucash.org/wiki/Custom_Reports_Using_Eguile ) I have distilled more or less simple report without dependencies on other libraries. ==

Re: How to make simple working guile report

2010-05-18 Thread Valdis Vītoliņš
The problem for newcomer is, that Hello world report doesn't seem as an example but as an superset of (too much) possibilities, which is hard to understand. If it is _really_ simple example, it is little bit scary... But anyway will learn about your suggestions tomorrow. Valdis Valdis Vītoliņš

Re: Updated and new localization files for Latvian

2010-05-15 Thread Valdis Vītoliņš
Thank you all! Valdis Am Saturday 15 May 2010 schrieb Cristian Marchi: I've just commited the po file to trunk to rev.19166 I've not write permission to commit the accounts so someone will step in to add them to trunk. I've applied the account template files to SVN now. Thanks a lot!

How to invoke guile report from localized menu?

2010-05-13 Thread Valdis Vītoliņš
Hm.. Following instruction from http://wiki.gnucash.org/wiki/Custom_Reports_Using_Eguile I can invoke report from menu Reports- Business- Tax Invoice (eguile) if running Gnucash with LANG=en_US.utf8 But it doesn't appear if I invoke Gnucash with my native lv_LV.utf8 locale. What should I write

Re: Cannot run eguile report on Ubuntu 10.04

2010-05-13 Thread Valdis Vītoliņš
Thanks Derek for your rapid response. My comments and additional questions are inline. One of my customer's request is to prepare few customized reports for SMB needs. I assume the most modern way to do is using eguile (http://wiki.gnucash.org/wiki/Custom_Reports_Using_Eguile) where

Problems with Gnucash development environment on Ubuntu 10.04

2010-05-12 Thread Valdis Vītoliņš
== Environment == I use the latest development version checked out from http://svn.gnucash.org/repo/gnucash/trunk gnucash 2.3.12 svn r19148M I got dependencies to compile gnucash partially for stable version (as a lazy Ubuntu's shortcut to resolve most of dependencies for GnuCash stable): sudo

Re: Problems with Gnucash development environment on Ubuntu 10.04

2010-05-12 Thread Valdis Vītoliņš
/guile/1.6/slibcat /usr/share/guile/1.6/slib /usr/share/guile/1.6/ice-9/slib.scm /usr/share/guile/1.6/ice-9/slib-old.scm /usr/share/guile/1.8/ice-9/slib.scm /usr/share/doc/slib /usr/share/slib /usr/share/man/man1/slib.1.gz Valdis On Wednesday 12 May 2010, Valdis Vītoliņš wrote: == Environment

Re: Problems with Gnucash development environment on Ubuntu 10.04 -- Solved

2010-05-12 Thread Valdis Vītoliņš
Done with Gnucash revision 19152. which still doesn't run using guile 1.6 But, as Tao noted, Ubuntu 10.04 doesn't have guile-1.8-slib package similarly to guile-1.6-slib. Fortunately this package doesn't have anything exceptional: As root r...@studio:/# apt-file list guile-1.6-slib

Cannot run eguile report on Ubuntu 10.04

2010-05-11 Thread Valdis Vītoliņš
Hello! I'm trying to go deeper in Gnucash localization for Latvian. One of my customer's request is to prepare few customized reports for SMB needs. I assume the most modern way to do is using eguile (http://wiki.gnucash.org/wiki/Custom_Reports_Using_Eguile) where eguile-gnc.scm is prepared as an