ref: https://groups.google.com/forum/#!topic/idempiere/hJ0biL8q9bU
patch include sql to display update field in some document (invoice, order,...)
step add patch without it:
import patch info working repository.
delete sql file
commit, push.
new validate make a warning. by not use table name. fixed with loadCreateUpdateField-fixValidate.patch
merge patch for easy review
Hi Hiep,
When I'm reviewing this, I found the solution here:
In GridField.java, you should move this block of codes from loadLookUp() into loadLookupNoValidate
// Prevent loading of CreatedBy/UpdatedBy
if (m_vo.displayType == DisplayType.Table
&& (m_vo.ColumnName.equals("CreatedBy") || m_vo.ColumnName.equals("UpdatedBy")) )
{
m_vo.lookupInfo.IsCreadedUpdatedBy = true;
m_vo.lookupInfo.DisplayType = DisplayType.Search;
m_vo.displayType = DisplayType.Search; // Add this line too, so it can show up as "Search"
}
//
That's all.
Regards,
Armen
Goodwill.co.id
i don't remember why i must change more code than you. but my goal is display update/create field at search panel also at window.
thanks and
your patch suitable with my wish, because my patch is not need. i remove it to avoid confuse.