Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015522Openbravo ERP07. Sales managementpublic2010-12-24 11:392011-04-08 00:00
psarobe 
adrianromero 
immediatemajoralways
closedfixed 
5
2.50MP11 
 
Core
No
0015522: 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.
depends on backport 0015523 closed adrianromero Create shipments from Orders: Movement date is being created with the Sales order date 
related to defect 0038597 closed AtulOpenbravo Today's movement date for Goods Shipment generated when booking Warehouse Order 
Issue History
2010-12-24 11:39psarobeNew Issue
2010-12-24 11:39psarobeAssigned To => adrianromero
2010-12-24 11:39psarobeModules => Core
2010-12-24 11:40psarobeStatusnew => scheduled
2010-12-24 11:40psarobefix_in_branch => pi
2010-12-24 13:58hgbotCheckin
2010-12-24 13:58hgbotNote Added: 0033390
2010-12-24 13:58hgbotStatusscheduled => resolved
2010-12-24 13:58hgbotResolutionopen => fixed
2010-12-24 13:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/8e5b7c1f4d879c1cb4e6cf398522da823ac78f25 [^]
2010-12-24 14:04adrianromeroNote Added: 0033391
2011-04-07 11:18psarobeStatusresolved => closed
2011-04-08 00:00anonymoussf_bug_id0 => 3279887
2018-05-22 16:36ngarciaRelationship addedrelated to 0038597

Notes
(0033390)
hgbot   
2010-12-24 13:58   
Repository: erp/stable/2.50
Changeset: 8e5b7c1f4d879c1cb4e6cf398522da823ac78f25
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Dec 24 13:49:08 2010 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/8e5b7c1f4d879c1cb4e6cf398522da823ac78f25 [^]

Fixes issue 0015522: 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
---
(0033391)
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.