Commit Graph

104 Commits

Author SHA1 Message Date
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
Christophe Simonis 8fd08f900f [FIX] web: Fix old versions of Webkit (such as ones used on iOS < 6 or PhantomJS <= 1.7)
which does not have Function.prototype.bind function

bzr revid: chs@openerp.com-20130320143652-xqglvte5kwvtwl5i
2013-03-20 15:36:52 +01:00
niv-openerp a52d9a3406 Modified to call the placeholder lib in view_form.js
bzr revid: nicolas.vanhoren@openerp.com-20130301144653-6a1z558tjfkvtcar
2013-03-01 15:46:53 +01:00
Xavier Morel e7547a13db [REM] noise key in web manifest
bzr revid: xmo@openerp.com-20130124131102-s3342pppi2nhyk9g
2013-01-24 14:11:02 +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
Fabien Meghazi b7a5b07b3e [IMP] Update jQuery to version 1.8.3
bzr revid: fme@openerp.com-20121119111110-rjznfpj6fllfbgqj
2012-11-19 12:11:10 +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 cb182407f0 [FIX] missing comma
bzr revid: xmo@openerp.com-20121116113936-opg1gxan0jat2a4d
2012-11-16 12:39:36 +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 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
Antony Lesuisse 7629191431 [MERGE] manual merge parts of chs owp
bzr revid: al@openerp.com-20121114233743-u9499fa3eugw94zi
2012-11-15 00:37:43 +01:00
Antony Lesuisse 49c0ed6467 [IMP] restore mono db preload, introduce bootstrap manifest key
bzr revid: al@openerp.com-20121110211343-g1r6qzka8iqk1fky
2012-11-10 22:13:43 +01:00
Fabien Meghazi c73ac9ef04 [YEAH] jquery ui bootstrap has 1.9 support in dev branch
bzr revid: fme@openerp.com-20121107155758-e6637hp114k2twve
2012-11-07 16:57:58 +01:00
Fabien Meghazi 1de27448ea [FIX] jquery ui bootstrap not yet ready for jquery ui 1.9, load jquery ui 1.9 css before
bzr revid: fme@openerp.com-20121107153018-zla0kxkospg0lpxj
2012-11-07 16:30:18 +01:00
Fabien Meghazi 692e50b067 [REM] Removed jQuery ui minified files
bzr revid: fme@openerp.com-20121105204647-htkthnzz2ohs9x5j
2012-11-05 21:46:47 +01:00
Fabien Meghazi 374a5eeb8f [IMP] Bring back datetimepicker
bzr revid: fme@openerp.com-20121105093933-1nj764zonxv6z33i
2012-11-05 10:39:33 +01:00
Fabien Meghazi 1210ad9321 [WIP] Start fixing deferred api changes
bzr revid: fme@openerp.com-20121029142504-ax2bhjvw87n1vbrc
2012-10-29 15:25:04 +01: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
Xavier Morel b965ae5cf7 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121005124919-yfkbzk3mjm0tot4e
2012-10-05 14:49:19 +02:00
Xavier Morel 5848e72d42 [REM] import from core, moving to module
bzr revid: xmo@openerp.com-20120911063607-xvhyjqohptynro30
2012-09-11 08:36:07 +02:00
vta vta@openerp.com 34fcb82602 [FIX] Fixed autosize behaviour.
bzr revid: vta@openerp.com-20120831105042-fuwhrbdgs51x76u6
2012-08-31 12:50:42 +02:00
vta vta@openerp.com e2d9e9e2f7 [MERGE] Merged latest trunk.
bzr revid: vta@openerp.com-20120830070501-qy3am8pj7q3xm0oi
2012-08-30 09:05:01 +02:00
pso (OpenERP) 15ba3f9dcc [MERGE] Merged PNA's branch to improve web module description
bzr revid: pso@tinyerp.com-20120822130336-8g6itlmuq97wuvjw
2012-08-22 18:33:36 +05:30
Bharat Devnani (OpenERP) 2d7817bbe5 [ADD] Added autosize functionality for textarea
bzr revid: bde@tinyerp.com-20120821101632-gx3nu1xpfv3si1la
2012-08-21 15:46:32 +05:30
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
Vidhin Mehta (OpenERP) 19d4364884 [REM]remove view editor unnecessary code.
bzr revid: vme@tinyerp.com-20120801111929-1cwbovhzskpwmf9f
2012-08-01 16:49:29 +05:30
Stephane Wirtel 52363c8ed1 [MERGE] lp:~openerp-dev/openerp-web/trunk-review_module_desc-stw
bzr revid: stw@openerp.com-20120731082042-v9rrre4dinh6ig7z
2012-07-31 10:20:42 +02:00
niv-openerp 00ca8067a9 [FIX] re-enable thobber that was desactivated due to previous bug
bzr revid: nicolas.vanhoren@openerp.com-20120725133740-m06but4htp4bkb1q
2012-07-25 15:37:40 +02:00
Antony Lesuisse a4f1ce69ab [FIX] throbber use an image. fva will fix the aliasing.
Also check http://commons.wikimedia.org/wiki/Category:Throbbers

bzr revid: al@openerp.com-20120725080439-j7f44tb0fbp90cm0
2012-07-25 10:04:39 +02:00
niv-openerp b98723a1fe [IMP] improved throbber
bzr revid: nicolas.vanhoren@openerp.com-20120724141220-1u0odsgsxzjtc5xn
2012-07-24 16:12:20 +02:00
Stephane Wirtel 8b21ef114a [MERGE] lp:~openerp-dev/openerp-web/trunk-review_module_desc-psi
bzr revid: stw@openerp.com-20120724081255-p2v1misdj36snvxu
2012-07-24 10:12:55 +02:00
Thibault Delavallée 2a268329c5 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120713080041-54367204xp0ypozb
bzr revid: tde@openerp.com-20120713142609-5dmznm8j8pdnr177
bzr revid: tde@openerp.com-20120716083004-h8gibdwvpyvzm74m
bzr revid: tde@openerp.com-20120717075907-omr38xg4lw68j4g1
bzr revid: tde@openerp.com-20120718110900-4r1sjlpksebly5q4
bzr revid: tde@openerp.com-20120719083341-qwmi9ogr0pdsrcfg
2012-07-19 10:33:41 +02:00
Ajay Chauhan (OpenERP) 30e9f89663 [IMP] : Update Description for modules
bzr revid: cha@tinyerp.com-20120713113254-e63czzwtjdpnr7ea
2012-07-13 17:02:54 +05:30
Thibault Delavallée 7ba80c40a0 [IMP] cleditor: use cleditor instead of cleditor.min.
bzr revid: tde@openerp.com-20120711095612-a6e2yo0t4dqwf62a
2012-07-11 11:56:12 +02:00
Ajay Chauhan (OpenERP) 90aaa0384f [IMP] : improve title & description for modules
bzr revid: cha@tinyerp.com-20120711071240-qa3l60wcisjmu4w3
2012-07-11 12:42:40 +05:30
Thibault Delavallée 864d011200 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120702170010-x07duh86vejoup9u
2012-07-02 19:00:10 +02:00
Thibault Delavallée 30b3844638 [MERGE] Merged with mail-state-tde, recently updated with trunk.
bzr revid: tde@openerp.com-20120626130805-mrg2c3uyh5o1h1uo
2012-06-26 15:08:05 +02:00
niv-openerp 650c2be6f9 [FIX] problem with textext and ie8
bzr revid: nicolas.vanhoren@openerp.com-20120626122425-itwo2ol6b8zjt35g
2012-06-26 14:24:25 +02:00
Fabien Meghazi 15565c8a29 [IMP] Updated jQuery to version 1.7.2 stable
bzr revid: fme@openerp.com-20120626100613-d29ayxivda1f4lzf
2012-06-26 12:06:13 +02:00
Antony Lesuisse cfd0dbe8dc [REM] remove unused js libs, add jquery.timeago
bzr revid: al@openerp.com-20120621221415-a81f43dphpval4pn
2012-06-22 00:14:15 +02:00
Thibault Delavallée 1d782e80e5 [FIX] Fixed __openerp__ js file order, to prevent a bug with cleditor not knowing about jquery.
bzr revid: tde@openerp.com-20120615143544-akc1tr1z4bihe53x
2012-06-15 16:35:44 +02:00
Thibault Delavallée d9a31507ed [ADD] web: added CLEditor library, a minimal WYSIWYG editor on jquery.
bzr revid: tde@openerp.com-20120615133237-twl095i18ezzdv1a
2012-06-15 15:32:37 +02:00
Xavier Morel bac9bbf263 [MERGE] from trunk
bzr revid: xmo@openerp.com-20120515070556-l2ew6ixbup3u56md
2012-05-15 09:05:56 +02:00
niv-openerp 1950963f07 [wip]
bzr revid: nicolas.vanhoren@openerp.com-20120507122246-q4f06v9n2et27aqp
2012-05-07 14:22:46 +02:00
niv-openerp 7af897be52 [imp] added textext
bzr revid: nicolas.vanhoren@openerp.com-20120503151856-72cblanpkertrwz7
2012-05-03 17:18:56 +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
Antony Lesuisse 45b11fe674 bye bye page view2
bzr revid: al@openerp.com-20120409205551-pjp7caybh0os5y9j
2012-04-09 22:55:51 +02:00
Antony Lesuisse b040914a9e replace bootstrap by jquery.ui.bootstrap
bzr revid: al@openerp.com-20120409145257-dyqcfiq8rw6qr2a0
2012-04-09 16:52:57 +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
Antony Lesuisse f1ffb6227e sass reorg part1, dont include base_old
bzr revid: al@openerp.com-20120407140006-6ali9prtrii9806a
2012-04-07 16:00:06 +02:00