Skip to content
Snippets Groups Projects
Commit 160043a4 authored by Herbert Riess's avatar Herbert Riess Committed by Martin Trigaux
Browse files

[FIX] base: reference attach, not self in _compute_raw()


Current behavior:
call to _file_read() within "for attach in self:" loop references self
rather than attach

Expected behavior:
execute _file_read() individually for every record in self (via "for
attach in self:" loop)

This is not an issue in standard where _file_read is an api.model
method but in case of overwrite (e.g. issue reported at
odoo/odoo#60016 has implemented an AWS integration) it makes sense

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent d26ce71b
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment