diff --git a/base/src/org/compiere/wf/MWFNode.java b/base/src/org/compiere/wf/MWFNode.java index 9eb955422d..996c377e73 100644 --- a/base/src/org/compiere/wf/MWFNode.java +++ b/base/src/org/compiere/wf/MWFNode.java @@ -530,6 +530,13 @@ public class MWFNode extends X_AD_WF_Node */ protected boolean beforeSave (boolean newRecord) { + if(MWorkflow.WORKFLOWTYPE_Manufacturing.equals(getWorkflow().getWorkflowType())) + { + setAction(MWFNode.ACTION_WaitSleep); + return true; + } + setAction(MWFNode.ACTION_DocumentAction); + String action = getAction(); if (action.equals(ACTION_WaitSleep)) ; diff --git a/migration/353a-trunk/oracle/395_BF2505658_FixActionWFNode.sql b/migration/353a-trunk/oracle/395_BF2505658_FixActionWFNode.sql new file mode 100644 index 0000000000..684fa615c9 --- /dev/null +++ b/migration/353a-trunk/oracle/395_BF2505658_FixActionWFNode.sql @@ -0,0 +1,7 @@ + +-- Jan 13, 2009 5:59:32 PM ECT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue='Z',Updated=TO_DATE('2009-01-13 17:59:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2291 +; + +UPDATE AD_WF_Node SET Action = 'Z' WHERE Action='N' \ No newline at end of file diff --git a/migration/353a-trunk/postgresql/395_BF2505658_FixActionWFNode.sql b/migration/353a-trunk/postgresql/395_BF2505658_FixActionWFNode.sql new file mode 100644 index 0000000000..dc2ba9a83c --- /dev/null +++ b/migration/353a-trunk/postgresql/395_BF2505658_FixActionWFNode.sql @@ -0,0 +1,6 @@ +-- Jan 13, 2009 5:59:32 PM ECT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue='Z',Updated=TO_TIMESTAMP('2009-01-13 17:59:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2291 +; + +UPDATE AD_WF_Node SET Action = 'Z' WHERE Action='N' \ No newline at end of file