Bug 511606 with loan repayment with scheduled transactions

JeB2009 jbbrel at yahoo.fr
Mon Nov 23 04:11:42 EST 2009


Hello,

Nobody for some comments ?

I can provide a patch  for 2.2.9 release,  but i don't know if it is the
correct process

Regards,
JeB.


JeB2009 wrote:
> 
> Because i have the same problem, i have searched a correction into source
> code.
> Like ggeens comment's, i think that it is the instance count :
> sx:instanceCount isn't incremented on each occurrence.
> 
> I have modified fonctin increment_sx_state  into gnc-sx-instance-model.c
> file (2.2.9 release) :
> L.882 <    *instance_count = gnc_sx_get_instance_count(inst->parent->sx,
> inst->temporal_state);
> L.882 >    *instance_count = gnc_sx_get_instance_count(inst->parent->sx,
> inst->temporal_state) + 1;
> 
> It allows to increment the instance count correctly.
> After some tests, it seems to work for me, but i am not sure about side
> effects.
> 
> Could someone confirm this modification ?
> 
> And after, how can i commit this change into 2.2.9 release branch ?
> 
> Thanks you,
> Jean-Baptiste.
> 

-- 
View this message in context: http://old.nabble.com/Bug-511606-with-loan-repayment-with-scheduled-transactions-tp26408404p26474678.html
Sent from the GnuCash - Dev mailing list archive at Nabble.com.



More information about the gnucash-devel mailing list