Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
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.
thanks @Armen Rizal and @Carlos Ruiz your patch suitable with my wish, because my patch is not need. i remove it to avoid confuse.
Hiep Lq November 28, 2014 at 12:23 PM
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.
Armen Rizal November 28, 2014 at 2:29 AM
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
Hiep Lq February 28, 2014 at 5:25 AM
merge patch for easy review
Hiep Lq February 13, 2014 at 6:41 PM
new validate make a warning. by not use table name. fixed with loadCreateUpdateField-fixValidate.patch
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.