Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040835Openbravo ERP04. Warehouse managementpublic2019-05-10 09:542019-05-27 13:54
gorkaion 
nonofrancisco 
urgentmajoralways
closedfixed 
5
 
3.0PR19Q3 
Sandrahuguet
Core
No
0040835: Wrong organizations available on Inventory Amount Update window
The organizations available in the drop downs of Inventory Amount Update are wrong.

Header: Only Legal Entities accessible by the user are available.
Lines: Only Legal Entities accessible by the user are available.
Inventories: generated by the process and read only.

Right options should be:

Header: Is OK as it is
Lines: Should only have available the same Legal Entity of the Header.
Inventories: Is always the same organization as the Line.

If a different legal entity is set and the inventory amount is processed wrong adjustments would be generated.
On live create a Inventory Amount Update on "F&B España, S.A" Legal.
Go to lines and create a Line with organization "F&B US, Inc." legal.

Select a product: only products from F&B US are shown. Select Energy Drink
Set an Inventory Amount.

Process the Inventory Amount Update. No inventories are created as in F&B Expaña there is no stock from Energy Drink.
1. Ensure that Lines organization is always the same as in the header.
1.1. Set header organization as not updateable to ensure that it cannot be changed when there are lines created.
2. Hide the organization field in the lines and inventories tabs.
No tags attached.
Issue History
2019-05-10 09:54gorkaionNew Issue
2019-05-10 09:54gorkaionAssigned To => Triage Finance
2019-05-10 09:54gorkaionModules => Core
2019-05-10 09:54gorkaionResolution time => 1559253600
2019-05-10 09:54gorkaionTriggers an Emergency Pack => No
2019-05-10 10:10gorkaionDescription Updatedbug_revision_view_page.php?rev_id=18748#r18748
2019-05-10 10:10gorkaionProposed Solution updated
2019-05-10 11:18SandrahuguetAssigned ToTriage Finance => nonofrancisco
2019-05-15 23:51nonofranciscoStatusnew => scheduled
2019-05-16 22:42nonofranciscoNote Added: 0111748
2019-05-22 12:44hgbotCheckin
2019-05-22 12:44hgbotNote Added: 0112068
2019-05-22 12:54SandrahuguetStatusscheduled => resolved
2019-05-22 12:54SandrahuguetFixed in Version => 3.0PR19Q3
2019-05-22 12:54SandrahuguetFixed in SCM revision => https://code.openbravo.com/erp/devel/pi/rev/898c207324d9e827220c298d68667eccd6d00afe [^]
2019-05-22 12:54SandrahuguetResolutionopen => fixed
2019-05-22 12:55SandrahuguetReview Assigned To => Sandrahuguet
2019-05-22 12:55SandrahuguetNote Added: 0112069
2019-05-22 12:55SandrahuguetStatusresolved => closed
2019-05-27 13:54hudsonbotCheckin
2019-05-27 13:54hudsonbotNote Added: 0112170

Notes
(0111748)
nonofrancisco   
2019-05-16 22:42   
Test Plan

As Openbravo/F&B International Group Admin
Open Inventory Amount Update window
Create a new header
  Organization: F&B España, S.A
Go to Lines tab
Create a new record
Verify only products from F&B España, S.A are shown in Product Selector
Verify Organization field is not visible
Process the document
Go to Inventories tab
Open the record creaeted
Verify Organization field is not visible
(0112068)
hgbot   
2019-05-22 12:44   
Repository: erp/devel/pi
Changeset: 898c207324d9e827220c298d68667eccd6d00afe
Author: Nono Carballo <nonofce <at> gmail.com>
Date: Wed May 15 18:14:49 2019 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/898c207324d9e827220c298d68667eccd6d00afe [^]

Fixes for issue 40835: Hides organization field in Inventory Amount Update tabs

Hides organization field in Lines and Inventory tabs of Inventory Amount
Update window.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
---
(0112069)
Sandrahuguet   
2019-05-22 12:55   
Code review + testing ok
(0112170)
hudsonbot   
2019-05-27 13:54   
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/bdad8ace6f89 [^]
Maturity status: Test