commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue-luca] r19 - trunk/finance


From: reinhard
Subject: [gnue-luca] r19 - trunk/finance
Date: Tue, 8 Mar 2005 08:41:18 -0600 (CST)

Author: reinhard
Date: 2005-03-08 08:41:17 -0600 (Tue, 08 Mar 2005)
New Revision: 19

Modified:
   trunk/finance/acc-main.gfd
Log:
Only list active accounting periods.


Modified: trunk/finance/acc-main.gfd
===================================================================
--- trunk/finance/acc-main.gfd  2005-02-09 18:34:12 UTC (rev 18)
+++ trunk/finance/acc-main.gfd  2005-03-08 14:41:17 UTC (rev 19)
@@ -34,7 +34,11 @@
     name="dtsPeriodDropdown"
     connection="appserver"
     table="gl_period"
-    prequery="Y" />
+    prequery="Y">
+    <condition>
+      <eq><cfield name="gl_active" /><cconst value="True" /></eq>
+    </condition>
+  </datasource>
 
   <datasource name="dtsPeriod" connection="appserver" table="gl_period" />
   <datasource name="dtsJournal" connection="appserver" table="gl_journal"
@@ -67,7 +71,6 @@
             # FIXME: This is necessary because a dropdown-source (without
             # block) cannot be a master.
             dtsPeriod.createResultSet ({'gnue_id': blk.fldPeriod.get()})
-            print blkPeriod.isEmpty ()
             # Most of the time, the user will want to continue to enter
             # transactions at the end of the journal
             blkTrans.lastRecord ()





reply via email to

[Prev in Thread] Current Thread [Next in Thread]