Re: python GnuCash interface to SQL backend

2014-11-13 Thread Sébastien de Menten
On Wednesday, November 12, 2014, John Ralls wrote: > > > On Nov 11, 2014, at 1:10 PM, Sébastien de Menten > wrote: > > > > > > I would be genuinely interested to have more specific documentation on > the > > risks of going the SQL way. > > There's nothing wrong with reading the database to

Re: python GnuCash interface to SQL backend

2014-11-13 Thread Sébastien de Menten
On Thursday, November 13, 2014, John Ralls wrote: > > On Nov 12, 2014, at 12:08 PM, Sébastien de Menten > wrote: > > On Wednesday, November 12, 2014, John Ralls > wrote: > >> >> > On Nov 11, 2014, at 1:10 PM, Sébastien de Menten >> wrote: >> > >> > >> > I would be genuinely interested to

Invoices and Bill Reports

2014-11-13 Thread JP Liew
Hi all, After searching through most of the old messages and online, I can't seems to find the right path to the information. Hopefully someone will be able to point me to the right path. Basically I need to generate two monthly or quarterly reports, either in html or csv 1. Invoices Report

Re: Working example of kvp acess in Python

2014-11-13 Thread Christoph Holtermann
Hello, Am 13.11.2014 um 03:05 schrieb John Ralls: >> On Nov 12, 2014, at 3:56 PM, Christoph Holtermann >> wrote: >> >> Hello, >> >> for my part i answered some of the questions myself: >> >> Am 12.11.2014 um 18:46 schrieb Christoph Holtermann: >>> Hello, >>> >>> so KVPs should be accessed by obj

New mailing list for Russian Translation discussions

2014-11-13 Thread Dmitry Pavlov
Hi! Is it possible to create a new mailing list for discussing translations to russian? The reason to do it: developer list is mostly related to code things and currently there is no active list for translation discussions. As I don't participate in development it would be great to have specific

Would like to convert provider_list to std::list

2014-11-13 Thread Chenxiong Qi
Hi all, I would like to convert provider_list in qofsession.cpp to std::list. Make a small change (step) to C++. What do you say? :) -- A Python developer living in Beijing http://about.me/tkdchen ___ gnucash-devel mailing list gnucash-devel@gnucash.or

Re: Would like to convert provider_list to std::list

2014-11-13 Thread Aaron Laws
On Thu, Nov 13, 2014 at 9:46 AM, Chenxiong Qi wrote: > Hi all, > > I would like to convert provider_list in qofsession.cpp to std::list. > Make a small change (step) to C++. What do you say? :) > Is this your first forray into contributing to gnucash (C or C++)? I think the hope is that qofsessi

Re: python GnuCash interface to SQL backend

2014-11-13 Thread John Ralls
> On Nov 12, 2014, at 10:12 PM, Sébastien de Menten wrote: > > On Thursday, November 13, 2014, John Ralls > wrote: > >> On Nov 12, 2014, at 12:08 PM, Sébastien de Menten > >> wrote: >> >> On Wednesday, November 12, 2014, John Ralls > wrote: >> >> > On Nov 11, 2014

Re: New mailing list for Russian Translation discussions

2014-11-13 Thread John Ralls
> On Nov 13, 2014, at 4:27 AM, Dmitry Pavlov wrote: > > Hi! > > Is it possible to create a new mailing list for discussing translations to > russian? > > The reason to do it: developer list is mostly related to code things and > currently there is no active list for translation discussions. >

Re: Would like to convert provider_list to std::list

2014-11-13 Thread Chenxiong Qi
On Thu, Nov 13, 2014 at 11:12 PM, Aaron Laws wrote: > On Thu, Nov 13, 2014 at 9:46 AM, Chenxiong Qi wrote: >> >> Hi all, >> >> I would like to convert provider_list in qofsession.cpp to std::list. >> Make a small change (step) to C++. What do you say? :) > > > Is this your first forray into contr

Re: Would like to convert provider_list to std::list

2014-11-13 Thread John Ralls
> On Nov 13, 2014, at 7:12 AM, Aaron Laws wrote: > > On Thu, Nov 13, 2014 at 9:46 AM, Chenxiong Qi wrote: > >> Hi all, >> >> I would like to convert provider_list in qofsession.cpp to std::list. >> Make a small change (step) to C++. What do you say? :) >> > > Is this your first forray into

Re: Working example of kvp acess in Python

2014-11-13 Thread Christian Stimming (mobil)
>From my understanding, there are two separate issues here: 1. You are proposing a new object "Company" because you have reasons for needing new data fields. I think that's a good idea. Why don't you prepare a patch to extend the existing objects? 2. You ask for kvp access from python. No, we p

Re: Working example of kvp acess in Python

2014-11-13 Thread Christoph Holtermann
Am 13.11.2014 um 17:50 schrieb Christian Stimming (mobil): > From my understanding, there are two separate issues here: > > 1. You are proposing a new object "Company" because you have reasons for > needing new data fields. I think that's a good idea. Why don't you prepare a > patch to extend the

Re: python GnuCash interface to SQL backend

2014-11-13 Thread John Ralls
On Nov 13, 2014, at 9:31 AM, Sébastien de Menten wrote: > Indeed, it may be worth to explain what are the goals (and the limits). > > I have tried to use the official python bindings and had the following issues: > - need swig + compilations to make them work => pyscash is pure python and > ha

Re: Working example of kvp acess in Python

2014-11-13 Thread Christoph Holtermann
Am 13.11.2014 um 18:55 schrieb Christoph Holtermann: > Am 13.11.2014 um 17:50 schrieb Christian Stimming (mobil): >> From my understanding, there are two separate issues here: >> >> 1. You are proposing a new object "Company" because you have reasons for >> needing new data fields. I think that's

Re: Working example of kvp acess in Python

2014-11-13 Thread John Ralls
On Nov 13, 2014, at 10:46 AM, Christoph Holtermann wrote: > Am 13.11.2014 um 18:55 schrieb Christoph Holtermann: >> Am 13.11.2014 um 17:50 schrieb Christian Stimming (mobil): >>> From my understanding, there are two separate issues here: >>> >>> 1. You are proposing a new object "Company" becau

Re: python GnuCash interface to SQL backend

2014-11-13 Thread Sébastien de Menten
On 2014-11-13 19:25, John Ralls wrote: On Nov 13, 2014, at 9:31 AM, Sébastien de Menten wrote: Indeed, it may be worth to explain what are the goals (and the limits). I have tried to use the official python bindings and had the following issues: - need swig + compilations to make them work =

Submit a payment from somewhere not in the GUI...

2014-11-13 Thread Allen S. Rout
Is there any art for submitting payments or transactions from anywhere other than clicking through the GUI? I am attempting to automate the submission of payments for our hackerspace from e.g. square, dwolla, etc. I'd be perfectly delighted with any command-line invocation in which I submit all

Re: New mailing list for Russian Translation discussions

2014-11-13 Thread Dmitry Pavlov
Seems reasonable. I'm not sure that there are a lot of users from Russia, at least who wish to communicate via mailing lists :) Ok, then I'm going to create mailing list at googlegroups and update wiki page and ru.po file with it's address. 2014-11-13 18:41 GMT+03:00 John Ralls : > > > On Nov 13

Re: Invoices and Bill Reports

2014-11-13 Thread JP Liew
Thanks guys, exported the data to mysql and worked it out. From: JP Liew To: "gnucash-devel@gnucash.org" Sent: Thursday, November 13, 2014 9:06 PM Subject: Invoices and Bill Reports Hi all, After searching through most of the old messages and online, I c

Re: python GnuCash interface to SQL backend

2014-11-13 Thread John Ralls
On Nov 13, 2014, at 12:44 PM, Sébastien de Menten wrote: > > On 2014-11-13 19:25, John Ralls wrote: >> On Nov 13, 2014, at 9:31 AM, Sébastien de Menten wrote: >> >>> Indeed, it may be worth to explain what are the goals (and the limits). >>> >>> I have tried to use the official python bindin

Re: Submit a payment from somewhere not in the GUI...

2014-11-13 Thread John Ralls
On Nov 13, 2014, at 1:15 PM, Allen S. Rout wrote: > > Is there any art for submitting payments or transactions from anywhere > other than clicking through the GUI? I am attempting to automate the > submission of payments for our hackerspace from e.g. square, dwolla, etc. > > I'd be perfectly

Re: python GnuCash interface to SQL backend

2014-11-13 Thread Derek Atkins
Sébastien de Menten writes: > Where could I find detailed documentation on the GnuCash engine (and the > constrains/invariants GnuCash enforces) ? Or would there be some > code/program to check a GnuCash file is "sane/consistent" ? Only in the implementation. There is no documentation per se on

Re: python GnuCash interface to SQL backend

2014-11-13 Thread Derek Atkins
John Ralls writes: > What’s your goal here? I don’t think that reimplementing GnuCash in > Python with GnuCash’s SQL schema is a particularly good approach: It’s > not exactly the most efficient design. Rather, it’s designed to mirror > the XML schema. You’ll have a better design if you relegate

Re: New mailing list for Russian Translation discussions

2014-11-13 Thread Derek Atkins
You should look to the translation project if you want a list purely for translation purposes. If you want a Russian Language gnucash-user equivalent then we can work with you to set one up, as John suggested. -derek Dmitry Pavlov writes: > Seems reasonable. I'm not sure that there are a lot o