diff options
| author | Jeremy Kersten <jke@odoo.com> | 2019-09-05 07:23:22 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2019-09-05 07:52:15 +0000 |
| commit | 34db511c8d7bd19e70a4e67c7b34761a88d903da (patch) | |
| tree | 1ecba2bd75c649f0dcfab68d92083bb3768e9ce4 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 2b6ebb3df726208aa5a7de0413f3eed5c33eefa3 (diff) | |
[FIX] base: compute name for all ir_attachments
Before this commit, and since the new orm, we cannot open a record that have
no res_model and res_id.
With new orm, we should return a value for all records.
Now, we can open attachement form view without the error:
ir.attachement(<id>).res_name traceback
closes odoo/odoo#36446
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
