[ 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:
parent
79bcad9ed8
commit
09660bb0da
|
@ -21,7 +21,9 @@ import java.math.*;
|
||||||
import java.sql.*;
|
import java.sql.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.logging.*;
|
import java.util.logging.*;
|
||||||
|
|
||||||
import org.compiere.model.*;
|
import org.compiere.model.*;
|
||||||
|
import org.compiere.process.DocAction;
|
||||||
import org.compiere.util.*;
|
import org.compiere.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -613,7 +615,6 @@ public class MWFNode extends X_AD_WF_Node
|
||||||
{
|
{
|
||||||
if (!success)
|
if (!success)
|
||||||
return success;
|
return success;
|
||||||
TranslationTable.save(this, newRecord);
|
|
||||||
return true;
|
return true;
|
||||||
} // afterSave
|
} // afterSave
|
||||||
|
|
||||||
|
@ -624,8 +625,6 @@ public class MWFNode extends X_AD_WF_Node
|
||||||
*/
|
*/
|
||||||
protected boolean afterDelete (boolean success)
|
protected boolean afterDelete (boolean success)
|
||||||
{
|
{
|
||||||
if (TranslationTable.isActiveLanguages(false))
|
|
||||||
TranslationTable.delete(this);
|
|
||||||
return success;
|
return success;
|
||||||
} // afterDelete
|
} // afterDelete
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue