diff options
| author | Aaron Bohy <aab@odoo.com> | 2021-02-16 14:35:44 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2021-02-17 07:28:09 +0000 |
| commit | fa7a185663f21c1c4060765c8c137b296df3a350 (patch) | |
| tree | 1363a69effb7bc2f778754a2c1a908526224ac91 /doc/reference/javascript_reference.rst | |
| parent | 5e85ee521edb70d4d2c7cdbf59c29794a8cd98b9 (diff) | |
[FIX] web: list: correctly evaluate groupby modifier with m2o
Let's assume a <groupby> node in a list view containing a button
with an invisible modifier referencing a many2one field, e.g.
```
<tree>
<groupby>
<field name="m2o" invisible="1"/>
<button string="do it" attrs="{'invisible': [('m2o', '=',
False)]}"/>
</groupby>
</tree>
```
Before this commit, the m2o field was correctly read, but it's
value wasn't processed by the model, so the modifier wasn't
correctly evaluated.
Issue reported on PR https://github.com/odoo/odoo/pull/65316/
closes odoo/odoo#66287
X-original-commit: bbaeeb76bbef4ea371d3db5821af91bf1fe9ac4f
Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
