Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0021923 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] 07. Sales management | major | always | 2012-10-11 19:10 | 2012-11-12 10:45 | |||
| Reporter | psarobe | View Status | public | |||||
| Assigned To | dmiguelez | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | 8ca012977061 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | dmiguelez | |||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0021923: When the "net unit price" is changed or "gross unit price" the discount should change and the base unit price and gross | |||||||
| Description | When you change the net unit price the base unit price is not changing so the discount remains the same: discount = Net price list - Base net unit price discount of promotions = Base unit price - net unit price See http://forge.openbravo.com/plugins/mwiki/index.php/Priceadperline/Specifications [^] So if you change the net unit price the discount remains the same. This what we want to fix. The solution must be: Scenario: * Net Price list: 10 * Base net unit price:8 * Net unit price: 6 Discount=20% Promotions: -2 If you change the net unit price to 5 it should work like this: * Net Price list: 10 * Base net unit price:7 * Net unit price: 5 So finally the discount would be: 30% and promotion -2 | |||||||
| Steps To Reproduce | 1. Go Sales order window and click new and save the header with a price list with out price including taxes and with the configuration describe above 2. Select a line and the product * Net Price list: 10 * Base net unit price:8 * Net unit price: 6 3. Change the net unit price to 5 Notice the discount remains the same: 20%. Wrong It should be 30% | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0053777) hgbot (developer) 2012-10-30 08:16 |
Repository: erp/devel/pi Changeset: 8ca012977061798716f14f8cb62322d0ad930d7d Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Oct 25 12:47:36 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/8ca012977061798716f14f8cb62322d0ad930d7d [^] [discount] Fixed price actual price standard calculation when manually changed fixed bug 21923 --- M src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Amt.java M src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java M src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java M src/org/openbravo/erpCommon/ad_callouts/SL_Order_Product.java M src/org/openbravo/erpCommon/ad_callouts/SL_Order_Product_data.xsql --- |
|
(0053935) hudsonbot (viewer) 2012-10-31 13:31 |
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/9e773cbcb723 [^] Maturity status: Test |
|
(0054154) dmiguelez (viewer) 2012-11-12 10:45 |
There was an issue, but is now fixed: 0022239 Code Review + Testing OK |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-10-11 19:10 | psarobe | New Issue | |
| 2012-10-11 19:10 | psarobe | Assigned To | => dmiguelez |
| 2012-10-11 19:10 | psarobe | Modules | => Core |
| 2012-10-11 19:10 | psarobe | OBNetwork customer | => No |
| 2012-10-30 08:16 | hgbot | Checkin | |
| 2012-10-30 08:16 | hgbot | Note Added: 0053777 | |
| 2012-10-30 08:16 | hgbot | Status | new => resolved |
| 2012-10-30 08:16 | hgbot | Resolution | open => fixed |
| 2012-10-30 08:16 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8ca012977061798716f14f8cb62322d0ad930d7d [^] |
| 2012-10-31 13:31 | hudsonbot | Checkin | |
| 2012-10-31 13:31 | hudsonbot | Note Added: 0053935 | |
| 2012-11-08 17:17 | alostale | Relationship added | related to 0022239 |
| 2012-11-12 10:45 | dmiguelez | Review Assigned To | => dmiguelez |
| 2012-11-12 10:45 | dmiguelez | Note Added: 0054154 | |
| 2012-11-12 10:45 | dmiguelez | Status | resolved => closed |
| Copyright © 2000 - 2009 MantisBT Group |