Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0017118 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 03. Procurement management | major | always | 2011-05-11 13:28 | 2011-05-19 09:43 | |||
Reporter | maite | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 2.50MP30 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 375d11540b62 | ||||
Projection | none | ETA | none | Target Version | 2.50MP30 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP29 | 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 | 0017118: 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 | ||||||||
![]() |
||||||||
|
![]() |
|
(0037100) hgbot (developer) 2011-05-17 17:27 |
Repository: erp/stable/2.50 Changeset: 375d11540b62362e79e9c5ec14e9f433e73da437 Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Tue May 17 17:25:03 2011 +0200 URL: http://code.openbravo.com/erp/stable/2.50/rev/375d11540b62362e79e9c5ec14e9f433e73da437 [^] Fixes issue 0017118: 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 --- |
(0037102) 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. |
(0037187) maite (viewer) 2011-05-19 09:43 |
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. |
![]() |
|||
Date Modified | Username | Field | Change |
2011-05-11 13:28 | maite | New Issue | |
2011-05-11 13:28 | maite | Assigned To | => adrianromero |
2011-05-11 13:28 | maite | Modules | => Core |
2011-05-11 13:28 | maite | OBNetwork customer | => Yes |
2011-05-11 13:30 | maite | Issue Monitored: networkb | |
2011-05-17 17:25 | adrianromero | Status | new => scheduled |
2011-05-17 17:25 | adrianromero | Type | defect => backport |
2011-05-17 17:26 | adrianromero | Issue cloned | 0017212 |
2011-05-17 17:26 | adrianromero | Relationship added | depends on 0017212 |
2011-05-17 17:27 | hgbot | Checkin | |
2011-05-17 17:27 | hgbot | Note Added: 0037100 | |
2011-05-17 17:27 | hgbot | Status | scheduled => resolved |
2011-05-17 17:27 | hgbot | Resolution | open => fixed |
2011-05-17 17:27 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/375d11540b62362e79e9c5ec14e9f433e73da437 [^] |
2011-05-17 17:33 | adrianromero | Note Added: 0037102 | |
2011-05-19 09:43 | maite | Note Added: 0037187 | |
2011-05-19 09:43 | maite | Status | resolved => closed |
2011-05-19 09:43 | maite | Fixed in Version | => 2.50MP30 |
Copyright © 2000 - 2009 MantisBT Group |