Xavier Morel
86842fe9c8
[FIX] correctly handle case of deleting-an-o2m-line-being-edited
...
move special case in o2m listview to main editable and expand to
correctly fit edition cases, not just work in case of creation
issue: if a row being edited is deleted in an o2m, the form will be
blurred and try cancelling/saving the edition and reloading the row,
but this will only happen *after* the record/row/whatever has been
"deleted" and (amongst other things) removed from the buffered o2m
cache, leading to a tentative read on the server side (usually with a
local id which doesn't even make sense) and thus an error.
Intercept the deletion signal to cancel the edition immediately and
only let the deletion through after the edition has successfully been
canceled.
bzr revid: xmo@openerp.com-20121116164416-8kr39t6jtqy2s3jc
2012-11-16 17:44:16 +01:00
Christophe Matthieu
ea92f73acc
[MERGE] from trunk-mail-uploader-chm
...
bzr revid: chm@openerp.com-20121116151506-z0qg8cgf069kdato
2012-11-16 16:15:06 +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
Raphael Collet
f2bc7b8f4d
[IMP] web.http: factor out session path generation
...
bzr revid: rco@openerp.com-20121116150131-a2ioomezc62kqgrb
2012-11-16 16:01:31 +01:00
Antony Lesuisse
bcfa7c49cc
[IMP] minify cache
...
bzr revid: al@openerp.com-20121116135822-xduk3jnvuhvtorll
2012-11-16 14:58:22 +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
cb182407f0
[FIX] missing comma
...
bzr revid: xmo@openerp.com-20121116113936-opg1gxan0jat2a4d
2012-11-16 12:39:36 +01:00
Christophe Matthieu
6debec3f10
[IMP] web form: one2many_binary became many2many_binary
...
bzr revid: chm@openerp.com-20121116112517-yqc9w37iz5yg2xf0
2012-11-16 12:25:17 +01:00
Xavier Morel
dca7adbc74
[FIX] doc errors
...
bzr revid: xmo@openerp.com-20121116111043-s0xuy1lya3am6tia
2012-11-16 12:10:43 +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
niv-openerp
76cce62c99
[IMP] Added feature in the rpc() method to be able to perform a call without triggering the loading messages.
...
bzr revid: nicolas.vanhoren@openerp.com-20121116094200-q4cby6jofcrk87hd
2012-11-16 10:42:00 +01:00
Xavier Morel
249f28ff8b
[DOC] how to run tests 'offline' in phantomjs
...
bzr revid: xmo@openerp.com-20121116093342-udc775t8cr5lgpst
2012-11-16 10:33:42 +01:00
Xavier Morel
09037e8a42
[REM] failing test code
...
committed by mistake
bzr revid: xmo@openerp.com-20121116073738-9f43bm0q6eojns3v
2012-11-16 08:37:38 +01:00
Xavier Morel
d632471f64
[IMP] web test runner: pass execute's arguments to the function to avoid duplication
...
bzr revid: xmo@openerp.com-20121116072906-0di2j83p602a2l9i
2012-11-16 08:29:06 +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
Fabien Meghazi
8c2764115f
[FIX?] Probably fix something... ? See previous revision.
...
bzr revid: fme@openerp.com-20121115182331-0vz3beb6x2od9xhs
2012-11-15 19:23:31 +01:00
Fabien Meghazi
2b7bfe4ecd
[IMP] openerp logo img border 0 for IE
...
Can't merge nwi's branch right now so I do the bare minimum that hurts eyes
bzr revid: fme@openerp.com-20121115175146-5zn97xz8w3m5l5rx
2012-11-15 18:51:46 +01:00
Fabien Meghazi
79e1118c16
[IMP] Clean base.sass folding sections
...
bzr revid: fme@openerp.com-20121115173614-o5pchmm889yxz5cy
2012-11-15 18:36:14 +01:00
Christophe Simonis
801927cb14
[FIX] make root menu links works
...
bzr revid: chs@openerp.com-20121115171201-76y7ul1jhjyi2e78
2012-11-15 18:12:01 +01:00
Fabien Meghazi
cace9f7887
[IMP] Centralized 'openerp' class on top level elements. Also add openerp_ie class for MSIE
...
bzr revid: fme@openerp.com-20121115164132-i6a0u8zk3knm1zkv
2012-11-15 17:41:32 +01:00
Christophe Simonis
69f385414a
[FIX] manifest_glob return path with / for web part
...
bzr revid: chs@openerp.com-20121115151228-xzrlpjxwkspf5fgz
2012-11-15 16:12:28 +01:00
Fabien Meghazi
8a3d2c4744
[FIX] For act window target new, always use a new dialog object
...
Buttons footer hack in dialogs makes reusability of dialog impossible
bzr revid: fme@openerp.com-20121115151046-0r8xz85racjta7p3
2012-11-15 16:10:46 +01:00
Frédéric van der Essen
b7bb7e6246
[IMP] added a .ie class on <html> when using ie <= 9
...
bzr revid: fva@openerp.com-20121115143047-utonsnq0iadbvmyt
2012-11-15 15:30:47 +01:00
Christophe Matthieu
48fc5bb6ef
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20121115140009-s4uj0saecwtq19nx
2012-11-15 15:00:09 +01:00
Christophe Matthieu
6807a2e07c
[IMP] web form: FieldOne2ManyBinaryMultiFiles no delete file on set value
...
bzr revid: chm@openerp.com-20121115135904-17rg7j5g8xu4rjvn
2012-11-15 14:59:04 +01:00
Fabien Meghazi
f842d8dba1
[FIX] When action returns other value than an action, close current dialog if any
...
bzr revid: fme@openerp.com-20121115134207-n0q1vae1wuga5jc7
2012-11-15 14:42:07 +01:00
Christophe Matthieu
64e46a1e0e
[IMP] web form: one2many_binary accept all values one2any and default values
...
bzr revid: chm@openerp.com-20121115122834-5vo00jagzvysti1a
2012-11-15 13:28:34 +01:00
Christophe Simonis
6227e4b5c0
[FIX] CrashManager do not have destroy() method
...
bzr revid: chs@openerp.com-20121115120331-ltujwzobh19muygl
2012-11-15 13:03:31 +01:00
Christophe Matthieu
739775253f
[FIX] web: FieldOne2ManyBinaryMultiFiles fix the loading for default ids files list
...
bzr revid: chm@openerp.com-20121115092149-lsbxb9ougxwkkktn
2012-11-15 10:21:49 +01:00
Xavier Morel
8e85f4e0bd
[IMP] timeout discipline
...
* Global timeout significantly increased to correctly handle e.g. db creation and teardown
* Per-test timeout brought back down to 2s
bzr revid: xmo@openerp.com-20121115091501-ys8opo0ccr3dq29h
2012-11-15 10:15:01 +01:00
Launchpad Translations on behalf of openerp
9460e71cbe
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20121115044251-4ql7e59s542i5lu5
bzr revid: launchpad_translations_on_behalf_of_openerp-20121115050925-civsadyc1h0n4oew
2012-11-15 05:09:25 +00:00
Antony Lesuisse
9bf94f677d
[IMP] http session cleanup with gc
...
bzr revid: al@openerp.com-20121115011853-238vzfca9ssbiyi7
2012-11-15 02:18:53 +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
ba22c50e12
doc remove dev_ internal_ dichotomy tutorial will replace dev_
...
bzr revid: al@openerp.com-20121114230042-ojzn4hr3fp0k15dz
2012-11-15 00:00:42 +01:00
Christophe Simonis
eb5a5bf838
[IMP] add method session.url() to generate correct url
...
bzr revid: chs@openerp.com-20121114174150-9nhj50vftt4lrf0k
2012-11-14 18:41:50 +01:00
Fabien Meghazi
4fb15efb59
[FIX] IE does not accept custom button@type attribute
...
Added one more step in views serialization historic hell
bzr revid: fme@openerp.com-20121114164413-wrnxlbuh9zj924yk
2012-11-14 17:44:13 +01:00
Xavier Morel
5fb303f12f
[FIX] style issues: notes should be actual, correct phrases
...
bzr revid: xmo@openerp.com-20121114163735-th0oocohmepzg822
2012-11-14 17:37:35 +01:00
Xavier Morel
e9839a517d
[IMP] test case options were introduced before where it was said they were
...
bzr revid: xmo@openerp.com-20121114163559-jwi9ua3ny9utsdbo
2012-11-14 17:35:59 +01:00
niv-openerp
303b6108a4
[FIX] problem with datepicker
...
bzr revid: nicolas.vanhoren@openerp.com-20121114151923-p8okppnjpyxsahql
2012-11-14 16:19:23 +01:00
Antony Lesuisse
36e4ed47b7
[FIX] login params
...
bzr revid: al@openerp.com-20121114151714-i0hsz4lyfmps307x
2012-11-14 16:17:14 +01:00
Xavier Morel
923f75eeef
[MEH] hardcode min-width for date fields in list view
...
bzr revid: xmo@openerp.com-20121114150717-sdf6ut4hbappaf8x
2012-11-14 16:07:17 +01:00
Denis Ledoux dle@openerp.com
8dcaac7f54
[FIX]Wrong date for datepicker, due to using self.value instead of self.get('value')
...
lp bug: https://launchpad.net/bugs/1075504 fixed
bzr revid: dle@openerp.com-20121114144345-boqe04siijwsuqor
2012-11-14 15:43:45 +01:00
Xavier Morel
67115184f8
[FIX] references to renamed/removed methods in event handler bindings
...
bzr revid: xmo@openerp.com-20121114130600-2qf8egm0r9bwno1n
2012-11-14 14:06:00 +01:00
niv-openerp
de39dccefb
[FIX] problem with invalid on*|do* refactoring
...
bzr revid: nicolas.vanhoren@openerp.com-20121114125922-cirvs06k133dwako
2012-11-14 13:59:22 +01:00
niv-openerp
9f89256ef3
[IMP] css to make the m2o nicer
...
bzr revid: nicolas.vanhoren@openerp.com-20121114105554-ps21uqbrbremmjxb
2012-11-14 11:55:54 +01:00
Fabien Meghazi
3f0f60faa9
[FIX] Even IE9 only exposes console object when the debug window is opened
...
bzr revid: fme@openerp.com-20121114125715-wgr0wxb91dvccuag
2012-11-14 13:57:15 +01:00
Xavier Morel
a36748ebe4
[FIX] disable min-width on select fields when inside editable list row
...
bzr revid: xmo@openerp.com-20121114125134-ojiupdhudxjtz6y5
2012-11-14 13:51:34 +01:00