Commit Graph

81 Commits

Author SHA1 Message Date
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 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
niv-openerp c1e4843ed9 [fix] added saving of group_bys in saved filters
bzr revid: nicolas.vanhoren@openerp.com-20120106162533-qyqa3okffz1iw38w
2012-01-06 17:25:33 +01:00
niv-openerp 7a9ed7b281 [imp] clear search filter when using an advanced filter
bzr revid: nicolas.vanhoren@openerp.com-20120106150826-fzhg02asqf8o828w
2012-01-06 16:08:26 +01:00
Xavier Morel 7049024898 [FIX] translation of advanced filter strings
* Made title of group ('Advanced Filters') available for translation
* Fixed translation mark for advanced filter operators (class level, need to be lazy)
* Re-extracted translation strings

and marked selection strings of boolean search widget while at it

lp bug: https://launchpad.net/bugs/906963 fixed

bzr revid: xmo@openerp.com-20111220175137-r3jeh6q8g4c92xf9
2011-12-20 18:51:37 +01:00
Xavier Morel 847cbbcb2c [FIX] behavior of invisible search inputs: they can still be active and should be present in the view, just not visible
bzr revid: xmo@openerp.com-20111216151108-b2x0orfy40qzw050
2011-12-16 16:11:08 +01:00
Xavier Morel c380b4db89 [FIX] add support for *nested* invisible filters in search view
lp bug: https://launchpad.net/bugs/905337 fixed

bzr revid: xmo@openerp.com-20111216143607-wd75h7akmxx2umi8
2011-12-16 15:36:07 +01:00
Xavier Morel 07e8fd05af [IMP] use modifiers in search view, instead of accessing directly to @invisible
bzr revid: xmo@openerp.com-20111216143041-wx95x1q2osv5qv15
2011-12-16 15:30:41 +01:00
Fabien Meghazi 83f694ed7a [IMP] Merge Advanced Filter button in select box and float it right
bzr revid: fme@openerp.com-20111214101344-61j1cpcjy4bdsz0w
2011-12-14 11:13:44 +01:00
Yogesh (OpenERP) bee181deab [FIX] use set_value method instead of direct assign value in do_clear method.
bzr revid: ysa@tinyerp.com-20111212084417-w4r16uesqqz5w51c
2011-12-12 14:14:17 +05:30
Yogesh (OpenERP) 7010922d50 [FIX] clear value of date and datetime widget in search view on clear button.
lp bug: https://launchpad.net/bugs/901665 fixed

bzr revid: ysa@tinyerp.com-20111209123514-c54e5ea9tqjuc34s
2011-12-09 18:05:14 +05:30
Fabien Meghazi e719ba764a [FIX] Fixed view_manager double do_search triggering
[REM] Removed autosearch
[REM] Removed last search caching

bzr revid: fme@openerp.com-20111206113658-ntnl14ezdnqqhe3m
2011-12-06 12:36:58 +01:00
Xavier Morel c97e5f6ead [IMP] use optgroups in filters management thingie
bzr revid: xmo@openerp.com-20111124102130-w3aro8z4w124b2ng
2011-11-24 11:21:30 +01:00
Xavier Morel 8630e75082 [IMP] use switch/case for sequence of equalities on literal strings
bzr revid: xmo@openerp.com-20111124101352-iavrge8h8pj0lwo9
2011-11-24 11:13:52 +01:00
Fabien Meghazi 66d11b95f4 [ADD] Added possibility to add actions to dashboards from searchviews filters
bzr revid: fme@openerp.com-20111123215356-wspyu61u6ad1vois
2011-11-23 22:53:56 +01:00
Xavier Morel 901596adce [FIX] searchview needs to send the action's context when loading its view
bzr revid: xmo@openerp.com-20111116133803-f21mzgatnkr5in3p
2011-11-16 14:38:03 +01:00
Fabien Meghazi db2c85635b [IMP] Upgraded unserscore version from 1.1.7 to 1.2.2 and underscore.string from 1.1.6 to 1.2.0
WARNING: underscore string does not mixin to underscore by default. Use _.str.*

bzr revid: fme@openerp.com-20111115123059-k31lhp0db2d8h22k
2011-11-15 13:30:59 +01:00
Xavier Morel fc2050fef1 [IMP] search view: assert the view received from the fields_view_get is a search view
bzr revid: xmo@openerp.com-20111114123948-inqtk10u1xgk2gmg
2011-11-14 13:39:48 +01:00
Xavier Morel d2a0f9bcba [IMP] mark a bunch of strings as translatable in searchview JS
bzr revid: xmo@openerp.com-20111114101221-905mu3id02o3n2li
2011-11-14 11:12:21 +01:00
Xavier Morel 097ea702fa [ADD] 'id' to all advanced filters if not in fields_get, to serve as a 'get resource by id' in web client
also fix broken extended filters due to broken oldwidget

lp bug: https://launchpad.net/bugs/885994 fixed

bzr revid: xmo@openerp.com-20111114095738-9nfpr970235k15fv
2011-11-14 10:57:38 +01:00
niv-openerp 57b7239ad2 [fix] advanced filters were broken
bzr revid: nicolas.vanhoren@openerp.com-20111110141343-iavtdbq0i56ma0nl
2011-11-10 15:13:43 +01:00
Christophe Simonis ae0bf044ef [IMP] qweb templates are stored in addon manifest and given by the server
bzr revid: chs@openerp.com-20111102111105-ibyupno1e47sv9ho
2011-11-02 12:11:05 +01:00