Skip to content
Snippets Groups Projects
Commit 9fdfbe4b authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Salesproject: forecast message only in EDIT (not NEW)-mode

parent 56a90c29
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,8 @@ Salesproject.insertMilestone = function(salesprojectId, type, value, notifyForec
* Notify the user to update the forecast
*/
Salesproject.notifyToUpdateForecast = function() {
question.showMessage(translate.text("Please update the ${FORECAST_ENGLISH}."), question.INFORMATION, translate.text("${FORECAST_ENGLISH}"))
if (vars.get("$sys.recordstate") != neon.OPERATINGSTATE_NEW)
question.showMessage(translate.text("Please update the ${FORECAST_ENGLISH}."), question.INFORMATION, translate.text("${FORECAST_ENGLISH}"));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment