IDEMPIERE-663 Zk: Remove the need of re-query for table editor after user have create a new record. / just add to cache when saving is successful
This commit is contained in:
parent
602723e986
commit
70ca887d0d
|
@ -2243,7 +2243,7 @@ public abstract class PO
|
|||
m_createNew = false;
|
||||
if (!newRecord)
|
||||
CacheMgt.get().reset(p_info.getTableName());
|
||||
else if (get_ID() > 0)
|
||||
else if (get_ID() > 0 && success)
|
||||
CacheMgt.get().newRecord(p_info.getTableName(), get_ID());
|
||||
|
||||
return success;
|
||||
|
|
Loading…
Reference in New Issue