Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015929Openbravo ERP07. Sales managementpublic2011-02-10 16:162011-02-19 00:00
adrianromero 
adrianromero 
urgentmajoralways
closedsuspended 
20Community Appliance
pi 
 
Core
No
0015929: A sales order with discount cannot be reactivated
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
. 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»"
No tags attached.
depends on backport 00156672.50MP27 closed adrianromero A sales order with discount cannot be reactivated 
related to backport 0016056 closed mirurita A sales order with discount cannot be reactivated nor closed 
Issue History
2011-02-10 16:16adrianromeroNew Issue
2011-02-10 16:16adrianromeroAssigned To => adrianromero
2011-02-10 16:16adrianromeroModules => Core
2011-02-10 16:16adrianromeroIssue generated from0015667
2011-02-10 16:16adrianromeroRelationship addeddepends on 0015667
2011-02-10 16:17adrianromeroStatusnew => scheduled
2011-02-10 16:17adrianromerofix_in_branch => pi
2011-02-18 11:54adrianromeroNote Added: 0034260
2011-02-18 11:54adrianromeroStatusscheduled => closed
2011-02-18 11:54adrianromeroResolutionopen => suspended
2011-02-19 00:00anonymoussf_bug_id0 => 3186251
2011-02-25 12:25adrianromeroRelationship addedrelated to 0016056
2011-03-17 11:46adrianromeroRelationship addedrelated to 0016350

Notes
(0034260)
adrianromero   
2011-02-18 11:54   
Currently it is not implemented the functionality of reactivating orders with discounts and with a related shipment or invoice voided.

This functionality must be analyzed and implemented.