Skip to content

Commit

Permalink
- undo history traduction
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Bonini committed Nov 22, 2018
1 parent f169368 commit 81395f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/designer.js
Original file line number Diff line number Diff line change
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 81395f1

Please sign in to comment.