Xavier Morel
f03f6115e4
[IMP] hook search into ViewManager, add handling for auto_search in window action
...
bzr revid: xmo@openerp.com-20110325081227-cpct376v07amlooo
2011-03-25 09:12:27 +01:00
Xavier Morel
98037d1fe5
[IMP] use .toggle(condition) instead of if(condition) .show() else .hide()
...
bzr revid: xmo@openerp.com-20110325072607-gbz2z3rsnv140fgu
2011-03-25 08:26:07 +01:00
Xavier Morel
6c5665b7ed
[ADD] integer widget
...
bzr revid: xmo@openerp.com-20110324192459-csylxhu32au9nns6
2011-03-24 20:24:59 +01:00
Xavier Morel
270ccc546a
[ADD] text, selection and boolean fields; improve logic to detect whether a field has a value
...
If the value returned by a field is the literal 'null' or an empty
string, then the field is empty (empty input, no valued option
selected, etc...).
On the other hand, because openerp.base.search.Field.get_value returns
a *javascript* value it can be the literals '0' or 'false'. Those are
falsy in a boolean context (for good reasons, for 'false') but they
should still count as the field having a value.
I'm guessing this part is going to reach "spin off in its own
per-field method" complexity pretty soon.
bzr revid: xmo@openerp.com-20110324184713-sf7skv34s9824ge6
2011-03-24 19:47:13 +01:00
Xavier Morel
58584c82a7
[IMP] move group toggling from template code to JS code
...
bzr revid: xmo@openerp.com-20110324182222-qaymq120818jx10n
2011-03-24 19:22:22 +01:00
Xavier Morel
2e2e88e687
[ADD] Date and ManyToMany fields
...
bzr revid: xmo@openerp.com-20110324181655-xh1btoq1mj8kr2mi
2011-03-24 19:16:55 +01:00
Xavier Morel
3c46de8c98
[FIX] the default operator on 'char' fields is 'ilike'
...
bzr revid: xmo@openerp.com-20110324180129-mv36bxo7dswv7q06
2011-03-24 19:01:29 +01:00
Xavier Morel
f9e10d85a1
[IMP] only send domain if there's a value (the field is 'enabled')
...
bzr revid: xmo@openerp.com-20110324180028-3cuim4glo70wezkh
2011-03-24 19:00:28 +01:00
Xavier Morel
10d34d936a
[FIX] it turns out the default operator is weirdly named 'default_operator', not 'die_walküre'. Weird
...
bzr revid: xmo@openerp.com-20110324174230-nfv342t6aysrkkb5
2011-03-24 18:42:30 +01:00
Xavier Morel
cff572c9c4
[FIX] yes suzie, we do actually need the last filter of our view, it can be useful
...
bzr revid: xmo@openerp.com-20110324173926-ctk9ys2ddiuguvjz
2011-03-24 18:39:26 +01:00
Xavier Morel
cd46d24b33
[ADD] basic domain and value handling on all inputs (integrated so far)
...
bzr revid: xmo@openerp.com-20110324173721-zo5gm38lv92f2b7f
2011-03-24 18:37:21 +01:00
Xavier Morel
4756756f81
[ADD] basic implementation of get_context and get_domain on filters
...
bzr revid: xmo@openerp.com-20110324162335-l622nm8pyjb31pfh
2011-03-24 17:23:35 +01:00
Xavier Morel
c96b91e690
[ADD] perform search after clicking on a button
...
bzr revid: xmo@openerp.com-20110324162030-1dvnn422hsusmiol
2011-03-24 17:20:30 +01:00
Xavier Morel
491e6017af
[ADD] a bunch of stuff to make it possible to enable and disable filters when clicking on them (yay)
...
bzr revid: xmo@openerp.com-20110324161842-6lri6u9pu0msa5cx
2011-03-24 17:18:42 +01:00
Xavier Morel
8a0faeb73f
[add] kinda forgot about the filters-within-fields things
...
bzr revid: xmo@openerp.com-20110324142330-711hpfm4younpcim
2011-03-24 15:23:30 +01:00
Xavier Morel
a8f877e6f0
[ADD] start of widgets-based search view, break search itself (for now) and get the same result as before I broke everything layout-wise (woohoo)
...
bzr revid: xmo@openerp.com-20110324124653-kn5c69ytuieu68gn
2011-03-24 13:46:53 +01:00
Xavier Morel
73343295fa
[FIX] Label widget rendering breaking on actual label elements/widgets (e.g. opportunities form)
...
bzr revid: xmo@openerp.com-20110324210347-1tnqjpzu22zr0vzw
2011-03-24 22:03:47 +01:00
Xavier Morel
885cab6230
[FIX] use LABjs to load scripts to avoid recurring 'TypeError: Result of expression 'openerp._openerp[mod]' [undefined] is not a function.'
...
Might not be the best loader, not sure, but we only use it in two places so it's trivial to replace. It's also one of the oldest loaders so it should be pretty stable.
bzr revid: xmo@openerp.com-20110324203538-bk59e8wbiux47e7j
2011-03-24 21:35:38 +01:00
Antony Lesuisse
cce35c01e1
viewmanager typo
...
bzr revid: al@openerp.com-20110324163449-26amfxhsx03h72jg
2011-03-24 17:34:49 +01:00
Antony Lesuisse
506a85c80e
viewmanager part1
...
bzr revid: al@openerp.com-20110324163114-dvoi8l3nzmut5y63
2011-03-24 17:31:14 +01:00
Xavier Morel
a51d1c0c49
[FIX] trailing comma
...
bzr revid: xmo@openerp.com-20110324071652-8i6rnyb9drkmsbb5
2011-03-24 08:16:52 +01:00
Antony Lesuisse
b507d2231f
loud thinking about viewmanager
...
bzr revid: al@openerp.com-20110324010814-n8hk09002jfq65eg
2011-03-24 02:08:14 +01:00
Xavier Morel
801fae18ca
[ADD] implement forgotten DataSet.get RPC method, test it a bit
...
bzr revid: xmo@openerp.com-20110323120806-uhas8xvxnpsa1dm2
2011-03-23 13:08:06 +01:00
Xavier Morel
65c8aaf78b
[ADD] some doc for the dataset
...
bzr revid: xmo@openerp.com-20110323105031-9j2s5d2g8kxwf9wu
2011-03-23 11:50:31 +01:00
Xavier Morel
2594a8cad6
[ADD] tests for DataSet.(do_)find
...
bzr revid: xmo@openerp.com-20110323090801-vx75gc5vk0hx71og
2011-03-23 10:08:01 +01:00
Xavier Morel
3d65a024d2
[IMP] implement DataSet.find, rename .ids() to .fetch() (and the corresponding event), make list and form views use the new dataset API
...
bzr revid: xmo@openerp.com-20110323083441-ego3wphgpb94obrg
2011-03-23 09:34:41 +01:00
Xavier Morel
1284858cb1
[ADD] get_active_id, use API functions more instead of internals in DataSet
...
bzr revid: xmo@openerp.com-20110323075429-ek9bvxs6vzoxcqlc
2011-03-23 08:54:29 +01:00
Xavier Morel
99f90b17a2
[FIX] split selection of a range of ids and activation of a single id into two methods, write some tests
...
bzr revid: xmo@openerp.com-20110323072712-10gohth1mxrgh6o1
2011-03-23 08:27:12 +01:00
Xavier Morel
77b9c7bd8b
[ADD] basic implementations of DataSet.select and DataSet.active_ids
...
bzr revid: xmo@openerp.com-20110322203644-iubno2jusxp4z98p
2011-03-22 21:36:44 +01:00
Xavier Morel
efa2ac2939
[ADD] ids and set methods on DataSet
...
bzr revid: xmo@openerp.com-20110322191043-d2s7qz2riuv7tjkd
2011-03-22 20:10:43 +01:00
Fabien Meghazi
8284359b83
[IMP] Improved FieldChar widget
...
bzr revid: fme@openerp.com-20110322171801-e5jmov41xg3pnzfz
2011-03-22 18:18:01 +01:00
Fabien Meghazi
1fb6165a8a
[FIX] ListView table autoresize
...
bzr revid: fme@openerp.com-20110322135026-ndme63lh7pa98c03
2011-03-22 14:50:26 +01:00
Fabien Meghazi
e4b925112f
[ADD] url widget
...
bzr revid: fme@openerp.com-20110322114852-4o14wjiebb2yv90c
2011-03-22 12:48:52 +01:00
Xavier Morel
b44fdabb9a
[FIX] trailing commas and missing semicolons
...
bzr revid: xmo@openerp.com-20110318165821-5zyvlfzi7xt25gu0
2011-03-18 17:58:21 +01:00
Antony Lesuisse
aa826f3eed
view and viewaction viewembedded readme guidelines
...
bzr revid: al@openerp.com-20110318003817-7boupjexdqicauyn
2011-03-18 01:38:17 +01:00
Fabien Meghazi
44271fe7f4
[ADD] Notebooks tabs
...
bzr revid: fme@openerp.com-20110317174932-hnlgoso4ezueuqbr
2011-03-17 18:49:32 +01:00
Fabien Meghazi
8daad6a2ec
Refactoring
...
bzr revid: fme@openerp.com-20110317172508-fb1yxc1bcunqm2gt
2011-03-17 18:25:08 +01:00
Fabien Meghazi
38c3d7c344
[ADD] datarecord plugged to formview part1
...
bzr revid: fme@openerp.com-20110317161356-b9qxxj227anuz5lr
2011-03-17 17:13:56 +01:00
Antony Lesuisse
b8b37b18a2
datarecord load
...
bzr revid: al@openerp.com-20110317140638-dgsu44ci48nnpevq
2011-03-17 15:06:38 +01:00
Antony Lesuisse
35b6a7efec
form logic part1
...
bzr revid: al@openerp.com-20110317134155-snjjer2ynnbwuynf
2011-03-17 14:41:55 +01:00
Antony Lesuisse
b28c65dcbd
comment to simplify widget constructors
...
bzr revid: al@openerp.com-20110317003057-kmhibna1xbzc65lj
2011-03-17 01:30:57 +01:00
Antony Lesuisse
4beb59472e
Rename WidgetField to Field use a common class
...
bzr revid: al@openerp.com-20110317002341-42we1on4bbud4k0h
2011-03-17 01:23:41 +01:00
Antony Lesuisse
efca9c4ed9
window.openerp is is now a regular object, split controllers into chrome and views
...
bzr revid: al@openerp.com-20110316235634-3cuq96tkcsloq27j
2011-03-17 00:56:34 +01:00