Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032544
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2016-03-23 18:122016-06-17 19:36
ReportermalsasuaView Statuspublic 
Assigned Toshivum039 
PriorityhighResolutionfixedFixed in VersionRR16Q3
StatusclosedFix in branchFixed in SCM revision168db990cb85
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionRR16Q1SCM revision 
Merge Request Status
Review Assigned Tomarvintm
OBNetwork customerOBPS
Support ticket38848
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032544: automatic discounts are applied in backoffice purchase flow

DescriptionIf there is defined one discount of type "Price Adjustment" that it affects to product A, and you create a purchase invoice from good receipt using "Generate invoice from receipt", the invoice is created, and when the invoice is processed, the "price adjustment" discount is applied
Steps To Reproducein backoffice:
. in discount and promotions window: new record
 . type "price adjustment"
 . discount: 3 %
. in goods shipment window: new record
 . org: vall blanca store
 . bp: Outdoor Sports S.L
. new line:
 . product: Alpines
 . qty: 1
. complete good receipt
. execute process: "Generate invoice from receipt"
purchase invoice is created
. go to window purchase invoice, record: invoice created in previous step
 . total gross: 21.60
 . complete the invoice
total gross has changed from 21.6 to 20.95 (21.6 - 21.6*0.03). This is INCORRECT, the value should be 21.6
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0033975 closedmarkmm82 Openbravo ERP Wrong Net Unit Price and pricestd in order and invoice lines when applying a discount of a percentage with decimals 
causes defect 0034103 closedmarkmm82 Openbravo ERP Incorrect prices are calculated in Purchase Orders/Invoices when exists discounts or promotions related to products. 
causes defect 0035335 closedmarvintm Openbravo ERP Price Adjustments are not applied in Purchase Flow 

-  Notes
(0085573)
shivum039 (viewer)
2016-04-12 12:58

Trying To restrict the Discount to be applied to only Sales Flow by
Adding Logic to "m_promotion_adjustments()" Function
(0085673)
hgbot (developer)
2016-04-15 14:56

Repository: erp/devel/pi
Changeset: 168db990cb858ff372e875492cbe26014da34397
Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com>
Date: Fri Apr 15 18:06:06 2016 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/168db990cb858ff372e875492cbe26014da34397 [^]

Fixes issue 32544: Restricting the Automatic Discount being applying to the back office Purchase flow by filtering based on issotrx flag

---
M src-db/database/model/functions/M_PROMOTION_ADJUSTMENT.xml
---
(0087453)
hudsonbot (viewer)
2016-06-17 19:36

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/0dc7be081b1c [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2016-03-23 18:12 malsasua New Issue
2016-03-23 18:12 malsasua Assigned To => Retail
2016-03-23 18:12 malsasua OBNetwork customer => Yes
2016-03-23 18:12 malsasua Support ticket => 38848
2016-03-23 18:12 malsasua Resolution time => 1461967200
2016-03-23 18:12 malsasua Triggers an Emergency Pack => No
2016-04-01 09:31 shivum039 Status new => acknowledged
2016-04-01 11:31 Orekaria Steps to Reproduce Updated View Revisions
2016-04-12 12:58 shivum039 Note Added: 0085573
2016-04-12 12:58 shivum039 Assigned To Retail => shivum039
2016-04-12 12:58 shivum039 Status acknowledged => scheduled
2016-04-15 14:56 hgbot Checkin
2016-04-15 14:56 hgbot Note Added: 0085673
2016-04-15 14:56 hgbot Status scheduled => resolved
2016-04-15 14:56 hgbot Resolution open => fixed
2016-04-15 14:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/168db990cb858ff372e875492cbe26014da34397 [^]
2016-04-25 19:38 marvintm Review Assigned To => marvintm
2016-04-25 19:38 marvintm Status resolved => closed
2016-04-25 19:38 marvintm Fixed in Version => RR16Q3
2016-06-17 19:36 hudsonbot Checkin
2016-06-17 19:36 hudsonbot Note Added: 0087453
2016-09-26 13:17 aferraz Relationship added related to 0033975
2016-09-27 17:49 aferraz Relationship added causes 0034103
2017-02-22 11:00 ngarcia Relationship added causes 0035335


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker