IDEMPIERE-761 New record on role is showing role 0 info on detail.
This commit is contained in:
parent
502192986b
commit
554603f296
|
@ -747,7 +747,10 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
|||
setCurrentRow(0, true);
|
||||
} // query
|
||||
|
||||
public void clearForNewParentRecord() {
|
||||
/**
|
||||
* reset detail data grid when parent tab current record is new and not saved yet
|
||||
*/
|
||||
public void resetDetailForNewParentRecord() {
|
||||
if (m_mTable.isOpen())
|
||||
{
|
||||
StringBuffer where = new StringBuffer("2=3");
|
||||
|
|
|
@ -898,7 +898,7 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
|
|||
}
|
||||
|
||||
/**
|
||||
* clear data grid for new parent record that's not saved yet
|
||||
* reset detail data grid for new parent record that's not saved yet
|
||||
*/
|
||||
@Override
|
||||
public void resetDetailForNewParentRecord ()
|
||||
|
@ -906,7 +906,7 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
|
|||
boolean open = gridTab.isOpen();
|
||||
if (open)
|
||||
{
|
||||
gridTab.clearForNewParentRecord();
|
||||
gridTab.resetDetailForNewParentRecord();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue