details:   https://code.openbravo.com/erp/stable/2.50/rev/bf8ce360b2fa
changeset: 9660:bf8ce360b2fa
user:      Mikel Irurita <mikel.irurita <at> openbravo.com>
date:      Tue Sep 20 19:55:22 2011 +0200
summary:   Related to issue 18568: improve message to InvalidAccount

diffstat:

 src/org/openbravo/erpCommon/ad_forms/DocInvoice.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 41e1494a6020 -r bf8ce360b2fa 
src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
--- a/src/org/openbravo/erpCommon/ad_forms/DocInvoice.java      Tue Sep 20 
16:21:44 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/DocInvoice.java      Tue Sep 20 
19:55:22 2011 +0200
@@ -766,7 +766,7 @@
         if (countFinInv != 0 && (countFinInv != countGLItemAcct)) {
           log4jDocInvoice.debug("DocInvoice - getDocumentConfirmation - GL 
Item used in financial "
               + "invoice lines debit/credit accounts must be defined.");
-          setStatus(STATUS_Error);
+          setStatus(STATUS_InvalidAccount);
           return false;
         }
       } catch (Exception e) {

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to