[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9_5-75-g0a5731d

Pierre Biava nobody at users.sourceforge.net
Thu Mar 29 20:26:51 CEST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".

The branch, master has been updated
       via  0a5731dc30b6804464c2ff253fe3c48c76864049 (commit)
      from  56a936bd3c3db4cf312472f34ede86edcc7cf9af (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0a5731dc30b6804464c2ff253fe3c48c76864049
Author: pbiava <pierre.biava at nerim.net>
Date:   Thu Mar 29 20:10:21 2012 +0200

    Adding the use of historical data in the budget module of cash accounts

-----------------------------------------------------------------------

Changes:
diff --git a/src/bet_hist.c b/src/bet_hist.c
index 4018c66..b430b70 100644
--- a/src/bet_hist.c
+++ b/src/bet_hist.c
@@ -850,7 +850,7 @@ void bet_historical_populate_div_model ( gpointer key,
     div_name = bet_data_get_div_name ( div_number, 0, NULL );
     account_nb = sh -> account_nb;
     kind = gsb_data_account_get_kind ( account_nb );
-    if ( kind == GSB_TYPE_CASH )
+    if ( kind == GSB_TYPE_CASH && etat.bet_deb_cash_account_option == 0 )
         edited = FALSE;
 
     currency_number = gsb_data_account_get_currency ( account_nb );


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list