Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021324Openbravo ERP07. Sales managementpublic2012-08-07 12:312017-06-07 09:46
ngarcia 
Triage Omni OMS 
urgentmajoralways
newopen 
5
pi 
 
Core
No
0021324: You can add a Discount to a booked/completed sales order/invoice
You can add a Discount to a booked/completed sales order/invoice. And if you reactivate the document it is applied
As group admin role:
   Create a Sales Order without discounts and book it
   Create a record in the Discounts tab
   Notice that you can save it although the discount is not applied. It will be applied if you reactivate the order and book it again

The same happens with sales invoices
No tags attached.
related to defect 0015931 closed jonalegriaesarte you are able to add a discount in an order completed 
Issue History
2012-08-07 12:31ngarciaNew Issue
2012-08-07 12:31ngarciaAssigned To => mirurita
2012-08-07 12:31ngarciaModules => Core
2012-08-07 12:31ngarciaResolution time => 1347314400
2012-08-07 12:31ngarciaIssue Monitored: networkb
2012-08-08 09:15jonalegriaesarteAssigned Tomirurita => jonalegriaesarte
2012-08-08 13:15jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2012-08-09 12:02jecharriRelationship addedrelated to 0015931
2012-08-09 12:11jecharriNote Added: 0051193
2012-08-09 12:11jecharriTypedefect => design defect
2012-08-28 10:13jonalegriaesarteNote Added: 0051580
2012-08-28 10:13jonalegriaesarteTarget Version3.0MP15 =>
2012-09-13 10:42jonalegriaesarteAssigned Tojecharri => dmiguelez
2015-01-13 18:51ngarciaResolution time1347314400 =>
2015-01-13 18:51ngarciaTriggers an Emergency Pack => No
2017-06-07 09:46ngarciaAssigned Todmiguelez => Triage Finance

Notes
(0051193)
jecharri   
2012-08-09 12:11   
Cannot be implemented, because of internal database technical details. Implementing the trigger functionality to avoid to create discounts in completed orders raises a "Mutating tables" exception when saving a new order with a business partner that has discounts.

In any case this is a minor issue because new added discounts to completed orders does not affects any other functionality or flow.
(0051580)
jonalegriaesarte   
2012-08-28 10:13   
Target version does not make sense in a design defect. Removing it.