Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0017212 | Openbravo ERP | 03. Procurement management | public | 2011-05-17 17:26 | 2011-05-26 07:44 |
|
Reporter | adrianromero | |
Assigned To | adrianromero | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0MP0 | Fixed in Version | 3.0MP0 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0017212: Should not be possible to void an invoice with no lines, as it is not possible to complete it |
Description | Should not be possible to void an invoice with no lines, as it is not possible to complete it |
Steps To Reproduce | 1. Create Purchase invoice for mcgiver
2. Add line with any product and any tax. Go to Tax tab and realize that tax line is there.
3. Delete line
4. Go to invoice header and try to Complete invoice. You will obtain coherent error.
5. Try to void the invoice and realize that you are able to void and post it. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | backport | 0017118 | 2.50MP30 | closed | adrianromero | Should not be possible to void an invoice with no lines, as it is not possible to complete it |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-05-17 17:26 | adrianromero | New Issue | |
2011-05-17 17:26 | adrianromero | Assigned To | => adrianromero |
2011-05-17 17:26 | adrianromero | Modules | => Core |
2011-05-17 17:26 | adrianromero | OBNetwork customer | => Yes |
2011-05-17 17:26 | adrianromero | Issue generated from | 0017118 |
2011-05-17 17:26 | adrianromero | Relationship added | blocks 0017118 |
2011-05-17 17:30 | hgbot | Checkin | |
2011-05-17 17:30 | hgbot | Note Added: 0037101 | |
2011-05-17 17:30 | hgbot | Status | new => resolved |
2011-05-17 17:30 | hgbot | Resolution | open => fixed |
2011-05-17 17:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fe95455737a570a553df541b7d4dcb9425f7635b [^] |
2011-05-17 17:33 | adrianromero | Note Added: 0037103 | |
2011-05-19 09:44 | maite | Note Added: 0037188 | |
2011-05-19 09:44 | maite | Status | resolved => closed |
2011-05-19 09:44 | maite | Fixed in Version | => 3.0MP0 |
2011-05-26 07:44 | hudsonbot | Checkin | |
2011-05-26 07:44 | hudsonbot | Note Added: 0037479 | |
Notes |
|
(0037101)
|
hgbot
|
2011-05-17 17:30
|
|
Repository: erp/devel/pi
Changeset: fe95455737a570a553df541b7d4dcb9425f7635b
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue May 17 17:29:14 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fe95455737a570a553df541b7d4dcb9425f7635b [^]
Fixes issue 0017212: Should not be possible to void an invoice with no lines, as it is not possible to complete it
It has been added a check in the C_INVOICE_POST function that verifies that an invoice must not be voided if it has no lines and no taxes
---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
|
|
|
|
* Testing the issue
Verify that sales invoices and purchase invoices in draft cannot be voided if it has no lines and no taxes.
* Other areas affected
No other areas affected. Only the C_INVOICE_POST function for draft invoices that are posted to be voided has been modified. |
|
|
(0037188)
|
maite
|
2011-05-19 09:44
|
|
Verified.
When trying to void invoice without lines you obtain error message. Also verifies that standard flow (reactivate, complete and void the invoice) works as expected. |
|
|
|
|