Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017929Openbravo ERP07. Sales managementpublic2011-06-01 17:112011-07-13 10:08
maite 
dalsasua 
urgentmajoralways
closedfixed 
5
2.50MP30 
2.50MP322.50MP32 
Core
No
0017929: Improve error message when posting invoice with total amount zero
Improve error message when posting invoice with total amount zero.
Actual message is "Posted" in red, which is incoherent because record is not really posted (if you try to access to its entry you will obtain error "NoFactAcct")
1. Create sales invoice for any bp and any org
2. Add line for any product and quantity=0
3. Complete invoice and Post it. You will obtain screenshot message.

Although is correct that accounting entry is not generated as amount is zero, document should be left in status different to Posted or Unposted and message should be improved.
leave document in status "Document disabled for accounting" and improve error message to say inform that fact acct entry is not generated as amount are zero.
No tags attached.
blocks defect 00174562.50MP32 closed dalsasua Improve error message when posting invoice with total amount zero 
Issue History
2011-07-07 16:08dalsasuaTypedefect => backport
2011-07-07 16:08dalsasuafix_in_branch => 2.50
2011-07-07 17:03hgbotCheckin
2011-07-07 17:03hgbotNote Added: 0038924
2011-07-07 17:03hgbotStatusscheduled => resolved
2011-07-07 17:03hgbotResolutionopen => fixed
2011-07-07 17:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/21d8563de26ab4383b77704282c0cb9fea059363 [^]
2011-07-13 10:08maiteNote Added: 0039029
2011-07-13 10:08maiteStatusresolved => closed
2011-07-13 10:08maiteFixed in Version => 2.50MP32

Notes
(0038924)
hgbot   
2011-07-07 17:03   
Repository: erp/stable/2.50
Changeset: 21d8563de26ab4383b77704282c0cb9fea059363
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Thu Jul 07 16:33:27 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/21d8563de26ab4383b77704282c0cb9fea059363 [^]

Fixes issue 17929: Improve error message whith zero invoices

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---
(0039029)
maite   
2011-07-13 10:08   
verified