Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026830Openbravo ERP07. Sales managementpublic2014-06-11 02:082014-08-08 18:54
jonalegriaesarte 
rafaroda 
normalminorhave not tried
closedfixed 
5
pi 
3.0PR14Q4pi 
AtulOpenbravo
Core
No
0026830: Copy order is copying discounts from the original order
Copy order is copying discounts from the original order
- Create a sales order header
- Copy order. Select an order
- The process copies the discounts
- When the user books the order, the system creates new discounts
No tags attached.
related to defect 0027472 new dmiguelez Create Lines From in Goods Shipments / Receipts is suggesting Discount lines to be copied 
Issue History
2014-06-11 02:08jonalegriaesarteNew Issue
2014-06-11 02:08jonalegriaesarteAssigned To => pramakrishnan
2014-06-11 02:08jonalegriaesarteModules => Core
2014-06-11 02:08jonalegriaesarteResolution time => 1408485600
2014-06-11 02:08jonalegriaesarteTriggers an Emergency Pack => No
2014-06-16 12:48jonalegriaesarteTarget VersionPR14Q3 => PR14Q4
2014-07-25 11:03jonalegriaesarteNote Added: 0068888
2014-07-29 17:51rafarodaStatusnew => scheduled
2014-07-29 17:51rafarodaAssigned Topramakrishnan => rafaroda
2014-07-29 17:51rafarodafix_in_branch => pi
2014-07-30 12:49rafarodaNote Added: 0068975
2014-07-30 21:58hgbotCheckin
2014-07-30 21:58hgbotNote Added: 0068988
2014-07-30 21:58hgbotStatusscheduled => resolved
2014-07-30 21:58hgbotResolutionopen => fixed
2014-07-30 21:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c96f92448e9de08880defd7b157d24a115a0852a [^]
2014-07-31 07:17AtulOpenbravoReview Assigned To => AtulOpenbravo
2014-07-31 07:17AtulOpenbravoNote Added: 0068999
2014-07-31 07:17AtulOpenbravoStatusresolved => closed
2014-07-31 07:17AtulOpenbravoFixed in Version => pi
2014-08-08 18:54hudsonbotCheckin
2014-08-08 18:54hudsonbotNote Added: 0069247
2014-08-26 15:30rafarodaRelationship addedrelated to 0027472

Notes
(0068888)
jonalegriaesarte   
2014-07-25 11:03   
It happens in purchase flow too. Resolve it in that flow also.
(0068975)
rafaroda   
2014-07-30 12:49   
Steps to test fix:
* Create a sales order for organization F&B España - Región Norte and business partner Restaurantes Luna Llena, S.A. (check that has by default a 5% discount assigned that applies in orders, if not add it): check that Basic Discounts 5% is inserted.
* Add some lines and Book the sales order: check that Basic Discounts 5% have been applied.
* Create a new sales order header for organization F&B España - Región Norte and business partner Alimentos y Supermercados, S.A (check that has by default a 10% discount assigned that applies in orders, if not add it): : check that Basic Discounts 10% is inserted.
* Click on Copy from Order and select the previous order: check that discounts have not been copied.
* Book the sales order: check that Basic Discounts 10% have been applied.
* Create a new sales order header for organization F&B España - Región Norte and business partner Hoteles Buenas Noches, S.A. (check that has no default discounts, if not deactivate them): : check that Basic Discounts is NOT inserted.
* Click on Copy from Order and select the previous order: check that discounts have not been copied.
* Book the sales order: check that Basic Discounts have NOT been applied.
* Repeat the same steps with purchase orders: ensure that purchase order lines do have a price != 0 otherwise discount will not be applied.
(0068988)
hgbot   
2014-07-30 21:58   
Repository: erp/devel/pi
Changeset: c96f92448e9de08880defd7b157d24a115a0852a
Author: Rafa Roda Palacios <rafa.roda <at> ubiquads.com>
Date: Wed Jul 30 21:57:06 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c96f92448e9de08880defd7b157d24a115a0852a [^]

Fixes issue 26830 Ignore discount lines when Copy from Order

---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder_data.xsql
---
(0068999)
AtulOpenbravo   
2014-07-31 07:17   
Review + Testing, OK.
(0069247)
hudsonbot   
2014-08-08 18:54   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/4450016dee64 [^]
Maturity status: Test