summaryrefslogtreecommitdiff
path: root/addons/note/views/note_views.xml
diff options
context:
space:
mode:
authorMitali Patel <mpa@odoo.com>2017-06-09 18:05:46 +0530
committerYannick Tivisse <yti@odoo.com>2017-10-19 10:59:26 +0200
commit8f88c0336f881dd59d7c25b64c5bcba1989f998b (patch)
treeec1ff4cbed587bf26660572b87af1c24cad57e73 /addons/note/views/note_views.xml
parentcda1d986568c31daa2f8e586258ab1fc5d22b423 (diff)
[IMP] base: Make 'name' attribute required for 'filter' tag
Purpose ======= The attribute name isn't required on the <filter> tag. If not set, it can't be selected with a xpath and it can't be overwritten. A lot of PR are coming from the community just to add a name on a filter because: - It can't be selected with a xpath. - It can't be used with `default_search_foo` on an action context. Specification ============= Make the atttribute name required
Diffstat (limited to 'addons/note/views/note_views.xml')
-rw-r--r--addons/note/views/note_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/note/views/note_views.xml b/addons/note/views/note_views.xml
index 77c766c3fd8..a5693760b47 100644
--- a/addons/note/views/note_views.xml
+++ b/addons/note/views/note_views.xml
@@ -192,7 +192,7 @@
domain="[('activity_ids.date_deadline', '&gt;', context_today().strftime('%Y-%m-%d'))
]"/>
<group expand="0" string="Group By">
- <filter string="Stage" help="By sticky note Category" context="{'group_by':'stage_id'}"/>
+ <filter string="Stage" name="stage" help="By sticky note Category" context="{'group_by':'stage_id'}"/>
</group>
</search>
</field>