commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r10097 - trunk/gnue-sample/forms


From: reinhard
Subject: [gnue] r10097 - trunk/gnue-sample/forms
Date: Mon, 7 Dec 2009 03:35:46 -0600 (CST)

Author: reinhard
Date: 2009-12-07 03:35:46 -0600 (Mon, 07 Dec 2009)
New Revision: 10097

Modified:
   trunk/gnue-sample/forms/invoices.gfd
Log:
Improvement to example.


Modified: trunk/gnue-sample/forms/invoices.gfd
===================================================================
--- trunk/gnue-sample/forms/invoices.gfd        2009-12-07 09:33:10 UTC (rev 
10096)
+++ trunk/gnue-sample/forms/invoices.gfd        2009-12-07 09:35:46 UTC (rev 
10097)
@@ -162,7 +162,7 @@
           it has a valid value.  If not, an exception will be raised.
           -->
         <trigger type="PRE-FOCUSOUT">
-          if not blk_invoice_item.quantity.value:
+          if blk_invoice_item.get_record_status() != 'empty' and not 
blk_invoice_item.quantity.value:
               abort('Please enter a valid quantity')
         </trigger>
 





reply via email to

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