Allow to export model and record name of Reference fields
issue5667 review38621002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Allow to export model and record name of Reference fields
|
||||
* Re-position buttons on Binary/Image widget
|
||||
* Set focus on first visible input when modal is shown
|
||||
* Improve treeview headers
|
||||
|
||||
@@ -1439,6 +1439,17 @@
|
||||
field: field,
|
||||
string: Sao.i18n.gettext('%1 (string)', string)
|
||||
});
|
||||
} else if (field.type == 'reference') {
|
||||
items.push({
|
||||
name: name + '.translated',
|
||||
field: field,
|
||||
string: Sao.i18n.gettext("%1 (model name)", string),
|
||||
});
|
||||
items.push({
|
||||
name: name + '/rec_name',
|
||||
field: field,
|
||||
string: Sao.i18n.gettext("%1 (record name)", string),
|
||||
});
|
||||
}
|
||||
|
||||
items.forEach(function(item) {
|
||||
|
||||
Reference in New Issue
Block a user