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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017212
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2011-05-17 17:262011-05-26 07:44
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PriorityurgentResolutionfixedFixed in Version3.0MP0
StatusclosedFix in branchFixed in SCM revisionfe95455737a5
ProjectionnoneETAnoneTarget Version3.0MP0
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017212: 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 ]
blocks backport 00171182.50MP30 closedadrianromero Should not be possible to void an invoice with no lines, as it is not possible to complete it 

-  Notes
(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 (manager)
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 (developer)
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 (developer)
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

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