Commit Graph

238 Commits

Author SHA1 Message Date
niv-openerp 14fccd0a4e Even more tests
bzr revid: nicolas.vanhoren@openerp.com-20130805114034-7xcpjmses5aodjhr
2013-08-05 13:40:34 +02:00
niv-openerp a6ea300848 Added some tests about authentication
bzr revid: nicolas.vanhoren@openerp.com-20130805113928-yldn5qh2lm0vc8j9
2013-08-05 13:39:28 +02:00
niv-openerp 22c56b1dd8 Ported some authentication methods to the Session class
bzr revid: nicolas.vanhoren@openerp.com-20130805111250-ws23n3b6os54qsp3
2013-08-05 13:12:50 +02:00
niv-openerp 85b2238472 minor improvements
bzr revid: nicolas.vanhoren@openerp.com-20130805101849-rqqx4jcmbymv5hfl
2013-08-05 12:18:49 +02:00
niv-openerp ab03d9c280 Make the three jsonrpc protocols work correctly with and without session overriding and added tests for all the cases.
That's one small step for a man, a giant leap for all the poor programmers that would have to use that shit one day.

bzr revid: nicolas.vanhoren@openerp.com-20130802150815-k2yuf0b3ku5fvx7a
2013-08-02 17:08:15 +02:00
niv-openerp adc722348c Made the 2-steps jsonp rpc work more or less
bzr revid: nicolas.vanhoren@openerp.com-20130802143223-49mf5dayd8ape1a5
2013-08-02 16:32:23 +02:00
niv-openerp cc04d9463e Added more tests
bzr revid: nicolas.vanhoren@openerp.com-20130801164207-wwv34s2fgtlxbzxz
2013-08-01 18:42:07 +02:00
niv-openerp 49f20eb39e Added some tests for jsonrpc
bzr revid: nicolas.vanhoren@openerp.com-20130801163221-uat5w2j1p5t9m5ve
2013-08-01 18:32:21 +02:00
Xavier Morel adfe3e7ec9 [FIX] reinstate basic grouping test, replace strictEqual call on widgets by ok(===)
There seems to be a problem with QUnit's serialization routines when
applied to complex widgets (the view here) while running inside
PhantomJS. It does not seem to be cycles in datastructures (that is
handled) but looks related to complex objects linked from multiple
"children" (skipping any object already serialized makes the issue
disappear).

The bug leads to unbounded memory growth, and on runbot to the process
being summarily terminated (likely by the OOM killer) not even
resulting in an OOM error (which is displayed locally). The issue can
not be observed within browsers. This may be a difference in GC
strategy.

The serialization is applied by the driver on high-level comparison
methods (e.g. strictEqual) so the caller can display the structures if
desired.

Replace the strictEqual(a, b) call by ok(a === b) to avoid any risk of
such serialization.

bzr revid: xmo@openerp.com-20130801091326-u2q9e163zls4k8ad
2013-08-01 11:13:26 +02:00
Xavier Morel e57e50fdfa [FIX] unneeded & dangerous start call in async test
bzr revid: xmo@openerp.com-20130801091130-vx7ow7vxifu7ak84
2013-08-01 11:11:30 +02:00
niv-openerp 46869ba52d [FIX] desactivated test creating random false positive
bzr revid: nicolas.vanhoren@openerp.com-20130731133504-vt2fx11jziyad47e
2013-07-31 15:35:04 +02:00
niv-openerp 4ec2906626 [FIX] attempt to solve false-positive in js tests on the runbot
bzr revid: nicolas.vanhoren@openerp.com-20130731131933-ur5vdahgnbjsj16o
2013-07-31 15:19:33 +02:00
niv-openerp 95599aefd4 Corrected class tests
bzr revid: nicolas.vanhoren@openerp.com-20130726160845-z2ug9cwp41y1h9yj
2013-07-26 18:08:45 +02:00
niv-openerp e01b96e762 Put class and widgets tests in framework.js
bzr revid: nicolas.vanhoren@openerp.com-20130726160715-adjyalkubyismvao
2013-07-26 18:07:15 +02:00
niv-openerp 89a9ab8cd0 Now uses only openerpframework in widget's tests
bzr revid: nicolas.vanhoren@openerp.com-20130726160315-l60r6z706urv2hga
2013-07-26 18:03:15 +02:00
niv-openerp a02da32a08 Changed some testing code creating side effects and making other tests crash
bzr revid: nicolas.vanhoren@openerp.com-20130726143647-rz01o0cnwm2a1gyo
2013-07-26 16:36:47 +02:00
niv-openerp 38bc6817d6 Fixed problem with parsing functions tests that created side effects
bzr revid: nicolas.vanhoren@openerp.com-20130726133550-96zyro1znep8ip6x
2013-07-26 15:35:50 +02:00
niv-openerp 17ba69eb52 Applied jshint on test files and corrected errors
bzr revid: nicolas.vanhoren@openerp.com-20130725112416-j6wbm254yx05i890
2013-07-25 13:24:16 +02:00
Christophe Simonis 713b00d477 [MERGE] forward port of branch saas-1 up to revid 3740 chs@openerp.com-20130702141958-zxkppo4c6zvpo0uf
bzr revid: chs@openerp.com-20130702145352-dym8zvfkwzb3qiqa
2013-07-02 16:53:52 +02:00
Xavier Morel 11a0ece543 [FIX] evaluation context structures not being round-tripped through eval
JS objects are converted to py.object when passed in through the
evaluation context. py.object are not serializable by default (because
that doesn't really make sense), which breaks when the input is
intended as a dict and returned (e.g. o2m values, which are triples of
(int, int?, dict?)).

Intuitively, JS objects passed as part of the context should be mostly
JSON-ish and thus dicts, but that turns out not work work as some
addons use attribute accesses within contexts (e.g. parent.access in
account/account_invoice_view.xml)

=> Temporarily solve by converting raw js objects to an "attributed
dict" which acts as both a dict and an object and can be converted to
JSON.

Ideally, py.js should provide for a pluggable conversion, or should
use an attributed mapping internally. See issues 21 and 23.

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

bzr revid: xmo@openerp.com-20130624055929-3rtkgqrp4o87pvau
2013-06-24 07:59:29 +02:00
Olivier Dony dc24794855 [FIX] web: support integer/float fields in search view via auto-completion + tests
integer/float fields were not offering auto-completion in search views,
making them unsearchable except via advanced search.
This patch adds the missing complete() function and removes the incorrect
value_from() function that did not conform to the 7.0 search view API.
It seemed to be a leftover of the 6.1 search field implementation
of get_value(), wrongly renamed for 7.0.

Also includes corresponding tests.

bzr revid: odo@openerp.com-20130418112001-388op1t8ugr0rhfn
2013-04-18 13:20:01 +02:00
Xavier Morel a455d6c2b2 [FIX] correctly handle group_by_no_leaf when no grouping applied
If there are no grouping field specified *but* group_by_no_leaf is
specified, should call read_group with no grouping fields: will
generate a single group (which can not be opened) for all of the
model.

Necessary for analysis views since individual "records" make no sense.

bzr revid: xmo@openerp.com-20130416092344-2pqog8f7xprn6hsh
2013-04-16 11:23:44 +02:00
Olivier Dony 35d61bbd8b [FIX] web search: correct previous fix to properly handle searching for 0 on number fields
Also removed useless HTML escaping and added basic tests.

bzr revid: odo@openerp.com-20130328153502-v71q2m60wh37ganq
2013-03-28 16:35:02 +01:00
Xavier Morel ac5008abc9 [FIX] pyeval: argspec of relativedelta
bzr revid: xmo@openerp.com-20130318105244-qkgvi69do0219lkk
2013-03-18 11:52:44 +01:00
Xavier Morel 1899141b38 [FIX] groupby groups fetching of their ancestor searchview
Implementation of invisibles in search view altered handling of search
inputs: their parent may not be the searchview anymore (usually is a
instance.web.search.Group). GroupbyGroup assumed parent was view and
was actually unused until
xmo@openerp.com-20130307124222-1ypzfopbktxmad4z, which exposed the
incorrect underlying assumption.

Make GroupbyGroup access its view when it wants its view, not its
parent.

bzr revid: xmo@openerp.com-20130312092824-z7sh4h3ityo4g00v
2013-03-12 10:28:24 +01:00
Xavier Morel 65e7ad2aa4 [FIX] oops, previous revision now mandates valid contexts in filter group tests
bzr revid: xmo@openerp.com-20130307141102-86tb7axyh3x4rgk9
2013-03-07 15:11:02 +01:00
Xavier Morel b921444d6f [FIX] implement forgotten @invisible handling on search view fields
bzr revid: xmo@openerp.com-20130304152047-8xaczg9qdx6ug2p1
2013-03-04 16:20:47 +01:00
Xavier Morel d46c61d784 [FIX] don't store user context properties into custom filter @context
This leads to any subsequent view overwriting the current user's lang
or timezone with the one active when the filter was created,
generating dismay and discontent (e.g. part of the user interface
switching from spanish to english or english to german, depending on
the respective settings of the current user and the filter creator —
at time of filter creation).

bzr revid: xmo@openerp.com-20130304101414-mm6ai1dkltd7ard5
2013-03-04 11:14:14 +01:00
Xavier Morel 6803c0048f [IMP] add view's context to m2o completion name_search
bzr revid: xmo@openerp.com-20130225165236-386r8438h4vz6fav
2013-02-25 17:52:36 +01:00
Xavier Morel ece114024f [ADD] @domains handling to searchview m2o field during completion
bzr revid: xmo@openerp.com-20130225164255-y3qkcjozr7rbtz1v
2013-02-25 17:42:55 +01:00
Xavier Morel 9f45e8970c [ADD] more tests for m2o default values handling
bzr revid: xmo@openerp.com-20130225152324-785ewucir0pv4rmw
2013-02-25 16:23:24 +01:00
Xavier Morel 9852c6ff1e [FIX] missing support for invisible fields and groups in new search view
lp bug: https://launchpad.net/bugs/1122183 fixed

bzr revid: xmo@openerp.com-20130214074302-rwm2hcmv9mpvp9dv
2013-02-14 08:43:02 +01:00
Xavier Morel dfb7493034 [FIX] add support for invisibility to fields (don't complete an invisible field)
bzr revid: xmo@openerp.com-20130213090108-h38emnwscgb5v1pu
2013-02-13 10:01:08 +01:00
Xavier Morel f690a9310c [IMP] prefix searchview tests for easy filtering
bzr revid: xmo@openerp.com-20130213072557-er5xl9xcj17mhuqe
2013-02-13 08:25:57 +01:00
Xavier Morel 69171aa805 [CHG] allow deselecting a custom filter by clicking on it again in the drawer
as asked in project.task:4837:

> Cannot uncheck a custom filter by clicking on it (it's possible on
> classic filters)

bzr revid: xmo@openerp.com-20130131112617-8vul65bb4lbfbfvk
2013-01-31 12:26:17 +01:00
Anand Patel (OpenERP) be9f4b43b7 [IMP] Added some test cases for the float_time
bzr revid: pan@tinyerp.com-20130123093155-v9rrnb38hxugv1bt
2013-01-23 15:01:55 +05:30
vta vta@openerp.com 56e97a98bb [FIX] Fixed issue with testing context in eval.js, due to a previous change in get_session_info (context -> user_context)
bzr revid: vta@openerp.com-20130111094314-odrm9enzrmcrtcu6
2013-01-11 10:43:14 +01:00
Xavier Morel 3c5d38918b [FIX] filter preceded by an invisible filter in the same group
On click on a filter in the drawer, FilterGroup would just match the
offset of the filter in the group's DOM with an index in the internal
#filters array. 

This worked until invisible fields, and then again only for filters
*preceded* by an invisible sibling in the same group: invisible
filters are not rendered in the DOM, so the indexes would get out of
sync.

Fix by using explicit indexes stored in a filter's @data-index and
using that to get the filter object/node.

An alternative fix (but hackier I think): instead of not rendering
invisible filters, render them with display: none. Remains an option
in the future if needed...

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

bzr revid: xmo@openerp.com-20130321155123-211iht7c6zme712e
2013-03-21 16:51:23 +01:00
Xavier Morel 3b2e26af18 [FIX] incorrect array joins
Array#join() is equivalent to Array.join(', '), not Array.join('') as in Python.

For some reason the tests didn't break, but...

bzr revid: xmo@openerp.com-20130321155105-dwgprqldk39r3xk2
2013-03-21 16:51:05 +01:00
Raphael Collet 43ca577f99 [FIX] js tests: add an abstraction over instance to create properly an assertion function
bzr revid: rco@openerp.com-20121210154309-mubr65ildpiw2wpx
2012-12-10 16:43:09 +01:00
Raphael Collet 38994104f0 [IMP] js tests: when testing pyeval on datetimes, avoid comparison with an indepent call to new Date()
bzr revid: rco@openerp.com-20121210151828-lfzyfy75oldkjxk5
2012-12-10 16:18:28 +01:00
Fabien Meghazi bf6bdf017b [IMP] Changed tests according to new client side fields view get
bzr revid: fme@openerp.com-20121205160656-0mg1hnv35vk27adh
2012-12-05 17:06:56 +01:00
niv-openerp 053d6af231 [FIX] forgot to modify test after API change
bzr revid: nicolas.vanhoren@openerp.com-20121130140335-k1nus3oz1xw6deeu
2012-11-30 15:03:35 +01:00
niv-openerp f9b9e7c4cb [IMP] added context_today()
bzr revid: nicolas.vanhoren@openerp.com-20121129160746-c3c691zk5fxhzse0
2012-11-29 17:07:46 +01:00
niv-openerp cc6f0aa20a [FIX] potential problem with pyeval datetime/date today()/now() methods. Now only returns the same timezone than server (UTC).
bzr revid: nicolas.vanhoren@openerp.com-20121129153601-vtpnvkc0vylo9hux
2012-11-29 16:36:01 +01:00
Xavier Morel fe3d493cc8 [FIX] searches with filters using "empty" domain/context values (but not attributes)
e.g. @domain="[]" would be seen as non-empty by the search view, and
if multiple domains the search view would generate a nonliteral
``['|', '[]', '[]]`` which would just yield ``['|']`` after evaluation
and concatenation, which is an invalid domain and would blow up the
server.

Specifically filter out the values ``[]`` and ``{}`` from filters

bzr revid: xmo@openerp.com-20121129112413-yrgncnesqs093jwf
2012-11-29 12:24:13 +01:00
Xavier Morel a2b23a1ca7 [REM] merge conflict file committed
bzr revid: xmo@openerp.com-20121129112350-egvxrg8ii71wzdx6
2012-11-29 12:23:50 +01:00
Xavier Morel c7772fdd82 [FIX] server-sourced fields_get has no indirection to the model's fields
previous searchview-controller wrapper method did. Remove leftover indirection deref

bzr revid: xmo@openerp.com-20121129103841-6qcl4sctekqmrt2q
2012-11-29 11:38:41 +01:00
Xavier Morel 720f3faf93 [IMP] stop using custom /web/searchview endpoints in search view
bzr revid: xmo@openerp.com-20121126093818-omxaj3qljolgq8qj
2012-11-26 10:38:18 +01:00
Xavier Morel aab69ae7a9 [TEST] for crazy
bzr revid: xmo@openerp.com-20121126084159-lbgfa56vafg4bxc4
2012-11-26 09:41:59 +01:00
Xavier Morel 2c7f30a047 [REM] session reload dependency on db
bzr revid: xmo@openerp.com-20121123120500-k7fhwoocu0zbiali
2012-11-23 13:05:00 +01:00
Xavier Morel 6b2b2d889c [IMP] move nonliteral domains and contexts to JS test case
bzr revid: xmo@openerp.com-20121123114923-t4047w6jztria91x
2012-11-23 12:49:23 +01:00
Xavier Morel 709f2506ff [REM] server-side eval_domain_and_context
bzr revid: xmo@openerp.com-20121123113932-siz0u2vp2u7z6wk2
2012-11-23 12:39:32 +01:00
Xavier Morel 242a5da5a9 [REM] stray logging
bzr revid: xmo@openerp.com-20121123095824-xg6afc1l01t3y48y
2012-11-23 10:58:24 +01:00
Xavier Morel 328537a7ba [ADD] arithmetics between date and timedelta
bzr revid: xmo@openerp.com-20121123095206-dtvoiignb7xnzsl0
2012-11-23 10:52:06 +01:00
Xavier Morel 815b908759 [ADD] partial but sufficient (I think) implementation of datetime.timedelta
bzr revid: xmo@openerp.com-20121123075938-oazwt4bn2l639r3a
2012-11-23 08:59:38 +01:00
Xavier Morel 3909d1ff02 [ADD] a bunch of eval domain and context tests
bzr revid: xmo@openerp.com-20121122111628-4khivcp97xoy121i
2012-11-22 12:16:28 +01:00
Xavier Morel 5a9f78302f [MERGE] from trunk
when creating the instance, set instance.session.uid to 42 so the evaluator has something to chew on when it tries to create the evaluation context

bzr revid: xmo@openerp.com-20121120101733-b0ire11bbuywfi8u
2012-11-20 11:17:33 +01:00
niv-openerp 40c4ed7f54 [FIX] problem in editable list o2m when hitting the enter button rapidly
bzr revid: nicolas.vanhoren@openerp.com-20121116151248-il59eiekk758suco
2012-11-16 16:12:48 +01:00
Xavier Morel 1e2e0c5cb1 [FIX] test cases
* mock(:) callback receives a pair (args, kwargs) not raw params
* list buttons test triggers domain evaluation, which depends on form (why???)

bzr revid: xmo@openerp.com-20121116115544-cdowx66w3m8inqon
2012-11-16 12:55:44 +01:00
Xavier Morel e1e4c48c18 [REM] test runner feature which probably caused more trouble than it caught
avoid catching exception in executed callback, it just hinders debugging by generated completely bonkers traces

bzr revid: xmo@openerp.com-20121116105554-hu45anetrj1a8tl6
2012-11-16 11:55:54 +01:00
Xavier Morel 796e80ec2d [FIX] deferred.pipe -> deferred.then
bzr revid: xmo@openerp.com-20121116101417-mkcjrdtocl6w7408
2012-11-16 11:14:17 +01:00
Xavier Morel 0d85c24ae3 [MERGE] from trunk, fix/adapt some tests
bzr revid: xmo@openerp.com-20121116100840-yyr9b4oru3zdftld
2012-11-16 11:08:40 +01:00
Xavier Morel 90f1015dee [FIX] list button test: no call_button result now triggers an act_window_close
bzr revid: xmo@openerp.com-20121116094355-bsbxb0ufpjqx5j50
2012-11-16 10:43:55 +01:00
Xavier Morel a9645151b6 [IMP] setup & teardown of test runner
simplify code and make setup & teardown processes more reliable

add testing.Stack tools which stacks promise-returning functions
around the actual promise-returning function to execute (the test case
itself).

testing.Stack returns an object with 3 methods, ``push([setup][,
teardown])``, ``unshift([setup][, teardown])`` and ``execute(fn,
*args)``. ``push`` and ``unshift`` create a new stack with the
provided setup and teardown added respectively at the top and bottom
of the stack.

``execute`` will walk the stack from bottom to top executing ``setup``
handlers (and waiting on their result), if all setup handlers execute
without failure the ``fn`` callback gets executed (and waited on) then
*all* ``teardown`` handlers are executed from top to bottom:

 |  setup
 |    setup
 |      setup
 |        setup
 |          fn
 |        teardown
 |      teardown
 |    teardown
 V  teardown

If a ``setup`` handler fails (the promise is rejected), teardowns will
start executing *from the previous level* (so the ``teardown``
matching the failed ``setup`` will *not* be run), but all
``teardowns`` below that will be run regardless, even if one fails the
next one will still be executed.

The stack will either ultimately return a promise rejection using the
*first* rejection it got (a rejection may be cascading, so the
rejection of a setup may also lead to or be linked to a teardown being
rejected later), or will return the resolution from ``fn``.

If ``execute`` is passed further arguments, those arguments will in
turn be forwarded to ``fn`` as well as all ``setup`` and ``teardown``
handlers.

bzr revid: xmo@openerp.com-20121116071712-zuld957icellezum
2012-11-16 08:17:12 +01:00
Xavier Morel 22edf6193d [FIX] listview display when action button deletes the corresponding record
if a record has disappeared between activating a button and refreshing
the record, remove it from the list view

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

bzr revid: xmo@openerp.com-20121113104407-n924vinluqfdtesf
2012-11-13 11:44:07 +01:00
Xavier Morel 06bcfd27fc [FIX] editable listview @on_write handling in case of @colors
the onwrite handler created an "empty" record with no field value
whatsoever, which'd blow up in the py evaluator. As during creation
(edition of a record where all fields are empty) create a record where
all fields are set to ``false`` so rendering works correctly, and wait
for content refresh to get correct data.

Also added a test for @on_write

bzr revid: xmo@openerp.com-20121112150526-vrr66ms95qbuoped
2012-11-12 16:05:26 +01:00
Fabien Meghazi e7007332d8 [FIX] Restore tests
bzr revid: fme@openerp.com-20121107131212-dk2i6kzvkp4jwrb3
2012-11-07 14:12:12 +01:00
Fabien Meghazi ca6c49becf [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then'
bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-30 15:06:30 +01:00
Xavier Morel 6abc1134f5 [IMP] port list-edition tests to new framework
bzr revid: xmo@openerp.com-20121026100452-8s4j9g0mxzfuy834
2012-10-26 12:04:52 +02:00
Xavier Morel a130035409 [IMP] port basic/existing tests to new framework, apart from editor stuff
bzr revid: xmo@openerp.com-20121026092144-0arxx2v9oi28e3d6
2012-10-26 11:21:44 +02:00
Xavier Morel 04282ff00e [IMP] port search test to new framework, add handling of web.{submodule} dependencies
bzr revid: xmo@openerp.com-20121026084543-fobkc3ta5q2jc3q6
2012-10-26 10:45:43 +02:00
Xavier Morel 99a2dd3938 [ADD] first 90% of non-sucky testing API, last 90% left
also all existing tests shoud now be completely broken and need to be fixed

bzr revid: xmo@openerp.com-20121025154745-rw2gktfd6tp68k2m
2012-10-25 17:47:45 +02:00
vta vta@openerp.com 877957819e [FIX] Fixed a forgotten add(), SearchView#on_invalid().
bzr revid: vta@openerp.com-20121019111558-zu8hzh7u61srew2e
2012-10-19 13:15:58 +02:00
Xavier Morel b5be361c55 [FIX] various listview issues
bzr revid: xmo@openerp.com-20121018150108-althdcxk3jc2bkun
2012-10-18 17:01:08 +02:00
vta vta@openerp.com 59aaa765a6 [FIX] Fixed event name.
bzr revid: vta@openerp.com-20121018124607-rifo06nfx7jo134e
2012-10-18 14:46:07 +02:00
Xavier Morel f910bc6780 [FIX] don't trigger search twice when a facet is removed from the query due to its values becoming empty
The facet removal from its last value being removed
(`this.remove(facet)` in the 'change' handler of the SearchQuery)
broadcasted its `remove` event, triggering the `do_search` (and
repaint) hook of the SearchView a second time right after the
`change`-triggered search.

Not only is this unnecessary and duplicated work (the `remove` is a
sync operation, so searchview-attached events haven't yet executed by
the time `remove` is called), the listview really doesn't like getting
a ``search`` signal while it's already executing a search.

So fix that.

bzr revid: xmo@openerp.com-20121018124005-6vfi7tqasz32ai8v
2012-10-18 14:40:05 +02:00
Xavier Morel b94e9c30a7 [FIX] after discussions with odo, date/datetime/time for locally-evaluated contexts and domains should be local, not UTC
bzr revid: xmo@openerp.com-20121011075759-qfwkfws5tu9yidab
2012-10-11 09:57:59 +02:00
ggh-openerp 1a476fed69 [IMP] Remove add() in on_search method
bzr revid: ggh@tinyerp.com-20121011053907-tykje6i145fmjrl3
2012-10-11 11:09:07 +05:30
Xavier Morel 1fa00288b2 [FIX] add 'context' free variable in evaluation contexts for domains and contexts
bzr revid: xmo@openerp.com-20121010145945-16shdry3udum0mn1
2012-10-10 16:59:45 +02:00
Xavier Morel 894bd34e62 [REM] timedelta, because pain
bzr revid: xmo@openerp.com-20121008125523-ed1g42vjxbcfo62r
2012-10-08 14:55:23 +02:00
Xavier Morel 7bcbadb099 [FIX] update py.js to 0.6, port existin classes to it, attempt to implement timedelta
bzr revid: xmo@openerp.com-20121008120619-lhmexjnujjrigjn9
2012-10-08 14:06:19 +02:00
Xavier Morel 10bc6ddfe4 [ADD] groupby eval tests
bzr revid: xmo@openerp.com-20121005142808-yx6o8nfnn0o4ms56
2012-10-05 16:28:08 +02:00
Xavier Morel b965ae5cf7 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121005124919-yfkbzk3mjm0tot4e
2012-10-05 14:49:19 +02:00
Vidhin Mehta (OpenERP) 558ad0616a [IMP]remove callbacks from call method and improve related code.
bzr revid: vme@tinyerp.com-20121003103428-fnr942tzl065rcei
2012-10-03 16:04:28 +05:30
Vidhin Mehta (OpenERP) b4c8143480 [IMP]remove callback from name_get function and improve related code.
bzr revid: vme@tinyerp.com-20120928065341-uiu3nf7seu5sps53
2012-09-28 12:23:41 +05:30
Xavier Morel a933c17e54 [FIX] integrate web tests into buildbot runner, fix broken tests
* Remove deprecated tests and dead code
* Fix usage of mock
* Moar fixes

bzr revid: xmo@openerp.com-20120910105129-rxh3jqwkewh65rl3
2012-09-10 12:51:29 +02:00
Xavier Morel 4e23bcf80a [IMP] update test runner pages, fix intermittent failure due to async test which didn't stop the test runner
bzr revid: xmo@openerp.com-20120905151914-hkrstjh5698dnddg
2012-09-05 17:19:14 +02:00
niv-openerp 5e338c591a [IMP] made a whole-application replace of $element by $el
bzr revid: nicolas.vanhoren@openerp.com-20120824182707-vt91ef40ieeudwyw
2012-08-24 20:27:07 +02:00
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 6f4abdfbd5 [IMP] move eval functions for domains, groupbys and contexts outside of corelib, as well as the standard evaluation context building (and related objects)
bzr revid: xmo@openerp.com-20120806094627-8c9lwtfkbfws2bmj
2012-08-06 11:46:27 +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