diff options
| author | Dao Tuan Phong <phong.dao@tvtmarine.com> | 2019-11-25 08:39:52 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-12-17 10:00:58 +0000 |
| commit | 85b6536d506f23f6594224f35034a3aa5d851041 (patch) | |
| tree | 7cafacf2b9d08c54990b8a946080353b8a9eadf9 /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | 51483c3e7d7effcd86105436af73e4718b02e71d (diff) | |
[FIX] web: use rec_name to display imported record
When expending a many2x record, a field named 'name' was used to
represent the exported record.
If there was no field 'name' on the record, expanding the many2x field
raised a KeyError in the export screen with "import-compatible export"
enabled.
Use the _rec_name instead as fallback
closes odoo/odoo#42004
X-original-commit: 914d4f8ce9dbfd8380caa429a0aeac0513cf5ff9
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
