Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017118
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 03. Procurement managementmajoralways2011-05-11 13:282011-05-19 09:43
ReportermaiteView Statuspublic 
Assigned Toadrianromero 
PriorityurgentResolutionfixedFixed in Version2.50MP30
StatusclosedFix in branchFixed in SCM revision375d11540b62
ProjectionnoneETAnoneTarget Version2.50MP30
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP29SCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerOBPS
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017118: Should not be possible to void an invoice with no lines, as it is not possible to complete it

DescriptionShould not be possible to void an invoice with no lines, as it is not possible to complete it
Steps To Reproduce1. 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 00172123.0MP0 closedadrianromero Should not be possible to void an invoice with no lines, as it is not possible to complete it 

-  Notes
(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.

- Issue History
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
Powered by Mantis Bugtracker