Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033401Openbravo ERP02. Master data managementpublic2016-07-01 08:192019-12-12 23:00
caristu 
collazoandy4 
normalminoralways
closedfixed 
5
 
3.0PR20Q1 
Sandrahuguet
Core
No
0033401: Move display logic from Region tab fields to the tab itself
When trying to create records into the [Region] tab in [Country and Region] window, the form view does not display fields if the Country is not flagged as "has regions".

This is because the fields in that sub-tab has a display logic which depends on that flag.

Showing the form without fields can be confusing for the users (See attached image).
1) Go to the [Country and Region] window
2) Select a country with the "has regions" flag unchecked
3) Navigate to the [Region] tab and click on "create a new record in a form" toolbar button.
Remove the display logic from the fields and use it in the tab instead.
No tags attached.
related to feature request 00052023.0MP19 closed AugustoMauch Implement display logic for tabs [No new BOM creation possible] 
has duplicate defect 0039394 closed Triage Omni OMS Cannot create Region in Country and Region window, the tab is blank 
png emptyFormRegion.png (66,923) 2016-07-01 08:20
https://issues.openbravo.com/file_download.php?file_id=9605&type=bug
png
Issue History
2016-07-01 08:19caristuNew Issue
2016-07-01 08:19caristuAssigned To => Triage Finance
2016-07-01 08:19caristuModules => Core
2016-07-01 08:19caristuTriggers an Emergency Pack => No
2016-07-01 08:20caristuDescription Updatedbug_revision_view_page.php?rev_id=12563#r12563
2016-07-01 08:20caristuRelationship addedrelated to 0005202
2016-07-01 08:20caristuFile Added: emptyFormRegion.png
2016-07-01 08:22caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12565#r12565
2018-10-03 10:06ngarciaRelationship addedhas duplicate 0039394
2018-10-03 10:06ngarciaIssue Monitored: ngarcia
2019-08-19 21:33collazoandy4Assigned ToTriage Finance => collazoandy4
2019-08-19 21:33collazoandy4Statusnew => scheduled
2019-08-19 21:36collazoandy4Note Added: 0114095
2019-10-01 13:13hgbotCheckin
2019-10-01 13:13hgbotNote Added: 0114874
2019-10-01 13:13hgbotStatusscheduled => resolved
2019-10-01 13:13hgbotResolutionopen => fixed
2019-10-01 13:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bf8069ede64a0401e31ab0a74d423f98dd1cf7c4 [^]
2019-10-01 13:13hgbotCheckin
2019-10-01 13:13hgbotNote Added: 0114875
2019-10-01 13:32SandrahuguetReview Assigned To => Sandrahuguet
2019-10-01 13:32SandrahuguetNote Added: 0114876
2019-10-01 13:32SandrahuguetStatusresolved => closed
2019-10-01 13:32SandrahuguetFixed in Version => 3.0PR20Q1
2019-12-12 23:00hudsonbotCheckin
2019-12-12 23:00hudsonbotNote Added: 0116231
2019-12-12 23:00hudsonbotCheckin
2019-12-12 23:00hudsonbotNote Added: 0116232

Notes
(0114095)
collazoandy4   
2019-08-19 21:36   
Go to the [Country and Region] window
Select Andorra country and check Region tab is not shown
Select Spain country and check Region tab is shown
(0114874)
hgbot   
2019-10-01 13:13   
Repository: erp/devel/pi
Changeset: bf8069ede64a0401e31ab0a74d423f98dd1cf7c4
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Mon Aug 19 16:15:03 2019 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/bf8069ede64a0401e31ab0a74d423f98dd1cf7c4 [^]

Fixes issue 33401: Move display logic from Region tab fields to the tab itself

Removed the fields display logic and set it in the Region tab

---
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_TAB.xml
---
(0114875)
hgbot   
2019-10-01 13:13   
Repository: erp/devel/pi
Changeset: 407156de4f04389920eebe36d9a001889202df35
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Mon Sep 30 12:56:59 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/407156de4f04389920eebe36d9a001889202df35 [^]

related to issue 33401 remove displaylogic in not displayed fields

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0114876)
Sandrahuguet   
2019-10-01 13:32   
code review + testing ok
(0116231)
hudsonbot   
2019-12-12 23:00   
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/954d2b7a66fb [^]
Maturity status: Test
(0116232)
hudsonbot   
2019-12-12 23:00   
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/954d2b7a66fb [^]
Maturity status: Test