Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035374Openbravo ERP03. Procurement managementpublic2017-02-22 10:562017-03-06 16:55
ngarcia 
marvintm 
immediatemajoralways
closedfixed 
5
 
3.0PR16Q4.33.0PR16Q4.3 
guilleaer
Core
3.0PR16Q3
No
0035374: Price Adjustments are not applied in Purchase Flow
Price Adjustments are not applied in Purchase Flow
As group admin role:
   Create a new record in Discounts and Promotions window:
      Discount/Promotion Type: Price Adjustment
      Starting Date: today
      Included ...: All excluding defined (in order to be applied always)
      Discount %: 50
   Create a Sales Order, add a product to it and check Net Unit Price field is updated with the discount
   Create a Sales Invoice, add a product to it and check Net Unit Price field is updated with the discount
   Create a Purchase Order, add a product to it and check Net Unit Price field is not updated with the discount. This is wrong
   Create a Sales Invoice, add a product to it and check Net Unit Price field is not updated with the discount. This is wrong
No tags attached.
blocks defect 0035335 closed marvintm Price Adjustments are not applied in Purchase Flow 
Issue History
2017-02-28 07:58marvintmTypedefect => backport
2017-02-28 07:58marvintmTarget Version => 3.0PR16Q4.3
2017-02-28 08:03hgbotCheckin
2017-02-28 08:03hgbotNote Added: 0094651
2017-02-28 08:03hgbotStatusscheduled => resolved
2017-02-28 08:03hgbotResolutionopen => fixed
2017-02-28 08:03hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/1e74956589706b5fc7ea6fa7c92cc5414d5c2068 [^] => http://code.openbravo.com/erp/backports/3.0PR16Q4.3/rev/9291ff6208fd309e4928bbe62cbba93d6035ef90 [^]
2017-02-28 08:03hgbotCheckin
2017-02-28 08:03hgbotNote Added: 0094652
2017-02-28 08:03hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/backports/3.0PR16Q4.3/rev/9291ff6208fd309e4928bbe62cbba93d6035ef90 [^] => http://code.openbravo.com/erp/backports/3.0PR16Q4.3/rev/476fb244991002c5b36eaca698b4d39e0dbe4581 [^]
2017-03-01 15:17marvintmAssigned ToRetail => marvintm
2017-03-06 16:55guilleaerReview Assigned To => guilleaer
2017-03-06 16:55guilleaerStatusresolved => closed
2017-03-06 16:55guilleaerFixed in Version => 3.0PR16Q4.3

Notes
(0094651)
hgbot   
2017-02-28 08:03   
Repository: erp/backports/3.0PR16Q4.3
Changeset: 9291ff6208fd309e4928bbe62cbba93d6035ef90
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 28 08:02:43 2017 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR16Q4.3/rev/9291ff6208fd309e4928bbe62cbba93d6035ef90 [^]

Fixed issue 35374. Reenable automatic discounts in purchase flows.

---
M src-db/database/model/functions/M_PROMOTION_ADJUSTMENT.xml
M src/org/openbravo/erpCommon/businessUtility/PriceAdjustment.java
---
(0094652)
hgbot   
2017-02-28 08:03   
Repository: erp/backports/3.0PR16Q4.3
Changeset: 476fb244991002c5b36eaca698b4d39e0dbe4581
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 28 08:02:50 2017 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR16Q4.3/rev/476fb244991002c5b36eaca698b4d39e0dbe4581 [^]

Fixed issue 35374. Reenable automatic discounts in purchase flows.

---
M src-db/database/model/functions/M_PROMOTION_ADJUSTMENT.xml
---