Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015523Openbravo ERP07. Sales managementpublic2010-12-24 11:392010-12-30 13:16
psarobe 
adrianromero 
immediatemajoralways
closedfixed 
5
2.50MP11 
2.50MP25 
Core
No
0015523: Create shipments from Orders: Movement date is being created with the Sales order date
Create shipments from Orders: Movement date is being created with the Sales order date and this is wrong
1. Create a sales order (standard order) with order date, for example, 2 days before the current day
2. Go to Create shipments from orders
3. Mark the newly sales order and click OK
4. Go to the goods shipment window and realize that the movement date is not the current day but the day of the sales order. THIS IS WRONG
The movement date has to be the date of when the shhipment is created not the date of sales order.

This fix introduces the regression:

https://code.openbravo.com/erp/stable/2.50/rev/92ea03a8edc6 [^]
No tags attached.
blocks defect 0015522 closed adrianromero Create shipments from Orders: Movement date is being created with the Sales order date 
Issue History
2010-12-24 11:40psarobeTypedefect => backport
2010-12-24 11:40psarobefix_in_branch => 2.50
2010-12-24 13:38hgbotCheckin
2010-12-24 13:38hgbotNote Added: 0033389
2010-12-24 13:38hgbotStatusscheduled => resolved
2010-12-24 13:38hgbotResolutionopen => fixed
2010-12-24 13:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f7f9f562a3918769caaf51503ae05b9f423b8b5c [^]
2010-12-24 14:04adrianromeroNote Added: 0033392
2010-12-27 11:15psarobeNote Added: 0033400
2010-12-27 11:15psarobeStatusresolved => closed
2010-12-27 11:15psarobeFixed in Version => 2.50MP25
2010-12-28 12:07hgbotCheckin
2010-12-28 12:07hgbotNote Added: 0033409
2010-12-30 13:16hudsonbotCheckin
2010-12-30 13:16hudsonbotNote Added: 0033478
2010-12-30 13:16hudsonbotCheckin
2010-12-30 13:16hudsonbotNote Added: 0033482

Notes
(0033389)
hgbot   
2010-12-24 13:38   
Repository: erp/devel/pi
Changeset: f7f9f562a3918769caaf51503ae05b9f423b8b5c
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Dec 24 13:37:02 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f7f9f562a3918769caaf51503ae05b9f423b8b5c [^]

Fixes issue 0015523: Create shipments from Orders: Movement date is being created with the Sales order date
The date of the shipment created now depends on the type of the order

---
M src-db/database/model/functions/M_INOUT_CREATE.xml
---
(0033392)
adrianromero   
2010-12-24 14:04   
* Testing the issue

Follow the steps to reproduce and verify that the shipment generated contains the current date and not the date of the related order.

It is required to test also the issue that introduced the regression still works properly

* Other areas affected

The M_INOUT_CREATE function has been modified, the functionality that calls this function has to be reviewed too.
(0033400)
psarobe   
2010-12-27 11:15   
Tested working fine
(0033409)
hgbot   
2010-12-28 12:07   
Repository: erp/devel/pi
Changeset: d4a5edd713a67a5d37a56fad2e4c38a8c649bf19
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Dec 28 12:07:00 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d4a5edd713a67a5d37a56fad2e4c38a8c649bf19 [^]

fixed bug 15530: build failure int-dbcons-oracle 671. Related to bug 15523

---
M src-db/database/model/functions/M_INOUT_CREATE.xml
---
(0033478)
hudsonbot   
2010-12-30 13:16   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f7f9f562a391 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7d7e5eebcc62 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19448.obx [^]
(0033482)
hudsonbot   
2010-12-30 13:16   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/d4a5edd713a6 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7d7e5eebcc62 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19448.obx [^]