FR [ 2829019 ] Check PrintPaper on save
https://sourceforge.net/tracker/?func=detail&aid=2829019&group_id=176962&atid=879335
This commit is contained in:
parent
5cf51bd492
commit
ae8770e21b
|
@ -41,6 +41,10 @@ import org.compiere.util.Language;
|
||||||
*
|
*
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
* @version $Id: MPrintPaper.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
|
* @version $Id: MPrintPaper.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
|
||||||
|
*
|
||||||
|
* @author Teo Sarca
|
||||||
|
* <li>FR [ 2829019 ] Check PrintPaper on save
|
||||||
|
* https://sourceforge.net/tracker/?func=detail&aid=2829019&group_id=176962&atid=879335
|
||||||
*/
|
*/
|
||||||
public class MPrintPaper extends X_AD_PrintPaper
|
public class MPrintPaper extends X_AD_PrintPaper
|
||||||
{
|
{
|
||||||
|
@ -223,6 +227,19 @@ public class MPrintPaper extends X_AD_PrintPaper
|
||||||
return retValue;
|
return retValue;
|
||||||
} // getCPaper
|
} // getCPaper
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean beforeSave(boolean newRecord)
|
||||||
|
{
|
||||||
|
// Check all settings are correct by reload all data
|
||||||
|
m_mediaSize = null;
|
||||||
|
getMediaSize();
|
||||||
|
getCPaper();
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Media Size Name
|
* Media Size Name
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue