[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: