Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008484Openbravo ERP07. Sales managementpublic2009-04-07 13:172009-05-10 00:00
sureshbabu 
jayakumar 
normalminoralways
closedfixed 
30
2.50beta 
2.50MP1 
Core
No
0008484: Price adjustments applied to a sales order even after the business partner is checked as inactive in Price adjustment
Price adjustments, wrongly applied to a sales order even after business partners exclude them from a price adjustment by unmarking the active check box

Here i created a Price adjustments with valid name,Starting date as today's date, Discount % as 10 and select Included Business partners = all selected and all other filters are set to not selected.

And then i have moved to business partner tab, and created two records.
record 1) select any BP with active status
record 2) select any BP with inactive status.


Then i have created a Sales order for the BP which is inactive status in the above created price adjustment and then created a line item by selecting a product.

Then i moved to Price adjustments tab, and find an Offer line added wrongly.


The system not considered the status field before applying the price adjustment.

250 final review, 250MP1, comsupchennai_sprint4
Issue History
2009-04-07 13:17sureshbabuNew Issue
2009-04-07 13:17sureshbabuAssigned To => rafaroda
2009-04-07 13:17sureshbabuRegression testing => No
2009-04-07 13:18sureshbabuTag Attached: 250 final review
2009-04-07 18:21psarobeSeveritymajor => minor
2009-04-07 18:21psarobeStatusnew => scheduled
2009-04-08 10:11rafarodaAssigned Torafaroda => sathiyan
2009-04-08 10:42sathiyanAssigned Tosathiyan => jayakumar
2009-04-22 12:58hgbotCheckin
2009-04-22 12:58hgbotNote Added: 0015527
2009-04-22 12:58hgbotStatusscheduled => resolved
2009-04-22 12:58hgbotResolutionopen => fixed
2009-04-22 12:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6239898f6ec0f596091040ee499c6ca0636c3862 [^]
2009-04-24 12:00jayakumarTag Attached: comsupchennai_sprint4
2009-05-09 21:09psarobeStatusresolved => closed
2009-05-10 00:00anonymoussf_bug_id0 => 2789540
2009-05-10 00:00psarobeTag Attached: 250MP1

Notes
(0015527)
hgbot   
2009-04-22 12:58   
Repository: erp/devel/pi
Changeset: 6239898f6ec0f596091040ee499c6ca0636c3862
Author: Jayakumar Kasinathan <jayakumar.kasinathan <at> openbravo.com>
Date: Wed Apr 22 04:29:08 2009 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/6239898f6ec0f596091040ee499c6ca0636c3862 [^]

Fixes bug 8484 Price adjustments applied to a sales order even after the business partner is checked as inactive in Price adjustment

---
M src-db/database/model/triggers/C_ORDERLINE_TRG2.xml
---