Commit Graph

98 Commits

Author SHA1 Message Date
Christophe Simonis 63e4d9b572 [IMP] sed -i '' -e 's/connection/session/g'
bzr revid: chs@openerp.com-20120814152900-8r84kyz0qy1hwkvz
2012-08-14 17:29:00 +02:00
Xavier Morel f1b6bc35d6 [FIX] add current_date to JS evaluation context
bzr revid: xmo@openerp.com-20120801144435-h0643av6ju9ncdpx
2012-08-01 16:44:35 +02:00
Xavier Morel fbce1b1a1d [FIX] increase test timeout due to mis-ordered async test taking way longer than expected
bzr revid: xmo@openerp.com-20120801130316-uzogecm5req2qrpj
2012-08-01 15:03:16 +02:00
Xavier Morel acaec8b582 [FIX] Widget test: was changed to always have a root element for backwards fuckery reasons
bzr revid: xmo@openerp.com-20120801125910-x6obdnlx2oi5e3kw
2012-08-01 14:59:10 +02:00
Antony Lesuisse fbb2f80cf1 [MERGE] backbonify-widgets, minor api changes that make Widget more similar to backbone Views
bzr revid: al@openerp.com-20120801124804-ov9l9ytabqx54gdo
2012-08-01 14:48:04 +02:00
Xavier Morel f5bff3996b [FIX] editor base state: initializing formview (and its pager) requires an actual dataset.ids.length
bzr revid: xmo@openerp.com-20120801123635-y21onweovg0uih7d
2012-08-01 14:36:35 +02:00
Xavier Morel 8a7428d731 [FIX] editable listview test: set_editable was removed, pass editable as option when creating listview
bzr revid: xmo@openerp.com-20120801123449-e65apxliok8fsrvq
2012-08-01 14:34:49 +02:00
Xavier Morel d304f9fbb7 [CHG] rename this. to this.
because why make things simple when you can make them fucked up

bzr revid: xmo@openerp.com-20120726075359-b0uvuuagrfsf7nhb
2012-07-26 09:53:59 +02:00
Xavier Morel 0310d5ae73 [REM] #events can't be a function anymore
bzr revid: xmo@openerp.com-20120725091331-jvhgyf427cuxbwl4
2012-07-25 11:13:31 +02:00
Antony Lesuisse 3235ed8a18 [MERGE] trunk
bzr revid: al@openerp.com-20120725082646-ff6ljt0pquvm0dup
2012-07-25 10:26:46 +02:00
Antony Lesuisse 3611d585b3 [MERGE] trunk
bzr revid: al@openerp.com-20120721201123-3824izt73xvmk9vl
2012-07-21 22:11:23 +02:00
Xavier Morel 01e6e3ec07 [IMP] DOWNCASE ALL THE THINGS
apparently and contrary to what I remembered, we're still supposed to use underscore_separated method names, not camelCase

