diff options
| author | Victor Feyens <vfe@odoo.com> | 2020-09-15 12:23:01 +0000 |
|---|---|---|
| committer | Raf Geens <raf@odoo.com> | 2020-09-16 08:33:19 +0000 |
| commit | 6ae421f551ee36afa836494bc8563fc9276ab31e (patch) | |
| tree | 5cd8503e9289707e9e8afbe07ae78acaea9516e6 /doc/reference/javascript_reference.rst | |
| parent | 549d159a836229f634be04131db947b275240edb (diff) | |
[IMP] doc: related fields do not support chained x2m dependencies
The behavior isn't exactly undefined: it will appear to work if the
relation refers to only 1 instance. If there are multiple it will give
results for 1 instance and ignore the others. This behavior should not
be relied upon, hence I'm documenting it as undefined. I confirmed this
with mat from the ORM team.
Even better would be to raise an error or warning if `related` is used
in this context.
closes odoo/odoo#57270
closes odoo/odoo#57797
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Signed-off-by: Raf Geens <raf-odoo@users.noreply.github.com>
Co-authored-by: Raf Geens <raf@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
