Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0017212 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 03. Procurement management | major | always | 2011-05-17 17:26 | 2011-05-26 07:44 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP0 | |||
Status | closed | Fix in branch | Fixed in SCM revision | fe95455737a5 | ||||
Projection | none | ETA | none | Target Version | 3.0MP0 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0037101) hgbot (developer) 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 --- |
(0037103) adrianromero (viewer) 2011-05-17 17:33 |
* 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 (viewer) 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. |
(0037479) hudsonbot (viewer) 2011-05-26 07:44 |
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/728387046be6 [^] Maturity status: Test |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |