Xavier Morel
93e70362e5
[ADD] groundworks for advanced search
...
* Possible to add an advanced search domain
* Looks like shit
* The facet itself uses a hardcoded name
* Quite a few hacks
bzr revid: xmo@openerp.com-20120330154227-gw1640rbb3rs9x5m
2012-03-30 17:42:27 +02:00
Xavier Morel
1b0c140834
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20120329110300-z4l730o4y4swmadx
2012-03-29 13:03:00 +02:00
Xavier Morel
6ecd85d826
[FIX] todo note and stray quotes in doc
...
bzr revid: xmo@openerp.com-20120329094824-w0tviwz4pe85e0k1
2012-03-29 11:48:24 +02:00
Xavier Morel
4d9cf140dd
[FIX] missing translation marking
...
bzr revid: xmo@openerp.com-20120328103937-n2ei33xkf5pplgra
2012-03-28 12:39:37 +02:00
Xavier Morel
6ee51ecbe4
[IMP] don't display 'search for' when completion needle is empty
...
bzr revid: xmo@openerp.com-20120328103636-p192gfajnda4hcpj
2012-03-28 12:36:36 +02:00
Xavier Morel
429a1e6b49
[FIX] dispatching betwen item and category when rendering autocompletion
...
bzr revid: xmo@openerp.com-20120328103458-7eaul6bzroym25q9
2012-03-28 12:34:58 +02:00
Xavier Morel
2782651029
[FIX] global autocompletion opening when pressing certain keys (down, delete) in an editable facet's input. Should not happen
...
bzr revid: xmo@openerp.com-20120328093240-mu9wqdyes08otyt9
2012-03-28 11:32:40 +02:00
Xavier Morel
a6791384f3
[FIX] events are not inherited in backbone
...
bzr revid: xmo@openerp.com-20120327154138-ucuer9e4psrzc7et
2012-03-27 17:41:38 +02:00
Xavier Morel
c94bfd8bf9
[IMP] use qweb templates for read-only facets
...
bzr revid: xmo@openerp.com-20120327150811-v9urpm5j6hosesoz
2012-03-27 17:08:11 +02:00
Xavier Morel
5a455daa43
[ADD] special rendering of filtergroup (readonly) facets
...
bzr revid: xmo@openerp.com-20120327142116-3ftjit1afo40ou09
2012-03-27 16:21:16 +02:00
Xavier Morel
7527aa61b5
[IMP] refresh/search events
...
* Trigger new search on various programmatic search query events
* Don't remove then re-add filter when it can just be changed
* Correctly trigger search on programmatic facet removal, but not on
UI removal (it's already done by the facet itself leading to
double-search)
bzr revid: xmo@openerp.com-20120327123647-i7zfarf7e03poet5
2012-03-27 14:36:47 +02:00
Xavier Morel
c7b5daa2f1
[ADD] reading and usage of custom filters
...
bzr revid: xmo@openerp.com-20120326154326-9bnbnrx2x404bqsm
2012-03-26 17:43:26 +02:00
Xavier Morel
c21f00ab81
[FIX] greatly simplify widgets-rendering routine of search view (basically remove all the rendering part), add basic drawer behavior
...
bzr revid: xmo@openerp.com-20120326145017-g1ydm1k93hipy2j5
2012-03-26 16:50:17 +02:00
niv-openerp
93e3959483
[fix] fix of previous fix
...
bzr revid: nicolas.vanhoren@openerp.com-20120326122835-m25pukdl5ye48fnn
2012-03-26 14:28:35 +02:00
niv-openerp
f13194477a
[fix] problem with boolean search fields
...
bzr revid: nicolas.vanhoren@openerp.com-20120326122334-44uf3k7jkck1gyp2
2012-03-26 14:23:34 +02:00
Xavier Morel
f97751c63e
[FIX] custom contexts and domains in search view fields
...
* Remove own_value hack, use compounds instead
* Correctly handle compounds evaluation contexts in test eval_domain_and_context js evaluator
bzr revid: xmo@openerp.com-20120323093913-09y0v082pe96pxh2
2012-03-23 10:39:13 +01:00
Xavier Morel
1da49a44a5
[MERGE] 6.1 fixes into trunk
...
bzr revid: xmo@openerp.com-20120322113142-gim4svx01p336nxm
2012-03-22 12:31:42 +01:00
Xavier Morel
0e93da53b8
[FIX] add hook to SearchInput's autocomplete#close to close the global autocompletion when getting out of an input
...
bzr revid: xmo@openerp.com-20120322103137-7og8ww7yjdr60tla
2012-03-22 11:31:37 +01:00
Xavier Morel
76baf024fc
[REM] start, destroy, clear, make_id methods in search view widgets; do_clear and do_toggle_filter in search view itself
...
bzr revid: xmo@openerp.com-20120321165656-ht0o431r7xo4s3yv
2012-03-21 17:56:56 +01:00
Xavier Morel
9415f59853
[FIX] trigger search and correctly position cursor after adding a facet through completion
...
bzr revid: xmo@openerp.com-20120321164213-o1dgm4dihtrb45bt
2012-03-21 17:42:13 +01:00
Xavier Morel
60c07691f1
[ADD] searching to faceted field
...
* Removed idea of "text" facet category (~null category) working on
all text-kinded fields at the same time, fp thinks this should be
done by defining search view fields with filter_domain
- Adding a facet to the facets collection does not trigger a search,
nor does editing the value of an (editable) facet
bzr revid: xmo@openerp.com-20120321154550-0ubjon97vfnj3dxf
2012-03-21 16:45:50 +01:00
Xavier Morel
c3b181d7f3
[IMP] autocompletion interface (more similar to SearchFacet attributes), correctly document that
...
bzr revid: xmo@openerp.com-20120321092847-hjsn23ytttzy75ny
2012-03-21 10:28:47 +01:00
Xavier Morel
fc9b3ecf20
[FIX] force renderFacets on VS search event
...
originally this comes from the (monkeypatch-removed) serialization and
reloading of the VS searchQuery.
This is needed because on ``SearchFacet#remove`` VS launches a
``searchEvent``, and counts on *that* to visually impact the removal
of a given facet (by just re-rendering everything)
bzr revid: xmo@openerp.com-20120320153634-rhguje7to3f0dj2p
2012-03-20 16:36:34 +01:00
Xavier Morel
7229320dc4
[FIX] SearchFacet attribute names being used internally
...
bzr revid: xmo@openerp.com-20120320152935-it5oe1q1cmdaajrx
2012-03-20 16:29:35 +01:00
Xavier Morel
8d2f4c1b13
[IMP] docdocdoc
...
start some documentation on VisualSearch and the interaction between the search view and VS
bzr revid: xmo@openerp.com-20120320144738-9jkdw78os1gect1e
2012-03-20 15:47:38 +01:00
Xavier Morel
011e448564
[IMP] don't break current search query on search event (don't serialize and re-parse), implement filter facets at the filtergroup level
...
bzr revid: xmo@openerp.com-20120320120058-clfhbdh0u5qrm85s
2012-03-20 13:00:58 +01:00
Xavier Morel
b39712cf3d
[ADD] basic loading of default values in faceted search view
...
bzr revid: xmo@openerp.com-20120320102846-g2ymabvt4qc4bwzg
2012-03-20 11:28:46 +01:00
Xavier Morel
16fddf9207
[BREAK THE WORLD] single search field with global multifield autocompletion full of awesome
...
bzr revid: xmo@openerp.com-20120319164304-r48l8gdteaekr3hm
2012-03-19 17:43:04 +01:00
Xavier Morel
5dfdd64955
[IMP] update VisualSearch to most recent master for various fixes & improvements
...
exported revision is master 3fca87101db55b6f8bb2f845ed90416e3da3ff4a
bzr revid: xmo@openerp.com-20120316111608-tvmce2rh64tpa2wm
2012-03-16 12:16:08 +01:00
Xavier Morel
c2511f4241
[ADD] dummy VisualSearch widget
...
bzr revid: xmo@openerp.com-20120309135122-i774lbexhab2u646
2012-03-09 14:51:22 +01:00
Xavier Morel
9a646fce10
[ADD] permanent loading of saved filters
...
When selecting a saved filter, its data is now saved inside the
searchview's state, and re-used any time there's a search performed
(until the filter is replaced or the search view is cleared).
Some cleanup of the support code for loading filters
(SearchView.get_filters) also had to be performed in order not to fill
contexts with (potentially incorrect) crap in case the filter is
re-saved.
lp bug: https://launchpad.net/bugs/948219 fixed
bzr revid: xmo@openerp.com-20120307120323-pub0yuwjqk1r3y0p
2012-03-07 13:03:23 +01:00
Xavier Morel
e178185b4f
[MERGE] bug fixes form 6.1 branch
...
bzr revid: xmo@openerp.com-20120305070634-li0eloj7vhsljguu
2012-03-05 08:06:34 +01:00
niv-openerp
75d39c7f6a
[imp] renammed stop()
...
bzr revid: nicolas.vanhoren@openerp.com-20120221162912-zheko30qoh84hcoq
2012-02-21 17:29:12 +01:00
niv-openerp
be66f62357
[imp] changed children
...
bzr revid: nicolas.vanhoren@openerp.com-20120221155134-lej2ren1troagr72
2012-02-21 16:51:34 +01:00
niv-openerp
8384876ef0
[imp] renamed widget_parent to getParent()
...
bzr revid: nicolas.vanhoren@openerp.com-20120221153023-cqs66neaddtuf7km
2012-02-21 16:30:23 +01:00
Xavier Morel
fbf4c6dc0f
[FIX] incorrect handling of saved filter group_by when not present or an array
...
bzr revid: xmo@openerp.com-20120221140517-fs0axg9w8irapw06
2012-02-21 15:05:17 +01:00
niv-openerp
0d061d6c77
[fix] added openerp class to all dialogs
...
bzr revid: nicolas.vanhoren@openerp.com-20120217114357-5jeue9292eg2zoqf
2012-02-17 12:43:57 +01:00
Xavier Morel
980e2825d5
[IMP] get translated JS strings outside of QWeb attributes as the corresponding extractor does not actually work, export POTs
...
bzr revid: xmo@openerp.com-20120214142954-4ndkj63pog39ts0k
2012-02-14 15:29:54 +01:00
Xavier Morel
042a5f823d
[FIX] don't use 'undefined' as a fallback value for .attr, it makes jquery think that's a get and breaks chaining
...
bzr revid: xmo@openerp.com-20120213100543-0zu2ij95tnufu5df
2012-02-13 11:05:43 +01:00
Xavier Morel
346805aa02
[FIX] sizing of date widgets in search view
...
lp bug: https://launchpad.net/bugs/930049 fixed
bzr revid: xmo@openerp.com-20120213094015-px9udeft0v0htnyu
2012-02-13 10:40:15 +01:00
Xavier Morel
e0a346f0eb
[FIX] clearing of selection fields with a (non-additional) 'false' value in search views
...
also finally add a basic Input#clear API
lp bug: https://launchpad.net/bugs/928485 fixed
bzr revid: xmo@openerp.com-20120210155235-sjax5dnc73rpixbr
2012-02-10 16:52:35 +01:00
Xavier Morel
811e50b49c
[IMP] add tooltip on disabled filter
...
bzr revid: xmo@openerp.com-20120209163050-g4u7gvsnh6kgqs14
2012-02-09 17:30:50 +01:00
Xavier Morel
4bee4fe7fc
[ADD] support for id field type in search view
...
lp bug: https://launchpad.net/bugs/924296 fixed
bzr revid: xmo@openerp.com-20120131140210-b44fs5nfw109v81l
2012-01-31 15:02:10 +01:00
Xavier Morel
d0141aa5ce
[FIX] race condition on selecting saved filters
...
Deferreds can't "go through" al callbacks, so even when searchviews
correctly wait on this.on_clear it can't get the information on when
the other view is done clearing, and it lauches two concurrent views.
In this precise case though, there's no need to launch a search after
this clear, just want to remove all searchview state.
bzr revid: xmo@openerp.com-20120126092304-fe79ulj6txkgy411
2012-01-26 10:23:04 +01:00
Xavier Morel
1059bb758d
[IMP] clear search after deselecting a filter
...
bzr revid: xmo@openerp.com-20120126085636-3mja4a43yhywd6ga
2012-01-26 09:56:36 +01:00
Xavier Morel
a01106ca30
[IMP] don't reset filters select after selecting a saved filter
...
bzr revid: xmo@openerp.com-20120126085526-21rjfs2beykv00rv
2012-01-26 09:55:26 +01:00
Xavier Morel
084bf9fb3f
[FIX] in m2o fields, abort previous name_get when new one (for same field) arrives in order to limit the number of requests in-flight
...
lp bug: https://launchpad.net/bugs/920884 fixed
bzr revid: xmo@openerp.com-20120124141927-wznbkd2tf3mngq31
2012-01-24 15:19:27 +01:00
niv-openerp
c044b70429
[imp] removed identifier_prefix
...
bzr revid: nicolas.vanhoren@openerp.com-20120124151343-t17b3obenv244io3
2012-01-24 16:13:43 +01:00
niv-openerp
3002bd091f
[imp] removed bunch of old stuff in widget
...
bzr revid: nicolas.vanhoren@openerp.com-20120124145810-lr2y8igt9iqzqepn
2012-01-24 15:58:10 +01:00
niv-openerp
ac845b1bfa
[imp] nivified extended search
...
bzr revid: nicolas.vanhoren@openerp.com-20120124143318-pw8eka0zvrh7n3mt
2012-01-24 15:33:18 +01:00