diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-09-03 15:01:46 +0200 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-09-03 17:04:45 +0200 |
| commit | 017e71322b6b7f0c232f0d66ba659a5972fc3534 (patch) | |
| tree | a6bbe236e4120f1e9170bcf94d405e1a8e843cc7 /addons/website/static/src/xml/website.editor.xml | |
| parent | 6da3dafe94dc4f54b9696a1a34062d6d87415bde (diff) | |
[FIX] web: display view name in debug menu ('Edit View: X')
Revision on https://github.com/odoo/odoo/commit/f7fbe8adffb1ee585c8171f6c86d38145c11848d
The commit above wrongly assumes that the object 'view' is an instance
of the view class. As a result, the property `display_name` was undefined.
This commit fixes the issue by letting the controller remember the name
of the view in a similar was as the type of the view. That way, the name
of the view can simply be retrieved from the instance of the controller
class.
Task-ID 1878254
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
0 files changed, 0 insertions, 0 deletions
