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, listse

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 https:

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: [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 scra

Re: Teaching GnuCash?

2010-11-19 Thread Valdis Vītoliņš
raining/Gnucash Valdis > I've received today 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 si

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 englis

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 > > > > Than

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-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 p

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 sho

Re: Additional functionality for Employee salary

2010-07-22 Thread Valdis Vītoliņš
24 schrieb Derek Atkins: > > Valdis Vītoliņš writes: > : > > > To use them for Latvian legislation each entry should be with tax > > > similarly to Invoice, > > > and vouchers should be easily duplicated or scheduled. > > > > Maybe in Latvia. That defini

Re: Additional functionality for Employee salary

2010-07-07 Thread Valdis Vītoliņš
aldis > Hi, > > Valdis Vītoliņš 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

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. Dup

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

2010-06-24 Thread Valdis Vītoliņš
po/lv.po === --- po/lv.po (revision 19288) +++ po/lv.po (working copy) @@ -8,7 +8,7 @@ "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-05-10 15:54+0300\n" -"PO-Revision-

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 at

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 (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.

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? >

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: 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'

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

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 a

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 Gnucas

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

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 ap

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 o

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 default

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 copy)

Re: fancy-invoice.scm updates for review

2010-05-27 Thread Valdis Vītoliņš
usiness-core/gnucash/business-core.scm ./src/business/business-core/business-core.scm > Valdis Vītoliņš 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. > > Ther

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

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

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/structGncTaxTableE

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 /usr/shar

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 w

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 (gnc:make-html-table-cell/marku

Re: Updated files for Latvian

2010-05-20 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 co

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 file

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 >

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. == E

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. Tha

Problems with Gnucash development environment on Ubuntu 10.04

2010-05-13 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 ap

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) > >

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 for

How to implement VAT declaration?

2010-05-13 Thread Valdis Vītoliņš
One of regularly boring issue for business accountants in Latvia is providing VAT tax declarations. So, I have to implement solution for this. In Latvia there are 3 VAT taxes: 0%, 10% and 21%, though each of them can be applied by different rates. So there are generally (for most of businesses) fo

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 guile-1.6-slib:

Re: Problems with Gnucash development environment on Ubuntu 10.04

2010-05-12 Thread Valdis Vītoliņš
/usr/share/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

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 ap

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