Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2009-06-04 08:242009-07-16 17:55
ReporternetworkbView Statuspublic 
Assigned Toareefbasha 
PriorityimmediateResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisionc514d884966b
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product Version2.40MP3SCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0009325: The invoices without lines are not posted and you get an error in the packground process that stop the process

DescriptionThe invoices without lines are not posted and you get an error in the packground process that stop the process
Steps To Reproduce-Create a new invoice without lines
-Complete the invoice
-Try to post, and you get an error.
-The error also happens in the background posting process
Proposed SolutionSince it is possible to complete an invoice without lines but having taxes (customs invoice) the solution must be:

Allow to complete (from Draft to Complete) an invoice only in these cases:
* There are invoice lines
* There are tax lines
* There are both invoice and tax lines
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0009427 closedareefbasha The invoices without lines are not posted and you get an error in the packground process that stop the process 
related to defect 00116452.40MP14 closedharikrishnan You can't reactivate an invoice created in a last version 

-  Notes
rafaroda (developer)
2009-06-05 12:37

"-Try to post, and you get an error." We could not reproduce this step: invoice was posted but no general ledger journal was shown. Please give more details in order to reproduce this issue.

networkb (developer)
2009-06-09 10:06

We are trying to reproduce the error but maybe it has sense to not allow to complete a order if it has not lines.
Do you think that it has sense?
networkb (developer)
2009-06-16 12:30

After discuss, it should be possible to complete invoices without lines, because in some cases are needed to include only taxes.
The problem in this case, is that the background process goes to a infinite loop
hgbot (developer)
2009-06-26 07:41

Repository: erp/devel/pi
Changeset: c514d884966bf7e9b1aeb203071e7ca647bdbc5c
Author: Areef Basha <areef.basha <at>>
Date: Fri Jun 26 11:06:39 2009 +0530
URL: [^]

Fixed bug 9325. The invoices without lines are not posted.
Now the invoice has been made to complete only if it has line(s).

M src-db/database/model/functions/C_INVOICE_POST.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
sureshbabu (reporter)
2009-07-03 12:38

Tested in both the context working fine

- Issue History
Date Modified Username Field Change
2009-06-04 08:24 networkb New Issue
2009-06-04 08:24 networkb Assigned To => rafaroda
2009-06-05 12:37 rafaroda Note Added: 0017014
2009-06-05 12:37 rafaroda Assigned To rafaroda => eduardo_Argal
2009-06-05 12:37 rafaroda Status new => feedback
2009-06-09 10:06 networkb Note Added: 0017128
2009-06-09 10:20 networkb Status feedback => new
2009-06-10 17:55 psarobe Status new => scheduled
2009-06-10 17:55 psarobe fix_in_branch => pi
2009-06-16 12:30 networkb Note Added: 0017343
2009-06-22 13:31 psarobe fix_in_branch pi =>
2009-06-22 13:31 psarobe Steps to Reproduce Updated
2009-06-22 13:32 psarobe Assigned To eduardo_Argal => rafaroda
2009-06-22 17:23 psarobe Steps to Reproduce Updated
2009-06-22 17:59 rafaroda Steps to Reproduce Updated
2009-06-22 17:59 rafaroda Assigned To rafaroda => areefbasha
2009-06-26 07:41 hgbot Checkin
2009-06-26 07:41 hgbot Note Added: 0017604
2009-06-26 07:41 hgbot Status scheduled => resolved
2009-06-26 07:41 hgbot Resolution open => fixed
2009-06-26 07:41 hgbot Fixed in SCM revision => [^]
2009-07-03 12:38 sureshbabu Status resolved => closed
2009-07-03 12:38 sureshbabu Note Added: 0017786
2009-07-03 12:38 sureshbabu Fixed in Version => pi
2009-07-16 17:55 anonymous sf_bug_id 0 => 2822557
2009-12-11 18:08 rafaroda Relationship added related to 0011645

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker