Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035335Openbravo ERP03. Procurement managementpublic2017-02-22 10:562017-03-15 20:20
ngarcia 
marvintm 
immediatemajoralways
closedfixed 
5
 
3.0PR17Q2 
guilleaer
Core
3.0PR16Q3
No
0035335: 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.
depends on backport 00353733.0PR17Q1 closed marvintm Openbravo ERP Price Adjustments are not applied in Purchase Flow 
depends on backport 00353743.0PR16Q4.3 closed marvintm Openbravo ERP Price Adjustments are not applied in Purchase Flow 
caused by defect 0032544 closed shivum039 Retail Modules automatic discounts are applied in backoffice purchase flow 
Issue History
2017-02-22 10:56ngarciaNew Issue
2017-02-22 10:56ngarciaAssigned To => Triage Finance
2017-02-22 10:56ngarciaModules => Core
2017-02-22 10:56ngarciaResolution time => 1489532400
2017-02-22 10:56ngarciaRegression introduced in release => 3.0PR16Q3
2017-02-22 10:56ngarciaTriggers an Emergency Pack => No
2017-02-22 11:00ngarciaRelationship addedcaused by 0032544
2017-02-22 11:08PracticsIssue Monitored: Practics
2017-02-22 13:22heccamIssue Monitored: heccam
2017-02-22 15:57plujanIssue Monitored: plujan
2017-02-24 14:54vmromanosAssigned ToTriage Finance => Retail
2017-02-27 19:00marvintmNote Added: 0094646
2017-02-27 19:02hgbotCheckin
2017-02-27 19:02hgbotNote Added: 0094647
2017-02-27 19:02hgbotStatusnew => resolved
2017-02-27 19:02hgbotResolutionopen => fixed
2017-02-27 19:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/109cbdd69e7c0c0d053b93fa3cbc38e08a1e296c [^]
2017-02-27 19:02hgbotCheckin
2017-02-27 19:02hgbotNote Added: 0094648
2017-02-27 19:02hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/109cbdd69e7c0c0d053b93fa3cbc38e08a1e296c [^] => http://code.openbravo.com/erp/devel/pi/rev/1e74956589706b5fc7ea6fa7c92cc5414d5c2068 [^]
2017-02-28 07:58marvintmStatusresolved => new
2017-02-28 07:58marvintmResolutionfixed => open
2017-02-28 07:58marvintmStatusnew => scheduled
2017-02-28 07:58marvintmStatusscheduled => resolved
2017-02-28 07:58marvintmFixed in Version => 3.0PR17Q2
2017-02-28 07:58marvintmResolutionopen => fixed
2017-03-01 15:17marvintmAssigned ToRetail => marvintm
2017-03-06 16:55guilleaerReview Assigned To => guilleaer
2017-03-06 16:55guilleaerStatusresolved => closed
2017-03-15 20:20hudsonbotCheckin
2017-03-15 20:20hudsonbotNote Added: 0095238
2017-03-15 20:20hudsonbotCheckin
2017-03-15 20:20hudsonbotNote Added: 0095239

Notes
(0094646)
marvintm   
2017-02-27 19:00   
Changes for the following issues will be reverted:

https://issues.openbravo.com/view.php?id=32544 [^]
https://issues.openbravo.com/view.php?id=34103 [^]
(0094647)
hgbot   
2017-02-27 19:02   
Repository: erp/devel/pi
Changeset: 109cbdd69e7c0c0d053b93fa3cbc38e08a1e296c
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Feb 27 18:52:09 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/109cbdd69e7c0c0d053b93fa3cbc38e08a1e296c [^]

Fixed issue 35335. Reenable automatic discounts in purchase flows.

---
M src-db/database/model/functions/M_PROMOTION_ADJUSTMENT.xml
M src/org/openbravo/erpCommon/businessUtility/PriceAdjustment.java
---
(0094648)
hgbot   
2017-02-27 19:02   
Repository: erp/devel/pi
Changeset: 1e74956589706b5fc7ea6fa7c92cc5414d5c2068
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Feb 27 18:52:27 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1e74956589706b5fc7ea6fa7c92cc5414d5c2068 [^]

Fixed issue 35335. Reenable automatic discounts in purchase flows.

---
M src-db/database/model/functions/M_PROMOTION_ADJUSTMENT.xml
---
(0095238)
hudsonbot   
2017-03-15 20:20   
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/54e102bef53e [^]
Maturity status: Test
(0095239)
hudsonbot   
2017-03-15 20:20   
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/54e102bef53e [^]
Maturity status: Test