Skip to content

Commit

Permalink
Merge branch 'hotfix/2.7.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Bonini committed Nov 22, 2018
2 parents f169368 + 81395f1 commit 93ab0cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/designer.js
Expand Up @@ -1931,9 +1931,8 @@ exports.createNewComponentStatus = function (attr, callback) {

// These instructions create a has many with a new entity history_status
// It also does a hasMany relation with e_status
var historyLanguage = attr.lang_user == 'fr-FR' ? 'Historique' : 'History';
var instructions = [
"entity " + source_entity.name + ' has many ' + attr.history_table_db_name + ' called '+historyLanguage+' ' + attr.options.showValue,
"entity " + source_entity.name + ' has many ' + attr.history_table_db_name + ' called History ' + attr.options.showValue,
"select entity " + attr.history_table_db_name,
"add field " + attr.options.showValue + " related to Status using name, color",
"add field Comment with type text",
Expand Down

0 comments on commit 93ab0cc

Please sign in to comment.