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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023894
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] 07. Sales managementminoralways2013-05-23 04:232013-05-23 04:27
ReportereintelauView Statuspublic 
Assigned Todmiguelez 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product Version3.0MP20SCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023894: Discounts and Promotions should not be applied to financial invoice lines

DescriptionCurrently 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 Reproduce1) 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 SolutionChange 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
TagsNo tags attached.
Attached Filespatch file icon 23894.patch [^] (758 bytes) 2013-05-23 04:27 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0058852)
eintelau (developer)
2013-05-23 04:27

Patch with suggested fix attached

- 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
Powered by Mantis Bugtracker