[FIX] base: Assign value in attachment name

Try to open an attachment without a `res_model` and `res_id`
=> warning.

Since the new ORM changes, a compute method always needs
to assign a value.

closes odoo/odoo#36460

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
Lucas Lefèvre
2019-09-05 11:29:01 +00:00
parent d6543adc05
commit 25ab04ed59

Diff Content Not Available