IDEMPIERE-761 New record on role is showing role 0 info on detail.

This commit is contained in:
Heng Sin Low 2013-03-19 17:28:06 +08:00
parent 502192986b
commit 554603f296
2 changed files with 6 additions and 3 deletions

View File

@ -747,7 +747,10 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
setCurrentRow(0, true); setCurrentRow(0, true);
} // query } // 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()) if (m_mTable.isOpen())
{ {
StringBuffer where = new StringBuffer("2=3"); StringBuffer where = new StringBuffer("2=3");

View File

@ -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 @Override
public void resetDetailForNewParentRecord () public void resetDetailForNewParentRecord ()
@ -906,7 +906,7 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
boolean open = gridTab.isOpen(); boolean open = gridTab.isOpen();
if (open) if (open)
{ {
gridTab.clearForNewParentRecord(); gridTab.resetDetailForNewParentRecord();
} }
} }