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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009427
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementmajoralways2009-06-04 08:242009-07-10 12:44
ReporternetworkbView Statuspublic 
Assigned Toareefbasha 
PriorityimmediateResolutionfixedFixed in Version2.40MP7
StatusclosedFix in branch2.40Fixed in SCM revision77bdb1ee15e6
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product Version2.40MP3SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009427: 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 ]
related to backport 00117512.40MP14 closedharikrishnan You can't reactivate an invoice created in a last version 
blocks defect 0009325 closedareefbasha The invoices without lines are not posted and you get an error in the packground process that stop the process 

-  Notes
(0017601)
hgbot (developer)
2009-06-26 07:36

Repository: erp/stable/2.40
Changeset: 4a96b6600e1de28c3b0f691138c7fffe18c26ac2
Author: Areef Basha <areef.basha <at> openbravo.com>
Date: Fri Jun 26 11:01:09 2009 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/4a96b6600e1de28c3b0f691138c7fffe18c26ac2 [^]

Fixed bug 9427. 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
---
(0017729)
sureshbabu (reporter)
2009-07-01 12:40
edited on: 2009-07-01 15:36

Hi

Its working fine for Oracle context but the fix is not working as expected in Postgres context.

Thanks
Suresh.

(0017923)
rafaroda (developer)
2009-07-06 09:06

Tested on PostgreSQL and working fine for me.

Suresh, could you please double-check?

Thanks.
(0018069)
rafaroda (developer)
2009-07-09 19:18

Defect re-opened.

Fix is not acceptable since records in Core Range has been inserted into AD_MESSAGE https://code.openbravo.com/erp/stable/2.40/diff/4a96b6600e1d/src-db/database/sourcedata/AD_MESSAGE.xml [^]

Please remove this record of the Core Range, set properly your development environment ID, ant update.database and recreate the message in AD_MESSAGE.

Related to issue https://issues.openbravo.com/view.php?id=9794#bugnotes [^]

Thanks.
(0018074)
hgbot (developer)
2009-07-10 08:45

Repository: erp/stable/2.40
Changeset: 77bdb1ee15e6fd095a0d89bcbe3417134786d71d
Author: Areef Basha <areef.basha <at> openbravo.com>
Date: Fri Jul 10 12:11:20 2009 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/77bdb1ee15e6fd095a0d89bcbe3417134786d71d [^]

Fixed bug 9427. 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/sourcedata/AD_MESSAGE.xml
---
(0018096)
sureshbabu (reporter)
2009-07-10 12:44

Tested working fine in both the context

- Issue History
Date Modified Username Field Change
2009-06-10 17:55 psarobe Type defect => backport
2009-06-10 17:55 psarobe fix_in_branch => 2.40
2009-06-22 18:00 rafaroda Assigned To eduardo_Argal => areefbasha
2009-06-22 18:00 rafaroda Steps to Reproduce Updated
2009-06-26 07:36 hgbot Checkin
2009-06-26 07:36 hgbot Note Added: 0017601
2009-06-26 07:36 hgbot Status scheduled => resolved
2009-06-26 07:36 hgbot Resolution open => fixed
2009-06-26 07:36 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/4a96b6600e1de28c3b0f691138c7fffe18c26ac2 [^]
2009-07-01 12:40 sureshbabu Status resolved => new
2009-07-01 12:40 sureshbabu Resolution fixed => open
2009-07-01 12:40 sureshbabu Note Added: 0017729
2009-07-01 15:36 sureshbabu Note Edited: 0017729
2009-07-06 09:05 rafaroda Status new => scheduled
2009-07-06 09:06 rafaroda Note Added: 0017923
2009-07-06 09:06 rafaroda Status scheduled => resolved
2009-07-09 19:18 rafaroda Status resolved => new
2009-07-09 19:18 rafaroda Note Added: 0018069
2009-07-09 19:18 rafaroda Status new => scheduled
2009-07-09 19:18 rafaroda Fixed in SCM revision http://code.openbravo.com/erp/stable/2.40/rev/4a96b6600e1de28c3b0f691138c7fffe18c26ac2 [^] =>
2009-07-10 08:45 hgbot Checkin
2009-07-10 08:45 hgbot Note Added: 0018074
2009-07-10 08:45 hgbot Status scheduled => resolved
2009-07-10 08:45 hgbot Resolution open => fixed
2009-07-10 08:45 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/77bdb1ee15e6fd095a0d89bcbe3417134786d71d [^]
2009-07-10 12:44 sureshbabu Status resolved => closed
2009-07-10 12:44 sureshbabu Note Added: 0018096
2009-07-10 12:44 sureshbabu Fixed in Version => 2.40MP7
2009-12-11 18:12 rafaroda Relationship added related to 0011751


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker