Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032136Openbravo ERP04. Warehouse managementpublic2016-02-04 18:082016-03-17 10:56
VictorVillar 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
pi 
 
dmiguelez
Core
No
0032136: Wrong warehouse combo validation in the 'Create Purchase Orders popup in the Purchasing Plan window
Wrong warehouse combo validation in the 'Create Purchase Orders popup in the Purchasing Plan window
    As group admin role,

Every record here should be for organization: España.
Create a new product for España and follow the next wiki link [1: For the products that are planned in the Purchasing Plan
[1] http://wiki.openbravo.com/wiki/Material_Requirement_(MRP)#Configuration [^] [^]
Add the Purchase Price list defined as Price Including taxes.
The planning method should add every possibility.

Create a new Sales Order (organization: España) for this product.
Go to Purchasing Plan (organization: España): Time horizon:20
  launch it.
realise that you have lines in the Purchasing Plan. One of them is Suggested Purchase Order.
After that click on Create the Purchase Orders button.
Realise that there is no value in the warehouse combo.

The validation of this is wrong.
No tags attached.
related to defect 00321343.0PR16Q2 closed AtulOpenbravo Price Including taxes is not supported by the Purchasing Plan (Create Purchase Orders process) 
Issue History
2016-02-04 18:08VictorVillarNew Issue
2016-02-04 18:08VictorVillarAssigned To => Triage Finance
2016-02-04 18:08VictorVillarModules => Core
2016-02-04 18:08VictorVillarResolution time => 1456786800
2016-02-04 18:08VictorVillarTriggers an Emergency Pack => No
2016-02-04 18:09VictorVillarIssue Monitored: networkb
2016-02-04 18:09VictorVillarRelationship addedrelated to 0032134
2016-02-08 10:57AtulOpenbravoAssigned ToTriage Finance => AtulOpenbravo
2016-02-09 06:44AtulOpenbravoStatusnew => scheduled
2016-02-09 06:44AtulOpenbravoNote Added: 0084023
2016-02-11 14:34psanjuanNote Added: 0084107
2016-02-11 14:45psanjuanNote Edited: 0084023bug_revision_view_page.php?bugnote_id=0084023#r11069
2016-02-11 14:46psanjuanNote Edited: 0084023bug_revision_view_page.php?bugnote_id=0084023#r11070
2016-02-11 14:47psanjuanNote Added: 0084108
2016-02-16 16:33hgbotCheckin
2016-02-16 16:33hgbotNote Added: 0084260
2016-02-16 16:33hgbotStatusscheduled => resolved
2016-02-16 16:33hgbotResolutionopen => fixed
2016-02-16 16:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bdb7bfb6655ee98651f4acbd49c219c2791af149 [^]
2016-02-16 16:33dmiguelezReview Assigned To => dmiguelez
2016-02-16 16:33dmiguelezNote Added: 0084261
2016-02-16 16:33dmiguelezStatusresolved => closed
2016-03-17 10:56hudsonbotCheckin
2016-03-17 10:56hudsonbotNote Added: 0085145

Notes
(0084023)
AtulOpenbravo   
2016-02-09 06:44   
(edited on: 2016-02-11 14:46)
Test Plan
- Login as F&B International Group Admin Role.

- Every record here should be for organization: F&B España.
- Create a new product for España named 32136 A for instance, and follow the next wiki link [1: For the products that are planned in the Purchasing Plan
[1] http://wiki.openbravo.com/wiki/Material_Requirement_(MRP)#Configuration [^] [^] [^]
- Add the Purchase Price list defined as Price Including taxes.
- The planning method should add every possibility, that implies to create a record for each transaction type.

- Create a new Sales Order (organization: España) for this product.
- Go to Purchasing Plan (organization: España): Time horizon:20
- Launch it.
- Check that you have lines in the Purchasing Plan. One of them is Suggested Purchase Order.
- After that click on Create the Purchase Orders button.
- Check that warehouse combo shows warehouses of child organization of organization in Purchasing Plan record i.e F&B España, therefore España Region Norte, España Region Sur warehouses are shown.
- Select España Region Norte. Press OK.
- Go to Purchase order window and check that a new order has been created but with Total Gross Amount = 0.00. (See now issue related 32134)

(0084107)
psanjuan   
2016-02-11 14:34   
Issue verified.
(0084108)
psanjuan   
2016-02-11 14:47   
Test Plan above verified.
Now the warehouse is shown properly.

Issue can be code reviewed and closed.
(0084260)
hgbot   
2016-02-16 16:33   
Repository: erp/devel/pi
Changeset: bdb7bfb6655ee98651f4acbd49c219c2791af149
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Feb 08 22:15:23 2016 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/bdb7bfb6655ee98651f4acbd49c219c2791af149 [^]

Fixes Issue 32136:Wrong warehouse combo validation in the 'Create Purchase
Orders popup in the Purchasing Plan window

---
M src-db/database/sourcedata/AD_VAL_RULE.xml
---
(0084261)
dmiguelez   
2016-02-16 16:33   
Code Review + Testing Ok
(0085145)
hudsonbot   
2016-03-17 10:56   
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/b22fb0500156 [^]
Maturity status: Test