diff --git a/entity/DocumentTemplate_entity/recordcontainers/db/conditionProcess.js b/entity/DocumentTemplate_entity/recordcontainers/db/conditionProcess.js index 536873314aaf72139a2c7e8c86470de4e13567c4..a2034cf361cf6171fbb785205cc33359826f71a8 100644 --- a/entity/DocumentTemplate_entity/recordcontainers/db/conditionProcess.js +++ b/entity/DocumentTemplate_entity/recordcontainers/db/conditionProcess.js @@ -7,4 +7,5 @@ var cond = SqlCondition.begin() .andPrepareVars("DOCUMENTTEMPLATE.KIND", "$param.DocumentTemplateType_param") .andPrepareVars("DOCUMENTTEMPLATE.CLASSIFICATION", "$param.DocumentTemplateTypeClassification_param"); -result.string(SqlUtils.translateStatementWithQuotes(cond.build("1=1"))); \ No newline at end of file +//TODO: use a preparedCondition (.build instead of .translate) when available #1030812 #1034026 +result.string(cond.translate("1=1")); \ No newline at end of file diff --git a/language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod b/language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod index 37f94d19d610b8d7ec9e8124e677adf3fe16d93d..3e689d4945a71ab85d47afe6ad271095dbf28551 100644 --- a/language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod +++ b/language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod @@ -5088,6 +5088,12 @@ <entry> <key>Use template attachments</key> </entry> + <entry> + <key>My Turnover</key> + </entry> + <entry> + <key>My Forecast</key> + </entry> </keyValueMap> <font name="Dialog" style="0" size="11" /> <sqlModels>