[grisbi-cvs] grisbi/src import.c,1.280,1.281

Pierre Biava pbiava at users.sourceforge.net
Sat Jun 13 17:10:46 CEST 2009


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22476

Modified Files:
	import.c 
Log Message:
modification to import OFX files. not update the category for a check

Index: import.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/import.c,v
retrieving revision 1.280
retrieving revision 1.281
diff -u -d -r1.280 -r1.281
--- import.c	19 May 2009 18:24:58 -0000	1.280
+++ import.c	13 Jun 2009 15:10:43 -0000	1.281
@@ -2350,9 +2350,9 @@
 														   TRUE ));
 	    }
 	}
-    else if ( etat.get_categorie_for_payee )
+    else if ( etat.get_categorie_for_payee && !imported_transaction -> cheque)
     {
-        /* pbiava the 02/26/2009 associate category and bugetary to the tiers */
+        /* associate category and bugetary to the tiers except for checks */
         last_transaction_number = gsb_form_transactions_look_for_last_party (
                                     payee_number, transaction_number,
                                     account_number );
@@ -2385,8 +2385,6 @@
     }
 
     /* récupération des notes */
-    /* 	pbiava on 03/22/2009 modifié pour conserver la sauvegarde de l'import
-     * du tiers importé si nécessaire */
     if ( imported_transaction -> notes &&
                         strlen (imported_transaction -> notes) )
         gsb_data_transaction_set_notes ( transaction_number,



More information about the cvs mailing list