Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017456Openbravo ERP07. Sales managementpublic2011-06-01 17:112011-07-13 10:04
maite 
dalsasua 
urgentmajoralways
closedfixed 
5
2.50MP30 
2.50MP32 
Core
No
0017456: 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.
depends on backport 00179292.50MP32 closed dalsasua Improve error message when posting invoice with total amount zero 
Issue History
2011-06-01 17:11maiteNew Issue
2011-06-01 17:11maiteAssigned To => adrianromero
2011-06-01 17:11maiteModules => Core
2011-06-01 17:11maiteNote Added: 0037889
2011-06-01 19:20maiteIssue Monitored: networkb
2011-06-02 16:30maitePriorityhigh => urgent
2011-06-02 16:30maiteSeverityminor => major
2011-06-02 16:30maiteDescription Updatedbug_revision_view_page.php?rev_id=2165#r2165
2011-06-02 16:30maiteSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=2167#r2167
2011-06-02 16:30maiteProposed Solution updated
2011-06-02 16:30maiteTarget Version2.50MP32 => 2.50MP31
2011-06-03 10:57dalsasuaAssigned Toadrianromero => dalsasua
2011-06-24 12:16jonalegriaesarteTarget Version2.50MP31 => 2.50MP32
2011-07-07 16:08dalsasuaStatusnew => scheduled
2011-07-07 16:08dalsasuafix_in_branch => pi
2011-07-11 09:01hgbotCheckin
2011-07-11 09:01hgbotNote Added: 0038954
2011-07-11 09:01hgbotStatusscheduled => resolved
2011-07-11 09:01hgbotResolutionopen => fixed
2011-07-11 09:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ebc3ecedee6b25de966a0e974b1b5949934d90fe [^]
2011-07-11 18:10hudsonbotCheckin
2011-07-11 18:10hudsonbotNote Added: 0038996
2011-07-13 10:04maiteNote Added: 0039028
2011-07-13 10:04maiteStatusresolved => closed

Notes
(0037889)
maite   
2011-06-01 17:11   
support ticket=11744
(0038954)
hgbot   
2011-07-11 09:01   
Repository: erp/devel/pi
Changeset: ebc3ecedee6b25de966a0e974b1b5949934d90fe
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Fri Jul 08 10:39:02 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ebc3ecedee6b25de966a0e974b1b5949934d90fe [^]

Fixes issue 17456.
Improve error message when posting invoice with total amount zero

---
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
---
(0038996)
hudsonbot   
2011-07-11 18:10   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/338b04b7d837 [^]

Maturity status: Test
(0039028)
maite   
2011-07-13 10:04   
verified