bzr revid: xmo@openerp.com-20120717132308-wvpldtprt33heee3
2012-07-17 15:23:08 +02:00
Xavier Morel 75c2845fb5 [ADD] default_get support on new row creation
bzr revid: xmo@openerp.com-20120716110430-9uv352m46d3mn1bx
2012-07-16 13:04:30 +02:00
Xavier Morel 0c872cf469 [FIX] trailing comma in array literal creates a single undefined element in IE8
bzr revid: xmo@openerp.com-20120712120657-14j2izo6idppq5aq
2012-07-12 14:06:57 +02:00
Xavier Morel 0bccd9be59 [FIX] tests: update jquery link, fix broken searchview test following merge
bzr revid: xmo@openerp.com-20120712115552-7adsu941o3wjtrmr
2012-07-12 13:55:52 +02:00
Xavier Morel e431cda2d3 [MERGE} from trunk
bzr revid: xmo@openerp.com-20120711112959-tcb9epdfc9frt6ux
2012-07-11 13:29:59 +02:00
Xavier Morel 5b6df7ebeb [ADD] Collection#pred as well, while we're at it
bzr revid: xmo@openerp.com-20120710131205-voi1nc5rkvewjr2f
2012-07-10 15:12:05 +02:00
Xavier Morel 079e90afbb [ADD] successor method to list collections, to safely get the "next" record in a nested (groupby) context
bzr revid: xmo@openerp.com-20120710123718-kiot6zzji07a4iao
2012-07-10 14:37:18 +02:00
Xavier Morel d968398d15 [ADD] events tests
bzr revid: xmo@openerp.com-20120705124342-vm0pavyzqfuwa3k5
2012-07-05 14:43:42 +02:00
Xavier Morel 09bf459bbc [TESTS] add some
bzr revid: xmo@openerp.com-20120705070854-tsyl27v3hdh7sbds
2012-07-05 09:08:54 +02:00
Xavier Morel b289447826 [TEST] saving of editor with required non-filled field, and cancelling of edition
bzr revid: xmo@openerp.com-20120704152329-81ktb8umm9xbr5wt
2012-07-04 17:23:29 +02:00
Xavier Morel 028f9d115f [FIX] strangely implemented searchview test breaking some subsequent tests randomly
bzr revid: xmo@openerp.com-20120704140240-6yehb6c6ffxi7d12
2012-07-04 16:02:40 +02:00
Xavier Morel cd90a9365c [FUCK] that shit
bzr revid: xmo@openerp.com-20120704133521-7x05840jzek1d8e7
2012-07-04 15:35:21 +02:00
Xavier Morel 25284686f3 [TEST] saving of record being edited, improve RPC mocking to allow dispatch on ORM method name
bzr revid: xmo@openerp.com-20120704132822-3p4h1c6cyr0qvn2x
2012-07-04 15:28:22 +02:00
Xavier Morel dda83dc1ea [IMP] extract some testing primitives to a dedicated module, migrate search view tests to those
bzr revid: xmo@openerp.com-20120704112406-1lqwahtdo7fnla8o
2012-07-04 13:24:06 +02:00
Xavier Morel 039cf85e32 [TEST] start adding some testing to new editable listview, validate structure of editionView in Editor
bzr revid: xmo@openerp.com-20120704095626-j7wtbgdmoti0kjie
2012-07-04 11:56:26 +02:00
Xavier Morel 6719fb96d7 [FIX] handling of setting/resetting ids on records in list collections
bzr revid: xmo@openerp.com-20120702122902-f349shdjslbbxd3k
2012-07-02 14:29:02 +02:00
Antony Lesuisse 8e392289a3 [MERGE] search many2one default create in context
bzr revid: al@openerp.com-20120628142640-kp5scu95zuy7alrw
2012-06-28 16:26:40 +02:00
Xavier Morel 1f84b7a37d [ADD] set 'default_' key in context when searching on a single existing record in an m2o, by default
bzr revid: xmo@openerp.com-20120626091307-45vygymu8y1198ar
2012-06-26 11:13:07 +02:00
Xavier Morel 846cedf43d [FIX] correctly deselect custom filter when removing it from search
bzr revid: xmo@openerp.com-20120626081055-x1j3em2v8zf54m4o
2012-06-26 10:10:55 +02:00
Xavier Morel 364ec932aa [IMP] check custom filter when selecting it
bzr revid: xmo@openerp.com-20120626080633-i8z8xvxqszt6yo2v
2012-06-26 10:06:33 +02:00
Xavier Morel f0ad5fedac [IMP] move .replaceWith() back into renderElement
* Better formalizes repeated calls to renderElement
* Makes setElement cleaner and less surprising to call

bzr revid: xmo@openerp.com-20120612132120-egsg4kr5n2riv4zk
2012-06-12 15:21:20 +02:00
Xavier Morel b19354ae20 [TEST] getValue/events as a callable
bzr revid: xmo@openerp.com-20120611125454-nli5gkds9ffksmdm
2012-06-11 14:54:54 +02:00
Xavier Morel c64d8859a0 [TEST] declarative events delegation
bzr revid: xmo@openerp.com-20120611124824-w83h6betknrajyte
2012-06-11 14:48:24 +02:00
Xavier Morel 2a9bd73a83 [TEST] Widget#$ shortcut
bzr revid: xmo@openerp.com-20120611120818-apsawz6kypnpc5m3
2012-06-11 14:08:18 +02:00
Xavier Morel c531cb96ca [TEST] Wisget#renderElement with template
bzr revid: xmo@openerp.com-20120611114849-dwk4erae5f1tyc6o
2012-06-11 13:48:49 +02:00
Xavier Morel a0c5057dba [TEST] Widget#renderElement with no template specified, fix Widget#make's handling of attributes
bzr revid: xmo@openerp.com-20120611113238-wz516g9tl0xp1igd
2012-06-11 13:32:38 +02:00
Xavier Morel 772bed66f3 [TEST] Widget#proxy, with both String and Function arguments
bzr revid: xmo@openerp.com-20120611094840-mtilgirzwlhkl2qc
2012-06-11 11:48:40 +02:00
Xavier Morel 983b63f8ed [FIX] tests: FilterGroup now needs its view fake to have a query (with an on method)
bzr revid: xmo@openerp.com-20120522132321-5x2gwps4gaj78agp
2012-05-22 15:23:21 +02:00
Xavier Morel 93bf731f2f [TEST] for clearing search view
bzr revid: xmo@openerp.com-20120511125724-we09bm8aif8z4drg
2012-05-11 14:57:24 +02:00
Xavier Morel 7b4137b49c [FIX] advanced search
reimplement facet management internally, don't try to go through facets

also tests

bzr revid: xmo@openerp.com-20120511120726-ue2y7exuqv2wh22p
2012-05-11 14:07:26 +02:00
Xavier Morel 872c87cc59 [FIX] test: extracting custom filers from filters groups means one more input in the search view
bzr revid: xmo@openerp.com-20120511102416-1zryi8n7t1d33cmi
2012-05-11 12:24:16 +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 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 15cf79717f [FIX] label of async DropMisordered tests
bzr revid: xmo@openerp.com-20120427153758-tj7rp5grryx680f9
2012-04-27 17:37:58 +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 da37acedf6 [TESTS] m2o completion with no match on name_search
bzr revid: xmo@openerp.com-20120427081114-8tn0x6xaky2ivqwm
2012-04-27 10:11:14 +02:00