| Openbravo Issue Tracking System - Openbravo ERP | 
| View Issue Details | 
| 
 | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0015667 | Openbravo ERP | 07. Sales management | public | 2011-01-16 00:47 | 2011-02-18 11:53 | 
| 
 | 
| Reporter | malsasua |  | 
| Assigned To | adrianromero |  | 
| Priority | urgent | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | suspended |  | 
| Platform |  | OS | 20 | OS Version | Community Appliance | 
| Product Version | 2.50MP25 |  | 
| Target Version | 2.50MP27 | Fixed in Version |  |  | 
| 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 | 0015667: A sales order with discount cannot be reactivated | 
| Description | if there is a sales order with discount, and it is invoiced, but after that, the invoice is voided, if you try reactivate the sales order, error is returned | 
| 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 | 0016056 |  | closed | mirurita | A sales order with discount cannot be reactivated nor closed |  | blocks | defect | 0015929 |  | closed | adrianromero | A sales order with discount cannot be reactivated | 
 | 
| Attached Files |  | 
| 
 | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2011-01-16 00:47 | malsasua | New Issue |  | 
| 2011-01-16 00:47 | malsasua | Assigned To | => adrianromero | 
| 2011-01-16 00:47 | malsasua | Modules | => Core | 
| 2011-01-16 00:47 | malsasua | OBNetwork customer | => Yes | 
| 2011-01-16 00:49 | malsasua | Issue Monitored: networkb |  | 
| 2011-02-04 11:05 | adrianromero | Note Added: 0034053 |  | 
| 2011-02-09 13:27 | adrianromero | Target Version | 2.50MP26 => 2.50MP27 | 
| 2011-02-10 16:16 | adrianromero | Status | new => scheduled | 
| 2011-02-10 16:16 | adrianromero | fix_in_branch | => pi | 
| 2011-02-10 16:16 | adrianromero | Type | defect => backport | 
| 2011-02-10 16:16 | adrianromero | fix_in_branch | pi => | 
| 2011-02-10 16:16 | adrianromero | Issue cloned | 0015929 | 
| 2011-02-10 16:16 | adrianromero | Relationship added | blocks 0015929 | 
| 2011-02-18 11:52 | adrianromero | Note Added: 0034259 |  | 
| 2011-02-18 11:53 | adrianromero | Status | scheduled => closed | 
| 2011-02-18 11:53 | adrianromero | Resolution | open => suspended | 
| 2011-02-25 12:24 | adrianromero | Relationship added | blocks 0016056 | 
| 2011-02-25 12:25 | adrianromero | Relationship deleted | blocks 0016056 | 
| 2011-02-25 12:25 | adrianromero | Relationship added | related to 0016056 |