Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0023894 | Openbravo ERP | 07. Sales management | public | 2013-05-23 04:23 | 2013-05-23 04:27 |
Reporter | eintelau | ||||
Assigned To | dmiguelez | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 30 | OS Version | Professional Appliance | |
Product Version | 3.0MP20 | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | Google Chrome | ||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0023894: Discounts and Promotions should not be applied to financial invoice lines | ||||
Description | Currently the M_PROMOTION_CALCULATE procedure will try to apply discounts and promotions to financial invoice lines. This makes no sense as the prices on these lines are always entered manually. It may also cause an issue for discounts that assume that the invoice line will have a valid product id included. | ||||
Steps To Reproduce | 1) Create a discount in the system that applies to all sales transactions 2) Create a sales invoice 3) Add a line to the invoice, check financial invoice line and select a gl item 4) Set price on line 5) Book invoice 6) Note that the discount has been applied to the invoice - this can result in the user entered price changing. | ||||
Proposed Solution | Change M_PROMOTION_CALCULATE procedure to ignore financial invoice lines. This can be done by using the financial_invoice_line field as the source of cancelpricead value | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | 23894.patch (758) 2013-05-23 04:27 https://issues.openbravo.com/file_download.php?file_id=6155&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-05-23 04:23 | eintelau | New Issue | |||
2013-05-23 04:23 | eintelau | Assigned To | => dmiguelez | ||
2013-05-23 04:23 | eintelau | Web browser | => Google Chrome | ||
2013-05-23 04:23 | eintelau | Modules | => Core | ||
2013-05-23 04:23 | eintelau | Triggers an Emergency Pack | => No | ||
2013-05-23 04:27 | eintelau | File Added: 23894.patch | |||
2013-05-23 04:27 | eintelau | Note Added: 0058852 |
Notes | |||||
|
|||||
|
|