Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024870Openbravo ERP07. Sales managementpublic2013-10-02 17:372014-01-09 11:50
jonalegriaesarte 
gauravdeshmukh 
normalminorhave not tried
closedno change required 
5
pi 
3.0PR14Q2 
jonalegriaesarte
Core
No
0024870: Create shipment from orders does not respect the warehouse defined in the sales order when the process creates the shipment
Create shipment from orders does not respect the warehouse defined in the sales order when the process creates the shipment,
- Add a new warehouse in organization EspaƱa Norte
- Add the warehouse in the organization as warehouse on hand. Priority, after the second warehouse
- Move some quantity of a product to this warehouse
- Create a sales order (standard order), using the new warehouse
- Using process Create shipment from order, create the shipment. The warehouse in the shipment is the first one defined in Wareshouse tab in organization window, instead of the warehouse filled in the sales order.
Notice that warehouse order is working fine
No tags attached.
related to defect 00252703.0PR14Q2 closed gauravdeshmukh It is possible to have different warehouses between the Sales Order header and the Sales order lines 
Issue History
2013-10-02 17:37jonalegriaesarteNew Issue
2013-10-02 17:37jonalegriaesarteAssigned To => jonalegriaesarte
2013-10-02 17:37jonalegriaesarteModules => Core
2013-10-02 17:37jonalegriaesarteTriggers an Emergency Pack => No
2013-11-18 16:20jonalegriaesarteTarget Version3.0MP30 => 3.0MP31
2013-12-24 11:54gauravdeshmukhAssigned Tojonalegriaesarte => gauravdeshmukh
2014-01-02 12:38jonalegriaesarteTarget Version3.0MP31 => 3.0MP32
2014-01-08 07:35pramakrishnanRelationship addedrelated to 0025270
2014-01-09 11:50jonalegriaesarteReview Assigned To => jonalegriaesarte
2014-01-09 11:50jonalegriaesarteNote Added: 0063337
2014-01-09 11:50jonalegriaesarteStatusnew => closed
2014-01-09 11:50jonalegriaesarteResolutionopen => no change required

Notes
(0063337)
jonalegriaesarte   
2014-01-09 11:50   
This issue happens only when the header and the line have different warehouse(this happens when we update the warehouse field in the header after creating the line). There is a related issue which we are currently working on. We are going to use a preference to fix it. So only when the preference exists, the warehouse in the header and lines will be synced. When it is not synced(when the header and lines have different warehouse), then the line's warehouse has the high prioirty. So the good shipment will be created with the warehouse in the line and not with the warehouse in the header.