details:   https://code.openbravo.com/erp/devel/pi/rev/aca3b5a8e7cb
changeset: 13813:aca3b5a8e7cb
user:      Mikel Irurita <mikel.irurita <at> openbravo.com>
date:      Tue Sep 20 19:50:12 2011 +0200
summary:   Related to issue 18546: 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 6f3c663497e9 -r aca3b5a8e7cb 
src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
--- a/src/org/openbravo/erpCommon/ad_forms/DocInvoice.java      Tue Sep 20 
19:08:40 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/DocInvoice.java      Tue Sep 20 
19:50:12 2011 +0200
@@ -769,7 +769,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 (ServletException 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