Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0009427 | Openbravo ERP | 09. Financial management | public | 2009-06-04 08:24 | 2009-07-10 12:44 |
|
Reporter | networkb | |
Assigned To | areefbasha | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | |
Product Version | 2.40MP3 | |
Target Version | | Fixed in Version | 2.40MP7 | |
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 | 0009427: The invoices without lines are not posted and you get an error in the packground process that stop the process |
Description | The 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 Solution | Since 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 |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | backport | 0011751 | 2.40MP14 | closed | harikrishnan | You can't reactivate an invoice created in a last version | blocks | defect | 0009325 | | closed | areefbasha | The invoices without lines are not posted and you get an error in the packground process that stop the process |
|
Attached Files | |
|
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 |
Notes |
|
(0017601)
|
hgbot
|
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
|
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.
|
|
|
|
Tested on PostgreSQL and working fine for me.
Suresh, could you please double-check?
Thanks. |
|
|
|
|
|
(0018074)
|
hgbot
|
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
---
|
|
|
|
Tested working fine in both the context |
|