Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0016056 | Openbravo ERP | 07. Sales management | public | 2011-02-25 12:23 | 2015-02-12 14:37 |
|
Reporter | adrianromero | |
Assigned To | mirurita | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | out of date | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.50MP27 | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0016056: A sales order with discount cannot be reactivated nor closed |
Description | if there is a sales order with discount, and its related invoice or shipment is voided, if you try reactivate or close the sales order, an error is returned and the operation cannot be done. |
Steps To Reproduce | . business partner with discount with check "apply in order" selected
. create a new sales order "warehouse order"
. process the order
. create and process a new invoice from sales order
. the invoice is voided
. if you try reactivate the sales order, error is returned: "update o delete en «c_orderline» viola la llave foránea «c_invoiceline_c_orderline» en la tabla «c_invoiceline»" |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | backport | 0015666 | 2.50MP27 | closed | adrianromero | A sales order with discount cannot be closed | related to | backport | 0015667 | 2.50MP27 | closed | adrianromero | A sales order with discount cannot be reactivated | related to | defect | 0015929 | | closed | adrianromero | A sales order with discount cannot be reactivated | related to | defect | 0015930 | | closed | adrianromero | A sales order with discount cannot be closed | depends on | design defect | 0016629 | | scheduled | mirurita | A sales order with discount cannot be reactivated nor closed | Not all the children of this issue are yet resolved or closed. |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-02-25 12:23 | adrianromero | New Issue | |
2011-02-25 12:23 | adrianromero | Assigned To | => adrianromero |
2011-02-25 12:23 | adrianromero | Modules | => Core |
2011-02-25 12:23 | adrianromero | Status | new => scheduled |
2011-02-25 12:23 | adrianromero | fix_in_branch | => pi |
2011-02-25 12:24 | adrianromero | Relationship added | related to 0015677 |
2011-02-25 12:24 | adrianromero | Relationship deleted | related to 0015677 |
2011-02-25 12:24 | adrianromero | Relationship added | depends on 0015667 |
2011-02-25 12:24 | adrianromero | Relationship added | related to 0015666 |
2011-02-25 12:24 | adrianromero | Relationship added | related to 0015959 |
2011-02-25 12:25 | adrianromero | Relationship deleted | related to 0015959 |
2011-02-25 12:25 | adrianromero | Relationship deleted | depends on 0015667 |
2011-02-25 12:25 | adrianromero | Relationship added | related to 0015667 |
2011-02-25 12:25 | adrianromero | Relationship added | related to 0015929 |
2011-02-25 12:25 | adrianromero | Relationship added | related to 0015930 |
2011-04-04 11:14 | hgbot | Checkin | |
2011-04-04 11:14 | hgbot | Note Added: 0035515 | |
2011-04-04 11:18 | adrianromero | Type | defect => backport |
2011-04-04 11:18 | adrianromero | version | pi => 2.50MP27 |
2011-04-04 11:18 | adrianromero | fix_in_branch | pi => |
2011-04-04 11:18 | adrianromero | Issue cloned | 0016629 |
2011-04-04 11:18 | adrianromero | Relationship added | depends on 0016629 |
2011-04-27 18:03 | hgbot | Checkin | |
2011-04-27 18:03 | hgbot | Note Added: 0036138 | |
2011-04-27 18:05 | adrianromero | Note Deleted: 0036138 | |
2011-05-02 10:16 | hgbot | Checkin | |
2011-05-02 10:16 | hgbot | Note Added: 0036237 | |
2011-05-12 13:27 | hudsonbot | Checkin | |
2011-05-12 13:27 | hudsonbot | Note Added: 0036778 | |
2011-06-03 10:58 | dalsasua | Assigned To | adrianromero => dalsasua |
2011-07-20 18:16 | dalsasua | Assigned To | dalsasua => jonalegriaesarte |
2012-04-03 12:20 | jonalegriaesarte | Assigned To | jonalegriaesarte => vmromanos |
2012-05-10 12:12 | gorka_gil | Assigned To | vmromanos => mirurita |
2015-02-12 14:37 | plujan | Note Added: 0074417 | |
2015-02-12 14:37 | plujan | Status | scheduled => closed |
2015-02-12 14:37 | plujan | Resolution | open => out of date |
Notes |
|
(0035515)
|
hgbot
|
2011-04-04 11:14
|
|
Repository: erp/stable/2.50
Changeset: 7aa0c5da0436e67872949bfdabd97d4b5b087972
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon Apr 04 11:12:26 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/7aa0c5da0436e67872949bfdabd97d4b5b087972 [^]
Issue 0016056: A sales order with discount cannot be reactivated nor closed
It has been disabled the recalculation of discounts when closing orders because this is the origin of the error. The recalculation of discounts when closing an order is not necessary because discounts of a completed order are properly calculated yet.
---
M src-db/database/model/functions/C_ORDER_POST1.xml
---
|
|
|
(0036237)
|
hgbot
|
2011-05-02 10:16
|
|
Repository: erp/stable/2.50
Changeset: 692c9a694d11ecc79c8b8faead93ec449f8e35b9
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Apr 27 18:14:09 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/692c9a694d11ecc79c8b8faead93ec449f8e35b9 [^]
Issue 0016056: A sales order with discount cannot be reactivated nor closed
It has been fixed the process of closing sales orders. Discounts are recalculated reusing previous discount lines if it is not possible to delete these discount lines because there already exist records linked to these discount lines
---
M src-db/database/model/functions/C_ORDER_POST1.xml
---
|
|
|
|
|
|
(0074417)
|
plujan
|
2015-02-12 14:37
|
|
Backports to 2.50 branch are no longer supported |
|