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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024353
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2013-07-17 10:352013-07-30 13:38
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in Version3.0MP26
StatusclosedFix in branchFixed in SCM revisiona64da00f56a5
ProjectionnoneETAnoneTarget Version3.0MP26
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tojonalegriaesarte
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024353: Closing sales order does not adjust associated stock reservation when final quantity is zero

DescriptionWhen a sales order is closed, the ordered quantity in the line is set to zero if the line has not been invoiced neither delivered.

If that line have a reservation, the reservation quantity/status will never be updated because the C_ORDER_POST1 procedure only takes into account lines with quantity > 0.
Steps To Reproduce1- Create a Sales Order with a line
2- Book it
3- Assign a reservation for the line
4- Close the Sales Order
5- Notice that the related reservation has not been updated
Proposed SolutionModify the C_ORDER_POST1 to take into account those orders with ordered quantity = 0 and also that have an associated reservation
TagsNo tags attached.
Attached Filespatch file icon order_close_reservation.patch [^] (1,110 bytes) 2013-07-17 10:35 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00248563.0MP29 closedcaristu Module script is needed for non updated m_reservation quantities 
related to defect 0035270 closedcollazoandy4 Wrong reservation when closing a sales order with a voided partial shipment 

-  Notes
(0060136)
hgbot (developer)
2013-07-22 09:47

Repository: erp/devel/pi
Changeset: a64da00f56a5f4f14a98dbe0b2a13301de21319e
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Jul 19 08:29:59 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a64da00f56a5f4f14a98dbe0b2a13301de21319e [^]

fixes issue 24353: Closing sales order does not adjust

---
M src-db/database/model/functions/C_ORDER_POST1.xml
---
(0060159)
hudsonbot (developer)
2013-07-23 05:33

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/6a3af4b90642 [^]

Maturity status: Test
(0060375)
jonalegriaesarte (reporter)
2013-07-30 13:38

Code review done.
Functional testing done, using the steps to reproduce.

- Issue History
Date Modified Username Field Change
2013-07-17 10:35 caristu New Issue
2013-07-17 10:35 caristu Assigned To => dmiguelez
2013-07-17 10:35 caristu File Added: order_close_reservation.patch
2013-07-17 10:35 caristu Modules => Core
2013-07-17 10:35 caristu Resolution time => 1380492000
2013-07-17 10:35 caristu Triggers an Emergency Pack => No
2013-07-17 10:35 caristu Assigned To dmiguelez => caristu
2013-07-17 10:35 caristu Issue Monitored: networkb
2013-07-17 12:43 eintelau Issue Monitored: eintelau
2013-07-22 09:47 hgbot Checkin
2013-07-22 09:47 hgbot Note Added: 0060136
2013-07-22 09:47 hgbot Status new => resolved
2013-07-22 09:47 hgbot Resolution open => fixed
2013-07-22 09:47 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a64da00f56a5f4f14a98dbe0b2a13301de21319e [^]
2013-07-23 05:33 hudsonbot Checkin
2013-07-23 05:33 hudsonbot Note Added: 0060159
2013-07-30 13:38 jonalegriaesarte Review Assigned To => jonalegriaesarte
2013-07-30 13:38 jonalegriaesarte Note Added: 0060375
2013-07-30 13:38 jonalegriaesarte Status resolved => closed
2013-07-30 13:38 jonalegriaesarte Fixed in Version => 3.0MP26
2013-10-01 10:02 caristu Relationship added related to 0024856
2017-03-23 09:30 aferraz Relationship added related to 0035270


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker