summaryrefslogtreecommitdiff
path: root/odoo/tools/sql.py
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-04-28 12:29:22 +0200
committerAaron Bohy <aab@odoo.com>2017-05-02 15:34:43 +0200
commite9dce2c7b655d0f0b2b1075c05a37a190f1f6473 (patch)
tree031739608caa788116098a8caefcb63c0c1fac51 /odoo/tools/sql.py
parentd99ae3fd87aa07a1d7e201dbcd2defd144dfdec3 (diff)
[FIX] web: don't fetch invisible relational fields
Relational fields with attribute 'invisible' set to true are in views because they are used in domains or contexts. In this case their relational data is useless, only their ids matter. Before this rev., their relational data was fetched anyway. More precisely, it was the case for many2ones after a default_get, and for x2manys with inline views, or without view (e.g. with widget 'many2many_tags').
Diffstat (limited to 'odoo/tools/sql.py')
0 files changed, 0 insertions, 0 deletions