From 9168a66d6a5403495d74bb9136b85438004540ed Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Wed, 23 May 2012 13:23:14 +0200 Subject: [ADD] is_default custom filters * Second checkbox when creating a custom filter, unchecked by default * Global is_default filter overrides action defaults * Personal is_default filter overrides global is_default * Extracted sections of CustomFilter's behavior into methods to make them usable from the SearchView and easier to understand Hack note: CustomFilters#facet_for_defaults is weird stuff, it never fetches an actual facet, but it forces the SearchView's defaults handling to wait until CustomFilters is ready before executing, meaning SearchView#setup_default_query can run safe in the knowledge that custom filters are filled and everything. That this hidden dependency exists bugs me, though there's a comment. bzr revid: xmo@openerp.com-20120523112314-618hfttpegn39qey --- addons/web/static/src/xml/base.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 86b2f67cf62..7047b722462 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1487,6 +1487,8 @@
+ +
-- cgit v1.2.3 From 83a0a252b9400dc152381ff9d0c66409477be857 Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Fri, 19 Oct 2012 12:12:59 +0200 Subject: [IMP] database management: added `duplicate` operation. bzr revid: vmt@openerp.com-20121019101259-f32m2wlf6xugk2vi --- addons/web/static/src/xml/base.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index b031ee172e2..f57e5e47c47 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -152,6 +152,32 @@ +