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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024211
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2013-06-27 12:032013-07-16 14:27
ReporterpsarobeView Statuspublic 
Assigned Topramakrishnan 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision6feeefdd8377
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024211: Invoice status and Delivery status not properly calculated when negative quantities

DescriptionInvoice status and Delivery status not properly calculated when negative quantities. This is the case:

line 1: Product A qty ordered: 1; qty delivered: 1
line 2: Product B qty ordered: -1;qty delivered: -1

Then the result is delivery status:0 and it is wrong. It should be 100%
Steps To Reproduce1. Create one sales order
2. Two lines:
line 1: Product A qty ordered: 1
line 2: Product B qty ordered: -1
3. Complete
4. Create a goods shipment and complete it
5. Move back to sales order

Current behaviour: Delivery status: 0%
Expected behaviour: Delivery status: 100%
Proposed SolutionWhen the qty order is in negative, multiply by -1 the qty order and the qty delivered
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00245213.0MP30 closedpramakrishnan Delivery status not correctly updated when the total quantity of the sales order is 0 

-  Notes
(0059974)
hgbot (developer)
2013-07-15 16:13

Repository: erp/devel/pi
Changeset: 6feeefdd8377c033ce5566fe9260660c5e4ba53c
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Wed Jul 03 14:48:58 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/6feeefdd8377c033ce5566fe9260660c5e4ba53c [^]

Fixes Issue 24211: Invoice status, Delivery status not properly calculated
The delivery status, Invoice status are not properly calculated when there are negative quantities and their sum becomes zero

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0059980)
Sandrahuguet (developer)
2013-07-15 16:15

Code review + testing OK
(0060046)
hudsonbot (developer)
2013-07-16 14:27

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9a5d5983399f [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-06-27 12:03 psarobe New Issue
2013-06-27 12:03 psarobe Assigned To => dmiguelez
2013-06-27 12:03 psarobe Modules => Core
2013-06-27 12:03 psarobe Triggers an Emergency Pack => No
2013-07-02 08:05 pramakrishnan Assigned To dmiguelez => pramakrishnan
2013-07-02 08:06 pramakrishnan Status new => scheduled
2013-07-02 08:06 pramakrishnan fix_in_branch => pi
2013-07-15 16:13 hgbot Checkin
2013-07-15 16:13 hgbot Note Added: 0059974
2013-07-15 16:13 hgbot Status scheduled => resolved
2013-07-15 16:13 hgbot Resolution open => fixed
2013-07-15 16:13 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6feeefdd8377c033ce5566fe9260660c5e4ba53c [^]
2013-07-15 16:15 Sandrahuguet Review Assigned To => Sandrahuguet
2013-07-15 16:15 Sandrahuguet Note Added: 0059980
2013-07-15 16:15 Sandrahuguet Status resolved => closed
2013-07-16 14:27 hudsonbot Checkin
2013-07-16 14:27 hudsonbot Note Added: 0060046
2013-11-06 11:00 jonalegriaesarte Relationship added blocks 0024521


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker