Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0021923 | Openbravo ERP | 07. Sales management | public | 2012-10-11 19:10 | 2012-11-12 10:45 | |||||||
| Reporter | psarobe | |||||||||||
| Assigned To | dmiguelez | |||||||||||
| Priority | normal | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | |||||||||||
| 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% | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| 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 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||