diff options
| author | Herbert Riess <herbert.riess@coloop.com> | 2020-10-14 14:59:13 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-10-15 09:07:57 +0000 |
| commit | 160043a4f6aa76010aa77ead7cace9a688c17ae8 (patch) | |
| tree | e25e86f20a02ef44f8c2da91274c7c75d50c4810 /doc/reference/javascript_cheatsheet.rst | |
| parent | d26ce71bc759f9edff2dfa84133e1ae73d62f9b2 (diff) | |
[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: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'doc/reference/javascript_cheatsheet.rst')
0 files changed, 0 insertions, 0 deletions
