FR [ 1974354 ] VCreateFrom.create should be more flexible

https://sourceforge.net/tracker/?func=detail&atid=879335&aid=1974354&group_id=176962

APanel: Run VCreateFrom form only if the button has no process defined.
Forgot to commit on rev. 6434
This commit is contained in:
teo_sarca 2009-03-24 14:20:48 +00:00
parent cf9b97d8e3
commit 01b6c83306
1 changed files with 16 additions and 11 deletions

View File

@ -118,6 +118,7 @@ import org.compiere.util.Util;
* <li>BF [ 1824621 ] History button can't be canceled
* <li>BF [ 1941271 ] VTreePanel is modifying even if is save wasn't successfull
* <li>FR [ 1943731 ] Window data export functionality
* <li>FR [ 1974354 ] VCreateFrom.create should be more flexible
* <li>BF [ 1996056 ] Report error message is not displayed
* <li>BF [ 1998575 ] Document Print is discarding any error
* @author victor.perez@e-evolution.com
@ -2321,6 +2322,9 @@ public final class APanel extends CPanel
// Pop up Create From
else if (col.equals("CreateFrom"))
{
// Run form only if the button has no process defined - teo_sarca [ 1974354 ]
if (vButton.getProcess_ID() <= 0)
{
// m_curWindowNo
VCreateFrom vcf = VCreateFrom.create (m_curTab);
@ -2337,6 +2341,7 @@ public final class APanel extends CPanel
return;
}
// else may start process
}
} // CreateFrom
// Posting -----