[ 1843147 ] Error when try save a new Node.

http://sourceforge.net/tracker/index.php?func=detail&aid=1843147&group_id=176962&atid=879332
This commit is contained in:
vpj-cd 2007-12-03 05:37:14 +00:00
parent 79bcad9ed8
commit 09660bb0da
1 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,9 @@ import java.math.*;
import java.sql.*;
import java.util.*;
import java.util.logging.*;
import org.compiere.model.*;
import org.compiere.process.DocAction;
import org.compiere.util.*;
/**
@ -613,7 +615,6 @@ public class MWFNode extends X_AD_WF_Node
{
if (!success)
return success;
TranslationTable.save(this, newRecord);
return true;
} // afterSave
@ -624,8 +625,6 @@ public class MWFNode extends X_AD_WF_Node
*/
protected boolean afterDelete (boolean success)
{
if (TranslationTable.isActiveLanguages(false))
TranslationTable.delete(this);
return success;
} // afterDelete