Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023786Openbravo ERP07. Sales managementpublic2013-05-10 10:582013-06-24 11:55
jonalegriaesarte 
ioritzCia 
normalmajorhave not tried
closedfixed 
5
pi 
3.0MP253.0MP25 
jonalegriaesarte
Core
No
0023786: POS order: book action is not working correctly when the warehouses are not properly configured
POS order: book action is not working correctly when the warehouses are not properly configured. In case the system has stock of one product in two warehouse, but both warehouses are not configured in organization window, the system is not reducing correctly the stock.
- Warehouse: create a new warehouse for organization F&B España Norte
- Goods movement: move some stock from one warehouse to the new warehouse for one product
- Organization window for F&B España Norte: in warehouse tab, only one warehouse (the old one) has to be informed
- Create a sales order (POS order). Warehouse: new warehouse. Organization: F&B España Norte.
- Book it
- The shipment generated is getting the stock from the old warehouse, which is informed in organization window
This is not correct, the system should show an error message, because the new warehouse has to be informed in organization window, if the user wants to get stock from it.

Notice that if no warehouse is informed in organization window, the process works properly.
No tags attached.
related to defect 0024812 closed pramakrishnan Wrong warehouse could be selected in orders and goods shipments/receipts 
Issue History
2013-05-10 10:58jonalegriaesarteNew Issue
2013-05-10 10:58jonalegriaesarteAssigned To => jonalegriaesarte
2013-05-10 10:58jonalegriaesarteModules => Core
2013-05-10 10:58jonalegriaesarteTriggers an Emergency Pack => No
2013-05-20 16:33jonalegriaesarteTarget Version3.0MP24 => 3.0MP25
2013-06-10 09:40ioritzCiaAssigned Tojonalegriaesarte => ioritzCia
2013-06-10 13:38ioritzCiaStatusnew => scheduled
2013-06-10 13:38ioritzCiafix_in_branch => pi
2013-06-12 10:15hgbotCheckin
2013-06-12 10:15hgbotNote Added: 0059380
2013-06-12 10:15hgbotStatusscheduled => resolved
2013-06-12 10:15hgbotResolutionopen => fixed
2013-06-12 10:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2c1353055359a2e3d490adc65a16c5376f533c79 [^]
2013-06-20 02:08hudsonbotCheckin
2013-06-20 02:08hudsonbotNote Added: 0059571
2013-06-24 11:55jonalegriaesarteReview Assigned To => jonalegriaesarte
2013-06-24 11:55jonalegriaesarteNote Added: 0059635
2013-06-24 11:55jonalegriaesarteStatusresolved => closed
2013-06-24 11:55jonalegriaesarteFixed in Version => 3.0MP25
2013-09-24 16:05alostaleRelationship addedrelated to 0024812

Notes
(0059380)
hgbot   
2013-06-12 10:15   
Repository: erp/devel/pi
Changeset: 2c1353055359a2e3d490adc65a16c5376f533c79
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon Jun 10 13:36:48 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2c1353055359a2e3d490adc65a16c5376f533c79 [^]

Fixes issue 23786: POS order: book action is not working correctly
when the warehouses are not properly configured.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
---
(0059571)
hudsonbot   
2013-06-20 02:08   
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/5caf871044ad [^]

Maturity status: Test
(0059635)
jonalegriaesarte   
2013-06-24 11:55   
Tested. In the warehouse selector in sales order, only appears the warehouses defined in the organization window, as on hand