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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022239
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2012-11-08 16:512012-11-12 10:40
ReporterpsarobeView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version3.0MP17
StatusclosedFix in branchFixed in SCM revisione97cfb32893f
ProjectionnoneETAnoneTarget Version3.0MP17
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Topsarobe
Web browser
ModulesCore
Regression levelPre packaging ( pi )
Regression date2012-10-31
Regression introduced in release
Regression introduced by commithttp://code.openbravo.com/erp/devel/pi/rev/8ca012977061798716f14f8cb62322d0ad930d7d [^]
Triggers an Emergency PackNo
Summary

0022239: PIT: When you change the discount field, the gross unit price changes but net unit price is not recalculated again

DescriptionPIT: When you change the discount field, the "gross unit price" changes but "net unit price" is not recalculated again
Steps To Reproduce1. Configure a price list with PIT
2. Create a sales order header. Select that above price list
3. Move to lines and select a product. Notice that the "Gross unit price" and "Net Unit price" are filled. "Net Unit price" is calculated when changing "Gross unit price"
This is correct
4. Now change the "Discount" field. Notice the "Gross unit price" changes. This is correct. But notice the "Net Unit price" is not changing. This is wrong

Expected behaviour: "Net unit price" should always change when the "Gross unit price" changes
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0021923 closeddmiguelez When the "net unit price" is changed or "gross unit price" the discount should change and the base unit price and gross 
has duplicate defect 0022245 closeddmiguelez Line net amount field not changes automatically based on the discount percentage. 

-  Notes
(0054105)
hgbot (developer)
2012-11-08 17:24

Repository: erp/devel/pi
Changeset: e97cfb32893fa366f51a12ce4459f3d1cae834ad
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Nov 08 17:24:00 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e97cfb32893fa366f51a12ce4459f3d1cae834ad [^]

fixed bug 22239: PIT: Changing discount updated gross prices but not net ones

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java
---
(0054109)
psarobe (manager)
2012-11-09 09:17

Test 1 - PIT:
============
Change the discount and then the Gross unit price changes (so the base gross unit price) and then the Net unit price changes. This is OK!
Test 2 - PIT:
=============
Change the gross unit price (so the base gross unit price) and then Net unit price changes and also the discount. This is OK!
Test 3 - No PIT:
================
Change the net unit price (so the base net unit price changes) and then the discount. This is OK!
Test 4 - No PIT
===============
Change the discount and then the net unit price changes (so the base net unit price). This is OK!
(0054152)
hudsonbot (developer)
2012-11-12 10:40

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/b0eb45e159c6 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-11-08 16:51 psarobe New Issue
2012-11-08 16:51 psarobe Assigned To => alostale
2012-11-08 16:51 psarobe Modules => Core
2012-11-08 16:54 psarobe Regression level => Pre packaging ( pi )
2012-11-08 16:54 psarobe Steps to Reproduce Updated View Revisions
2012-11-08 17:17 alostale Relationship added related to 0021923
2012-11-08 17:20 alostale Regression date => 2012-10-31
2012-11-08 17:20 alostale Regression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/8ca012977061798716f14f8cb62322d0ad930d7d [^]
2012-11-08 17:20 alostale Steps to Reproduce Updated View Revisions
2012-11-08 17:24 hgbot Checkin
2012-11-08 17:24 hgbot Note Added: 0054105
2012-11-08 17:24 hgbot Status new => resolved
2012-11-08 17:24 hgbot Resolution open => fixed
2012-11-08 17:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e97cfb32893fa366f51a12ce4459f3d1cae834ad [^]
2012-11-09 09:17 psarobe Note Added: 0054109
2012-11-09 09:17 psarobe Review Assigned To => psarobe
2012-11-09 09:17 psarobe Status resolved => closed
2012-11-09 09:17 psarobe Fixed in Version => 3.0MP17
2012-11-09 12:44 plujan Relationship added has duplicate 0022245
2012-11-12 10:40 hudsonbot Checkin
2012-11-12 10:40 hudsonbot Note Added: 0054152


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker