Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030642Openbravo ERPA. Platformpublic2015-08-24 11:082022-02-01 08:05
inigosanchez 
Triage Platform Base 
normalminorhave not tried
acknowledgedopen 
5
 
 
No
Core
No
0030642: Tree selector will only allow to pick leaf nodes without the property "Is Parent Selection Allowed".
Tree selector will only allow to pick leaf nodes without the property "Is Parent Selection Allowed".When "Is Parent Selection Allowed" property is unchecked, tree selector is not working properly. See more info about "Is Parent Selection Allowed" property here [1].


[1]. http://wiki.openbravo.com/wiki/How_to_Define_a_Table_as_a_Tree#Common_Fields_for_all_Tree_Structures [^]
1.-Login as "System Admin" and create a tree selector reference for "Organization" field of "Sales Invoice" window:
-Go to "Reference" window.
-Create a new reference:
** Name: "Reference Tree Test".
** Parent Reference: "Tree Reference".
-Go its child tab "Tree Reference".
-Create a new Tree Reference:
** Table: "AD_Org".
** Table Tree Category: "Organization".
** Value field: "id". Created in following step.
** Display Field: "Name". Created in following step.
-Go its child tab "Tree Field" and create "id" and "Name" field:
** Name: "id". Property: "id". Ensure that "Filter", "Sort", "Active", "Show in Grid", "Search in suggestion box" and "show in picklist" are checked.
** Name: "Name". Property: "name". Ensure that "Filter", "Sort", "Active", "Show in Grid", "Search in suggestion box" and "show in picklist" are checked.

-Go to "Tables and Columns" window and select "Invoice" record.
-Go its child tab "Column".
-Select "Organization" record and select "Tree Reference" as Reference.
-Select Reference Search Key: "Reference Tree Test".

-Go to "Tables and Columns" window and select "Organization" record.
-Go its child tab "Table Tree Category" and select "Organization" record.
-Ensure that "Is Parent Selection Allowed" is unchecked.

-Log out and rebuild.

2.-Login as "Openbravo Admin" and go to "Sales Invoice" window.
-Create new sales invoice.
-Open "Organization" selector and select "F&B International Group" summary level node.
-Reopen any summary level field that is not open before.


Note: It seems that the problem is when a summary level node is not opened before. When a summary level node is opened, the behavior seems right.
 
No tags attached.
Issue History
2015-08-24 11:08inigosanchezNew Issue
2015-08-24 11:08inigosanchezAssigned To => platform
2015-08-24 11:08inigosanchezOBNetwork customer => No
2015-08-24 11:08inigosanchezModules => Core
2015-08-24 11:08inigosanchezTriggers an Emergency Pack => No
2015-08-24 11:41inigosanchezSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9258#r9258
2015-08-24 14:04inigosanchezSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9259#r9259
2015-11-10 15:00alostaleStatusnew => acknowledged
2016-12-01 13:24alostalePrioritylow => normal
2022-02-01 08:05alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.