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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021017
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2012-07-11 17:132012-07-27 13:25
ReporterVictorVillarView Statuspublic 
Assigned Tojecharri 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione31d81e9efa7
ProjectionnoneETAnoneTarget Version3.0MP14
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP12.1SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021017: Closing an order with negative lines change the qty to zero even when there is a goods shipment/receipt associated

DescriptionClosing an order with negative qty in their lines, change the qty to zero even when there is a goods shipment/receipt associated
Steps To Reproduceas group Admin role,
Go to Sales order,
  Create a new register
 Go to Lines tab,
   Create a new Line
        Product: Cola
        Quantity: -1
   2nd line:
        Product: Ale beer
        Qty: 1
Complete it
Go to Create shipment from Order
   select the order created before
Check that the Goods Shipment created has the same lines
Go to Sales order again
   Close it
Realise that the line with negative quantity, now has zero
This is not correct. It should have the same value as the Delivered quantiy

The same is happening in Purchase flow.
  
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0050896)
hgbot (developer)
2012-07-26 11:37

Repository: erp/devel/pi
Changeset: e31d81e9efa7fcf9d9b25d16968637d1781f52f6
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Jul 26 11:36:17 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e31d81e9efa7fcf9d9b25d16968637d1781f52f6 [^]

Fixes issue 21017: Closing an order with negative
lines change the qty to zero even when there is a goods shipment/receipt associated

---
M src-db/database/model/functions/C_ORDER_POST1.xml
---
(0050897)
jecharri (developer)
2012-07-26 11:42

Test plan:

1.Create a sales order Qty Ordered: 5 units, Qty delivered: 0, Qty invoiced: 3, close it. Qty ordered: 3
2.Create a sales order Qty Ordered: 5 units, Qty delivered: 2, Qty invoiced: 3, close it. Qty ordered: 3
3.Create a sales order Qty Ordered: 5 units, Qty delivered: 3, Qty invoiced: 0, close it. Qty ordered: 3
4.Create a sales order Qty Ordered: 5 units, Qty delivered: 4, Qty invoiced: 2, close it. Qty ordered: 4
5.Create a sales order Qty Ordered: 5 units, Qty delivered: 3, Qty invoiced: 1. close it. Qty ordered: 3
6.Create a sales order Qty Ordered: -5 units, Qty delivered: -3, Qty invoiced: 0, close it. Qty ordered: -3
7.Create a sales order Qty Ordered: -5 units, Qty delivered: 0, Qty invoiced: -2, close it. Qty ordered: -2
8.Create a sales order Qty Ordered: -5 units, Qty delivered: -3, Qty invoiced: -1. close it. Qty ordered: -3
9.Create a sales order Qty Ordered: 5 units, Qty delivered: -3, Qty invoiced: 1. close it. Qty ordered: 1
(0050917)
hudsonbot (developer)
2012-07-27 02:18

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/4cfe6f4cd84a [^]

Maturity status: Test
(0050939)
VictorVillar (developer)
2012-07-27 13:25

verified for Sales and Puchase flow with the steps defined in the testing plan

- Issue History
Date Modified Username Field Change
2012-07-11 17:13 VictorVillar New Issue
2012-07-11 17:13 VictorVillar Assigned To => mirurita
2012-07-11 17:13 VictorVillar Modules => Core
2012-07-11 17:18 mirurita Assigned To mirurita => jonalegriaesarte
2012-07-11 18:06 VictorVillar Resolution time => 1344981600
2012-07-11 18:06 VictorVillar Issue Monitored: networkb
2012-07-11 18:07 VictorVillar version => 3.0MP12.1
2012-07-11 18:07 VictorVillar Target Version => 3.0MP14
2012-07-24 08:51 jonalegriaesarte Assigned To jonalegriaesarte => jecharri
2012-07-26 11:37 hgbot Checkin
2012-07-26 11:37 hgbot Note Added: 0050896
2012-07-26 11:37 hgbot Status new => resolved
2012-07-26 11:37 hgbot Resolution open => fixed
2012-07-26 11:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e31d81e9efa7fcf9d9b25d16968637d1781f52f6 [^]
2012-07-26 11:42 jecharri Note Added: 0050897
2012-07-27 02:18 hudsonbot Checkin
2012-07-27 02:18 hudsonbot Note Added: 0050917
2012-07-27 13:25 VictorVillar Note Added: 0050939
2012-07-27 13:25 VictorVillar Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker