Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007682Openbravo ERP07. Sales managementpublic2009-02-19 13:392009-04-22 00:00
gorkaion 
gorkaion 
normalminoralways
closedfixed 
20Gentoo
pi 
pi2.50beta 
Core
No
0007682: Generate average cost does not filter cancelled receipts
When a receipt is canceled is shouldn't be considered in the cost calculation.
Create a shipment of a product that it's cost is calculated.
Calculate the Standard Costs and check that the receipt line is present in the costs tab of the product.
Cancel (void) the receipt.
Calculate again teh Standard Costs and check that the receipt line is still present when it shouldn't.
commsup_sprint6
related to defect 00059362.40 closed AinhoaPagola Label "re-opened" instead of "void" 
depends on backport 0007683pi closed gorkaion Generate average cost does not filter cancelled receipts 
Issue History
2009-02-19 13:39gorkaionNew Issue
2009-02-19 13:39gorkaionAssigned To => gorkaion
2009-02-19 13:39gorkaionRegression testing => No
2009-02-19 13:39gorkaionStatusnew => scheduled
2009-02-19 13:39gorkaionfix_in_branch => trunk
2009-02-19 13:40gorkaionRelationship addedrelated to 0005936
2009-02-19 15:42svnbotCheckin
2009-02-19 15:42svnbotNote Added: 0013748
2009-02-19 15:42svnbotStatusscheduled => resolved
2009-02-19 15:42svnbotResolutionopen => fixed
2009-02-19 15:42svnbotsvn_revision => 13407
2009-02-19 15:45gorkaionTag Attached: commsup_sprint6
2009-04-21 10:54psarobeStatusresolved => closed
2009-04-22 00:00anonymoussf_bug_id0 => 2777967

Notes
(0013748)
svnbot   
2009-02-19 15:42   
Repository: openbravo
Revision: 13407
Author: gorkaion
Date: 2009-02-19 15:42:41 +0100 (Thu, 19 Feb 2009)

Fixed bug 7682. Modified the generate_average_costs to not consider receipts in void status

---
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportProjectProfitabilityJR.jrxml
U trunk/src-db/database/model/functions/M_GENERATE_AVERAGE_COSTS.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=13407&sc=1 [^]