r14890 - gnucash/branches/2.0 - disable lot scrubbing during Check & Repair (#357370).

Derek Atkins warlord at cvs.gnucash.org
Sat Sep 23 19:46:32 EDT 2006


Author: warlord
Date: 2006-09-23 19:46:31 -0400 (Sat, 23 Sep 2006)
New Revision: 14890
Trac: http://svn.gnucash.org/trac/changeset/14890

Modified:
   gnucash/branches/2.0/
   gnucash/branches/2.0/ChangeLog
   gnucash/branches/2.0/src/gnome/druid-acct-period.c
   gnucash/branches/2.0/src/gnome/gnc-plugin-page-account-tree.c
   gnucash/branches/2.0/src/gnome/window-reconcile.c
Log:
	  disable lot scrubbing during Check & Repair (#357370).
	  Lots are supposed to be disabled in the 2.0 release until we
	  get the cap-gains code working.  IMHO the cap-gains code should
	  deal with extra txn splits instead of creating additional txns.

(approved by chris)
Merge from r14888.



Property changes on: gnucash/branches/2.0
___________________________________________________________________
Name: svk:merge
   - d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:13346
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13282
   + d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:13347
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13282

Modified: gnucash/branches/2.0/ChangeLog
===================================================================
--- gnucash/branches/2.0/ChangeLog	2006-09-23 23:46:19 UTC (rev 14889)
+++ gnucash/branches/2.0/ChangeLog	2006-09-23 23:46:31 UTC (rev 14890)
@@ -4,6 +4,14 @@
 	  suspend events around the Commit(). Fixes #347089 when combined
 	  with r14495.
 
+	* src/gnome/druid-acct-period.c:
+	* src/gnome/gnc-plugin-page-account-tree.c:
+	* src/gnome/window-reconcile.c:
+	  disable lot scrubbing during Check & Repair (#357370).
+	  Lots are supposed to be disabled in the 2.0 release until we
+	  get the cap-gains code working.  IMHO the cap-gains code should
+	  deal with extra txn splits instead of creating additional txns.
+
 2006-08-22  Chris Shoemaker <chris.shoemaker at cox.net>
 
    Avoid crash from opening transaction in more than one register. Bug #347089.

Modified: gnucash/branches/2.0/src/gnome/druid-acct-period.c
===================================================================
--- gnucash/branches/2.0/src/gnome/druid-acct-period.c	2006-09-23 23:46:19 UTC (rev 14889)
+++ gnucash/branches/2.0/src/gnome/druid-acct-period.c	2006-09-23 23:46:31 UTC (rev 14890)
@@ -393,7 +393,8 @@
   AccountGroup *group = gnc_get_current_group ();
   xaccGroupScrubOrphans (group);
   xaccGroupScrubImbalance (group);
-  xaccGroupScrubLots (group);
+  // XXX: Lots are disabled
+  //xaccGroupScrubLots (group);
 }
 
 /* =============================================================== */

Modified: gnucash/branches/2.0/src/gnome/gnc-plugin-page-account-tree.c
===================================================================
--- gnucash/branches/2.0/src/gnome/gnc-plugin-page-account-tree.c	2006-09-23 23:46:19 UTC (rev 14889)
+++ gnucash/branches/2.0/src/gnome/gnc-plugin-page-account-tree.c	2006-09-23 23:46:31 UTC (rev 14890)
@@ -1215,7 +1215,8 @@
 	xaccAccountScrubOrphans (account);
 	xaccAccountScrubImbalance (account);
 
-	xaccAccountScrubLots (account);
+	// XXX: Lots are disabled
+	//xaccAccountScrubLots (account);
 
 	gnc_resume_gui_refresh ();
 }
@@ -1232,7 +1233,8 @@
 	xaccAccountTreeScrubOrphans (account);
 	xaccAccountTreeScrubImbalance (account);
 
-	xaccAccountTreeScrubLots (account);
+	// XXX: Lots are disabled
+	//xaccAccountTreeScrubLots (account);
 
 	gnc_resume_gui_refresh ();
 }
@@ -1247,7 +1249,8 @@
 	xaccGroupScrubOrphans (group);
 	xaccGroupScrubImbalance (group);
 
-	xaccGroupScrubLots (group);
+	// XXX: Lots are disabled
+	//xaccGroupScrubLots (group);
 
 	gnc_resume_gui_refresh ();
 }

Modified: gnucash/branches/2.0/src/gnome/window-reconcile.c
===================================================================
--- gnucash/branches/2.0/src/gnome/window-reconcile.c	2006-09-23 23:46:19 UTC (rev 14889)
+++ gnucash/branches/2.0/src/gnome/window-reconcile.c	2006-09-23 23:46:31 UTC (rev 14890)
@@ -1228,7 +1228,8 @@
   xaccAccountTreeScrubOrphans (account);
   xaccAccountTreeScrubImbalance (account);
 
-  xaccAccountTreeScrubLots (account);
+  // XXX: Lots are disabled.
+  //xaccAccountTreeScrubLots (account);
 
   gnc_resume_gui_refresh ();
 }



More information about the gnucash-changes mailing list