Xavier Morel
06aa99eb19
[IMP] correctly re-focus search view after rendering it
...
bzr revid: xmo@openerp.com-20120510124244-y1t9wy0zitfxlfv3
2012-05-10 14:42:44 +02:00
Xavier Morel
0d51f8992c
[IMP] Insert completed facet in stead of the index used for the completion, instead of always adding them to the end (if applicable)
...
bzr revid: xmo@openerp.com-20120509151217-4juo2hm8xxj21uj9
2012-05-09 17:12:17 +02:00
Xavier Morel
538b16c235
[ADD] backspace from within an empty input should remove the preceding facet, if any
...
bzr revid: xmo@openerp.com-20120509141242-5l75w08ruv4r8xtc
2012-05-09 16:12:42 +02:00
Xavier Morel
cd4c6fdd28
[ADD] core keyboard navigation between facets
...
bzr revid: xmo@openerp.com-20120509133241-42nl3comllgerxui
2012-05-09 15:32:41 +02:00
Xavier Morel
6b2efcbeb9
[ADD] new implementation of saving current search to new filter
...
bzr revid: xmo@openerp.com-20120508162137-b3qu0os79zl5wz0w
2012-05-08 18:21:37 +02:00
Xavier Morel
84cae313d2
[ADD] icons instead of category names for filters (and groupby filters)
...
bzr revid: xmo@openerp.com-20120504095717-va123l3gz3wvhjd1
2012-05-04 11:57:17 +02:00
Xavier Morel
7e0bd0103b
[ADD] single-facet handling of groupby
...
bzr revid: xmo@openerp.com-20120504094306-dieslsoibjjbtcs5
2012-05-04 11:43:06 +02:00
Xavier Morel
2251227058
[FIX] Advanced view adaptations to new facet & value shapes
...
bzr revid: xmo@openerp.com-20120503193645-ccap97ojw9cgre3y
2012-05-03 21:36:45 +02:00
Xavier Morel
d4a9e10308
[ADD] handling of reset button on searchview
...
bzr revid: xmo@openerp.com-20120503193110-aqmeo3dz94y49fg0
2012-05-03 21:31:10 +02:00
Xavier Morel
94624b74b0
[FIX] get_* methods on FilterGroup
...
bzr revid: xmo@openerp.com-20120503192645-8x63l5rnwz2vg2yp
2012-05-03 21:26:45 +02:00
Xavier Morel
64538c181e
[FIX] domain and context generation on m2o fields
...
by default, an m2o field should behave like a charfield (== use its
textual value), but if the domain is fully default (no filter_domain
and no custom operator) and the user explicitly selected an object
(which is the only thing he can do at this point in the new search
view), then we can generate a domain matching exactly the stored id.
bzr revid: xmo@openerp.com-20120503163709-odlnib513h3f84v6
2012-05-03 18:37:09 +02:00
Xavier Morel
5c4ac52291
[FIX] typo: remember to instantiate objects
...
bzr revid: xmo@openerp.com-20120503155532-q2es166215yfgn7g
2012-05-03 17:55:32 +02:00
Xavier Morel
aca54c9812
[REM] pointless overrides to value_from and make_domain
...
- selection does not need to override get_value/value_from
- neither does boolean, its selection values can be correctly set from the start
- m2o can only facet correct values, not fuzzy, so the make_domain override is not useful
bzr revid: xmo@openerp.com-20120503154751-w5pojni831xwu6bv
2012-05-03 17:47:51 +02:00
Xavier Morel
0c99ac1333
[FIX] domain and context generation from fields, also doc
...
bzr revid: xmo@openerp.com-20120503154311-4pg762pcgt83416c
2012-05-03 17:43:11 +02:00
Xavier Morel
6d12c155a4
[TEST] serialization of search domains & contexts by the search view
...
bzr revid: xmo@openerp.com-20120503125949-2m8euott3xzyivdm
2012-05-03 14:59:49 +02:00
Xavier Morel
836dfa6aa8
[IMP] move responsibility for facet removal (on click) to the facet's view, use Model#destroy for facet removal instead of a convoluted route through SearchView#query
...
bzr revid: xmo@openerp.com-20120503115608-7dwyj5j9mq82gv73
2012-05-03 13:56:08 +02:00
Xavier Morel
69af9da2c8
[IMP] change minLength condition to 1 for completion
...
0 allows opening a completion list with nothing, but that turns out not to be very useful and it interacts weirdly with tabbing between search inputs
bzr revid: xmo@openerp.com-20120503080723-i4u9vl91rhlfhmg8
2012-05-03 10:07:23 +02:00
Xavier Morel
23ef3f9b96
[ADD] correct focus of facets in input sequence, ability to remove facet via backspace/delete
...
bzr revid: xmo@openerp.com-20120502153439-0374v3dqz5fbe1ju
2012-05-02 17:34:39 +02:00
Xavier Morel
f04eb6a29d
[IMP] comments for event bindings
...
bzr revid: xmo@openerp.com-20120502151011-4j8t9wworl7frndh
2012-05-02 17:10:11 +02:00
Xavier Morel
dce41d8aea
[ADD] automatic selection of first completion item in the list
...
bzr revid: xmo@openerp.com-20120502150808-jpqiq63574ds2c1g
2012-05-02 17:08:08 +02:00
Xavier Morel
f009c76598
[ADD] focus last input if the user clicks somewhere in the search view, outside of a search view control
...
bzr revid: xmo@openerp.com-20120502134312-0tuspwcmtlw5el3o
2012-05-02 15:43:12 +02:00
Xavier Morel
a40e410d1a
[ADD] correct handling of input blurring
...
bzr revid: xmo@openerp.com-20120502132743-dr29i2fvrpo6tute
2012-05-02 15:27:43 +02:00
Xavier Morel
25a30ad0ce
[ADD] autocompletion correctly using input values
...
bzr revid: xmo@openerp.com-20120502131226-w4agkq7qq5ni8nwl
2012-05-02 15:12:26 +02:00
Xavier Morel
a4918562a0
[ADD] selection/deselection of facets
...
bzr revid: xmo@openerp.com-20120430155912-c6tbyaqul6jc329u
2012-04-30 17:59:12 +02:00
Xavier Morel
7064a5b85e
[FIX] filter name fallback if there is no string on the filter
...
bzr revid: xmo@openerp.com-20120430150613-ifvar5ncjtakzpki
2012-04-30 17:06:13 +02:00
Xavier Morel
8be95a5549
[ADD] facet removal
...
bzr revid: xmo@openerp.com-20120430150330-qdypxzwvrd4x4hkz
2012-04-30 17:03:30 +02:00
Xavier Morel
b7626a59c3
[IMP] style search view/query
...
bzr revid: xmo@openerp.com-20120430143907-xqqyvtgazos70knw
2012-04-30 16:39:07 +02:00
Xavier Morel
24e104fcbe
[IMP] alias backbone to ensure searchview doesn't care about POS stomping an old-as-shit backbone on top of the more recent one bundled with core
...
bzr revid: xmo@openerp.com-20120427154614-otxpbsc9lio9azko
2012-04-27 17:46:14 +02:00
Xavier Morel
7dd114798d
[TEST] toggling of filters within a group
...
bzr revid: xmo@openerp.com-20120427153638-bkm6x2dfqf4tnjw9
2012-04-27 17:36:38 +02:00
Xavier Morel
1f0b1673e2
[TEST] rendering of drawer
...
bzr revid: xmo@openerp.com-20120427150436-3wxgyyp59l5vefr5
2012-04-27 17:04:36 +02:00
Xavier Morel
661eddb330
[REF] extract building of a facet descriptor from m2o/selection pairs into a function
...
bzr revid: xmo@openerp.com-20120427083024-zqq9hs203uaywlbr
2012-04-27 10:30:24 +02:00
Xavier Morel
8f5a591ab0
[TESTS] completion call on various widgets, fixed corresponding implementations
...
bzr revid: xmo@openerp.com-20120427080607-1bw1jpmu7h6zxdin
2012-04-27 10:06:07 +02:00
Xavier Morel
19e771dd9f
[IMP] remove redundancy in creating a facet from a default value in m2o fields
...
bzr revid: xmo@openerp.com-20120426141033-5blb5ifdfnzeea03
2012-04-26 16:10:33 +02:00
Xavier Morel
6d02c640bf
[TEST] defaults handling for selection & m2o fields, fix bugs in them
...
bzr revid: xmo@openerp.com-20120426135817-wesh3nkytuieilky
2012-04-26 15:58:17 +02:00
Xavier Morel
eb989f68a8
[TEST] behavior when selecting a given completion, fix handler
...
bzr revid: xmo@openerp.com-20120426121210-012l0doboktnic8s
2012-04-26 14:12:10 +02:00
Xavier Morel
2591fa5e1e
[FIX] missing state propagation in searchview initialization, test defaults calling on fields
...
bzr revid: xmo@openerp.com-20120426102949-xtv3inug3sue0h6a
2012-04-26 12:29:49 +02:00
Xavier Morel
595eec05a6
[FIX] make SearchQuery#add(Array) work correctly (fixing #reset at the same time)
...
bzr revid: xmo@openerp.com-20120424123824-x3nsecztz9gsiar4
2012-04-24 14:38:24 +02:00
Xavier Morel
9046ab46fa
[WIP] VS-less search view: remove visualsearch, start building coherent model backing to the view
...
bzr revid: xmo@openerp.com-20120424105941-x8dvot5mjruvxcho
2012-04-24 12:59:41 +02:00
niv-openerp
0a78144741
[fix] problem in search view, seems like a typo
...
bzr revid: nicolas.vanhoren@openerp.com-20120418131202-uxbwgb4if01t3pzo
2012-04-18 15:12:02 +02:00
niv-openerp
827964936f
[imp] refactored search.js
...
bzr revid: nicolas.vanhoren@openerp.com-20120417120210-kejvstgamtpufbeq
2012-04-17 14:02:10 +02:00
Xavier Morel
dbc5bde43d
[FIX] hack around double-search: prevent loading of defaults in search view from triggering a search
...
which requires manually requesting a facets repaint, as that hinges on the query's events
bzr revid: xmo@openerp.com-20120410072434-nsjb97cc32rxb9ju
2012-04-10 09:24:34 +02:00
Antony Lesuisse
7b158acee5
core refactoring, split core into corelib.js and coresetup.js
...
bzr revid: al@openerp.com-20120409003901-uo5wn6lj27yb6w7x
2012-04-09 02:39:01 +02:00
Xavier Morel
4b2e41c665
[FIX] start selection of first field in advanced search
...
Picking very first field of the sequence is completely broken as it
might very well be non-searchable, and not even displayed in the
options list.
Changed to simply call changed() at the end of the initialization
code, this goes through all the supposedly correct code pathways
without having to duplicate fields filtering (which is also done while
rendering the view)
bzr revid: xmo@openerp.com-20120406140520-rvol79gmf4yv97tx
2012-04-06 16:05:20 +02:00
Xavier Morel
233a72f850
[IMP] rename 'q' category of advanced filters to 'Advanced'
...
bzr revid: xmo@openerp.com-20120406115141-6qwitdq993a5h4lw
2012-04-06 13:51:41 +02:00
Xavier Morel
bbd702c9cf
[IMP] rename q filter category to Filter (temp)
...
bzr revid: xmo@openerp.com-20120406115026-tb7vqvkbwmp9odqr
2012-04-06 13:50:26 +02:00
Xavier Morel
dee501948e
[IMP] quick change (to better fix when facets are re-done): make all facets read-only
...
rco review feedback for essential fixes
bzr revid: xmo@openerp.com-20120406114633-mp0ws7n3d2cokddd
2012-04-06 13:46:33 +02:00
Xavier Morel
30ba123a1f
[IMP] partially fix group_by handling
...
* Don't just use the domain out of a FilterGroup as group_by keys in filters will overwrite one another
* Add dedicated get_groupby API returning an array of groups to evaluate
limitation: can't intersperse groupby from a different FilterGroup, that'll have to be fixed by ungrouping buttons
bzr revid: xmo@openerp.com-20120403120742-o3liksqaigsnxvb4
2012-04-03 14:07:42 +02:00
Xavier Morel
71c98a510b
[REM] unused instance variable of searchview.Advanced
...
bzr revid: xmo@openerp.com-20120403095716-rjxnc8zafxup8os1
2012-04-03 11:57:16 +02:00
Xavier Morel
4abfb09d32
[IMP] apply current advanced search when pressing [Return] while altering the search
...
Wrap a form around the search and hook search commit on form submit, make the 'apply' button into a submit button
bzr revid: xmo@openerp.com-20120403095615-r8x5ropf8odr7oxw
2012-04-03 11:56:15 +02:00
Xavier Morel
d4aa6b6fea
[IMP] close drawer when creating an advanced search view
...
bzr revid: xmo@openerp.com-20120403095303-1tu2p0novxaof0ph
2012-04-03 11:53:03 +02:00
Xavier Morel
7f80cd83fc
[IMP] don't trigger three searches when creating an advanced search with three conditions
...
bzr revid: xmo@openerp.com-20120403095146-26emkw284lxrahwk
2012-04-03 11:51:46 +02:00
Xavier Morel
ac5eed3c6c
[ADD] completion and values fetching for Date and Datetime fields, based on datejs's fuzzy date-ish parsing
...
bzr revid: xmo@openerp.com-20120403090807-6ct56fqkd1a6jcg1
2012-04-03 11:08:07 +02:00
Xavier Morel
81732f3ad0
[FIX] keyboard handling around read-only facets
...
bzr revid: xmo@openerp.com-20120403073946-4zq4vmods3ot77ot
2012-04-03 09:39:46 +02:00
Xavier Morel
846349bbe1
[IMP] make advanced search criterion look very slighly less bad
...
bzr revid: xmo@openerp.com-20120402123200-gp808tru9rdtkyy9
2012-04-02 14:32:00 +02:00
Xavier Morel
1cf64f448f
[IMP] slightly improve label of advanced search (still not very good)
...
bzr revid: xmo@openerp.com-20120402114459-1oa6v66uce4cpl0t
2012-04-02 13:44:59 +02:00
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
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
Xavier Morel
d9c03065fd
[FIX] handling of invisible attribute in search view
...
bzr revid: xmo@openerp.com-20111024152612-3mh7nj8k8g5gcsp9
2011-10-24 17:26:12 +02:00
RavishchanraMurari (Open ERP)
1945d19d15
mulit_company_in group_by
...
bzr revid: rmu@tinyerp.com-20111024121415-wkjyjzl6ydqz3t7o
2011-10-24 17:44:15 +05:30
RavishchanraMurari (Open ERP)
4871ed069c
merge_web_trunk
...
bzr revid: rmu@tinyerp.com-20111024121059-cu4z9cfx5jy9b65y
2011-10-24 17:40:59 +05:30
RavishchanraMurari (Open ERP)
c507d1ef7e
company_id_in_multi_company
...
bzr revid: rmu@tinyerp.com-20111020115146-p0ai3x3q0u48390k
2011-10-20 17:21:46 +05:30
Xavier Morel
789b0b6524
[IMP] stop displaying *big* filters when a filter-in-field has a @string
...
also log a debug warning to the console
bzr revid: xmo@openerp.com-20111017134103-cojd352p3ppqs68h
2011-10-17 15:41:03 +02:00
Christophe Simonis
00b269d1c0
[IMP] nivification of Notification Widget
...
bzr revid: chs@openerp.com-20111013102653-wox1v4o9mfplzt2b
2011-10-13 12:26:53 +02:00
Xavier Morel
342b8e680b
[FIX] search selection default value in case no default is set: select option with value 'false' if there's any
...
bzr revid: xmo@openerp.com-20111007082905-86zc0dzwu0bv4bwz
2011-10-07 10:29:05 +02:00
Xavier Morel
6c1499ecd9
[FIX] clear in search views should clear small filters as well
...
bzr revid: xmo@openerp.com-20111006152332-g0ifsv53jwq66u9u
2011-10-06 17:23:32 +02:00
Xavier Morel
404db3a08b
[FIX] correctly handle 'false' value on selection fields
...
bzr revid: xmo@openerp.com-20111006145439-mklud8aaezmd2b1p
2011-10-06 16:54:39 +02:00
Xavier Morel
06787922c0
[FIX] selection field value in case there's no value (haha)
...
bzr revid: xmo@openerp.com-20111006100235-2x41tzki77sk6i3v
2011-10-06 12:02:35 +02:00
Xavier Morel
0fc5a423e3
[FIX] don't screw up typing of selection values in search view
...
bzr revid: xmo@openerp.com-20111006095301-98cda38m1y270f3m
2011-10-06 11:53:01 +02:00
Xavier Morel
a3a45e18b3
[FIX] m2o fields with selection widget in search view
...
Plan was originally to just ignore this because "it should just work"
but turns out m2o and m2o[@widget=selection] fields have very
different behaviors when it comes to default values, especially
custom domains and contexts:
* An m2o field uses its string value always (behaves like a char
field), for UI and clarity purposes we added an [[name, '=', id]]
case when the user specifically selects an autocompletion value,
but that's not "cannon", when it comes to dealing with custom
domains (filter_domain) and contexts the field always uses its
string value.
* An m2o[@widget=selection] field on the other hand uses its ids
always (behaves like a selection field).
That's not entirely true, really, because it has the converse to
what we implemented on the m2o field in the web client (in the GTK
client): if there is no @filter_domain *and* the user has entered a
value which is not in the dropdown (it's a combobox in the GTK
client), then it falls back on using 'ilike'. This string value is
*not* used in custom domains and custom filters, which simply are
not submitted.
This second section has *not* been implemented so far in the web
client, we'll come round to it if people actually need it.
bzr revid: xmo@openerp.com-20111006063949-fl5rbg3wwubcaay8
2011-10-06 08:39:49 +02:00
Xavier Morel
d801f21146
[REV] 1150, broke filter_domain in case of empty field
...
bzr revid: xmo@openerp.com-20111005130252-oovrpbo4a1pjavwd
2011-10-05 15:02:52 +02:00
Xavier Morel
68cd9188b9
[FIX] handling of value and default domain in search m2o
...
bzr revid: xmo@openerp.com-20111005105731-9431uvhay91bt10c
2011-10-05 12:57:31 +02:00
Fabien Meghazi
8b55e42884
[IMP] trigger do_search on_mode_switch. Use headless searchview when hidden and when no default specified
...
bzr revid: fme@openerp.com-20110928151306-d7aphegy2gedjsqk
2011-09-28 17:13:06 +02:00
Fabien Meghazi
b00f4e7e1f
[IMP] Always instantiate search view in ViewManagerAction
...
bzr revid: fme@openerp.com-20110928104458-1a6768411suiky6c
2011-09-28 12:44:58 +02:00
niv-openerp
1d68e2903e
[merge]
...
bzr revid: nicolas.vanhoren@openerp.com-20110921120434-ds3i74ey8ihc72ml
2011-09-21 14:04:34 +02:00
niv-openerp
e281efe866
[imp] used datetime widget in advanced search
...
bzr revid: nicolas.vanhoren@openerp.com-20110921120347-rx8xhwa4igswtsx7
2011-09-21 14:03:47 +02:00
niv-openerp
7d65aca167
[imp] used datetime widget in search view
...
bzr revid: nicolas.vanhoren@openerp.com-20110921115054-mgd5ts19sk1olvgu
2011-09-21 13:50:54 +02:00
Xavier Morel
91619c24aa
[FIX] do not consider empty domains as domains (ignore them) in FilterGroup domain management
...
lp bug: https://launchpad.net/bugs/854704 fixed
bzr revid: xmo@openerp.com-20110920134607-lz8d8r4ojbrgihd7
2011-09-20 15:46:07 +02:00
Xavier Morel
78e2374ea2
[FIX] clear enabled_filters searchview state when clearing the search form
...
lp bug: https://launchpad.net/bugs/851981 fixed
bzr revid: xmo@openerp.com-20110920131945-uonv71pnnfsniapu
2011-09-20 15:19:45 +02:00
Xavier Morel
88c3df671d
[FIX] breakage in case of filters without domains: don't blow up when a filter returns a domain of null, just filter it out
...
bzr revid: xmo@openerp.com-20110920125334-2phr5olecrq9r4n9
2011-09-20 14:53:34 +02:00
niv-openerp
e1bde312fc
[imp] corrected integer handling in search view
...
bzr revid: nicolas.vanhoren@openerp.com-20110919134615-9ef47xeuw3gxdmwr
2011-09-19 15:46:15 +02:00
niv-openerp
ba39c0351d
[imp] updated search view widgets to use correct function to format floats.
...
bzr revid: nicolas.vanhoren@openerp.com-20110919132026-brzz1lz4999r0zol
2011-09-19 15:20:26 +02:00
niv-openerp
f6c3577708
[fix] forgot to convert search view
...
bzr revid: nicolas.vanhoren@openerp.com-20110915095214-13k5zgjz87xis8el
2011-09-15 11:52:14 +02:00
Xavier Morel
81e6707b91
[IMP] make filtergroups [OR] their component filters instead of [AND]-ing them
...
bzr revid: xmo@openerp.com-20110915084626-9rxv8jv65uxtq9ga
2011-09-15 10:46:26 +02:00
niv-openerp
891c215272
[imp] removed completely this.log
...
bzr revid: nicolas.vanhoren@openerp.com-20110913121728-ehqqsimfqyqzj1m1
2011-09-13 14:17:28 +02:00
Xavier Morel
127364adca
[IMP] fix more jsdoc to not have any global extracted in jsdoc
...
bzr revid: xmo@openerp.com-20110912120604-ojzbfhjkobgoueo6
2011-09-12 14:06:04 +02:00
Xavier Morel
dedded5294
[FIX] a few more existing jsdoc so jsdoc v3 does not blow up during parsing
...
bzr revid: xmo@openerp.com-20110912113437-emv28eo9ct9n559g
2011-09-12 13:34:37 +02:00
Fabien Meghazi
e0eec18342
[IMP] Removed global QWeb. Now instanciate a QWeb2.Engine for each session: instance.web.qweb
...
bzr revid: fme@openerp.com-20110907093743-k0224c5qjb74hxvb
2011-09-07 11:37:43 +02:00
Antony Lesuisse
bedfc48dcf
rename base into web part1
...
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
2011-09-05 13:03:09 +02:00