Files
odoo_source/addons/web/controllers
Dao Tuan Phong 85b6536d50 [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>
2019-12-17 10:00:58 +00:00
..
…