IDEMPIERE-3091 Posted button on Project Issue not working

This commit is contained in:
Carlos Ruiz 2016-05-05 19:40:21 -07:00
parent 7446d8f433
commit 414851f465
2 changed files with 6 additions and 2 deletions

View File

@ -101,6 +101,7 @@ import org.compiere.model.GridWorkbench;
import org.compiere.model.Lookup;
import org.compiere.model.MLookupFactory;
import org.compiere.model.MProcess;
import org.compiere.model.MProjectIssue;
import org.compiere.model.MQuery;
import org.compiere.model.MRole;
import org.compiere.model.MToolBarButtonRestrict;
@ -2754,7 +2755,8 @@ public final class APanel extends CPanel
if (DocAction.STATUS_Completed.equals(docStatus)
|| DocAction.STATUS_Closed.equals(docStatus)
|| DocAction.STATUS_Reversed.equals(docStatus)
|| DocAction.STATUS_Voided.equals(docStatus))
|| DocAction.STATUS_Voided.equals(docStatus)
|| table_ID == MProjectIssue.Table_ID) // document without status
;
else
{

View File

@ -86,6 +86,7 @@ import org.compiere.model.GridWindowVO;
import org.compiere.model.I_M_Product;
import org.compiere.model.MImage;
import org.compiere.model.MProcess;
import org.compiere.model.MProjectIssue;
import org.compiere.model.MQuery;
import org.compiere.model.MRecentItem;
import org.compiere.model.MRole;
@ -2820,7 +2821,8 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
if (DocAction.STATUS_Completed.equals(docStatus)
|| DocAction.STATUS_Closed.equals(docStatus)
|| DocAction.STATUS_Reversed.equals(docStatus)
|| DocAction.STATUS_Voided.equals(docStatus))
|| DocAction.STATUS_Voided.equals(docStatus)
|| table_ID == MProjectIssue.Table_ID) // document without status
;
else
{