Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0023894 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
design defect | [Openbravo ERP] 07. Sales management | minor | always | 2013-05-23 04:23 | 2013-05-23 04:27 | |||||||
Reporter | eintelau | View Status | public | |||||||||
Assigned To | dmiguelez | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||||||
OS Version | Professional Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||||||
Product Version | 3.0MP20 | SCM revision | ||||||||||
Review Assigned To | ||||||||||||
Web browser | Google Chrome | |||||||||||
Modules | Core | |||||||||||
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 | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | 23894.patch [^] (758 bytes) 2013-05-23 04:27 [Show Content] | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |
Copyright © 2000 - 2009 MantisBT Group |