Commit Graph

64045 Commits

Author SHA1 Message Date
Antony Lesuisse bcfa7c49cc [IMP] minify cache
bzr revid: al@openerp.com-20121116135822-xduk3jnvuhvtorll
2012-11-16 14:58:22 +01:00
Vo Minh Thu 8c32318152 [IMP] base_status: removed unneeded `date_open` field from call to crm.claim.create().
bzr revid: vmt@openerp.com-20121116135144-talk5y0owm848mj7
2012-11-16 14:51:44 +01:00
Olivier Dony b9525453a9 [FIX] base_gengo: remove sandbox flag, improve inconsistent labels on gengo wizard, cleanup, better error reporting
bzr revid: odo@openerp.com-20121116135021-jxz6u76wqyersykl
2012-11-16 14:50:21 +01:00
Vo Minh Thu 35ec3e6d5b [IMP] test_limits/test_uninstall: added access rules.
bzr revid: vmt@openerp.com-20121116131439-y14dekyogidxymof
2012-11-16 14:14:39 +01:00
Christophe Matthieu 81db3f3997 [IMP] mail: commented test for res_model on attachment because one2many became many2many
bzr revid: chm@openerp.com-20121116130834-hsu7wunja092ayt9
2012-11-16 14:08:34 +01:00
Olivier Dony 4d35f90ff2 [IMP] getting started doc: reformat package installation command, courtesy of Nhomar Hernandez (Vauxoo)
bzr revid: odo@openerp.com-20121116122027-j2xiebnixhurfvic
2012-11-16 13:20:27 +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
Christophe Matthieu 0cec2d9d06 [IMP] mail.compose.message: not filter the context for attachment but overwrite the value with type=binary
bzr revid: chm@openerp.com-20121116114348-2g80ll85rz3ha0o2
2012-11-16 12:43:48 +01:00
Xavier Morel cb182407f0 [FIX] missing comma
bzr revid: xmo@openerp.com-20121116113936-opg1gxan0jat2a4d
2012-11-16 12:39:36 +01:00
Vo Minh Thu 2cd9443b92 [IMP] email_template: dont give mail.mail.create() an unneeded email_recipients field.
bzr revid: vmt@openerp.com-20121116113551-le30lwfmignrxl0e
2012-11-16 12:35:51 +01:00
Thibault Delavallée 8007db3bc1 [FIX] mail_thread: when posting a messure using mail_thread as model (typically, a private message without model, res_id), do not try to set it on the attachments; this make the custom access rules check of ir.attachment crash.
bzr revid: tde@openerp.com-20121116112800-8ur8yr8alcrlgg1z
2012-11-16 12:28:00 +01:00
Thibault Delavallée 1631811168 [CLEAN] mail.js: removed some console.log
bzr revid: tde@openerp.com-20121116112712-wu63i6qq2x8g4huk
2012-11-16 12:27:12 +01:00
Xavier Morel 59ffc0af69 [FIX] comment all missing image includes in doc, so that it can build at all
bzr revid: xmo@openerp.com-20121116112659-fy9amck0k5g5xvjz
2012-11-16 12:26:59 +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 e5bae342ae [FIX] unfuck getting started rst
bzr revid: xmo@openerp.com-20121116112357-98gpqfyjlma3gf0b
2012-11-16 12:23:57 +01:00
Christophe Matthieu 8246fb56f8 [IMP] web form: one2many_binary became many2many_binary
bzr revid: chm@openerp.com-20121116112125-ze91rz2zveqzlz2g
2012-11-16 12:21:25 +01:00
Xavier Morel 04efcd997f [MERGE] JS test framework + python runner
bzr revid: xmo@openerp.com-20121116111513-kddq4tohsgaj3hub
2012-11-16 12:15:13 +01:00
Christophe Matthieu c1192ec3a0 [FIX] mail.compose.message: files can be attach to a document and send by mail
bzr revid: chm@openerp.com-20121116111226-0xvb262et94k7omh
2012-11-16 12:12:26 +01:00
Xavier Morel dca7adbc74 [FIX] doc errors
bzr revid: xmo@openerp.com-20121116111043-s0xuy1lya3am6tia
2012-11-16 12:10:43 +01:00
Raphael Collet e0f9859641 [FIX] auth_oauth: use the right credentials when logging on the client database
bzr revid: rco@openerp.com-20121116105820-420abdggm9lzx0pe
2012-11-16 11:58:20 +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
Arnaud Pineux ebd61d8c00 [REVERT] base_crypt: incorrect/unreviewed fix in rev 8058
bzr revid: odo@openerp.com-20121116105231-tujpbbhcd2g8xkfu
2012-11-16 11:52:31 +01:00
Arnaud Pineux fb1c81a9d3 [REVERT] unreviewed audittrail fix in previous rev
bzr revid: odo@openerp.com-20121116104936-t3k4051pe51gqds1
2012-11-16 11:49:36 +01:00
Arnaud Pineux 814187d0c0 [MERGE] audittrail: tentative (unreviewed) fix for bug 1055813
bzr revid: odo@openerp.com-20121116104740-bvumwe23oijir540
2012-11-16 11:47:40 +01:00
Thibault Delavallée aeecd20324 [FIX] mail: fixed a bug when replying to a private message, leading to a non-existent thread dataset. Should be mail.thread by default, only for the dataset, not anything else I think.
bzr revid: tde@openerp.com-20121116102143-jq2o0e5by76zv12w
2012-11-16 11:21:43 +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
Vo Minh Thu 8846c8e67b [IMP] test_exceptions/test_impex: added access rules.
bzr revid: vmt@openerp.com-20121116100505-9uakbl4klbkaz95k
2012-11-16 11:05:05 +01:00
Thibault Delavallée 101b1003b1 [IMP] crm: re-added message subtypes.
bzr revid: tde@openerp.com-20121116095041-3tu0mqhzrgsfjaei
2012-11-16 10:50:41 +01:00
Thibault Delavallée f24d291e51 [FIX] mail_thread: fixed calculation of message_unread: read field may be False or NULL.
bzr revid: tde@openerp.com-20121116095003-8bbfyyvlhzqehf6h
2012-11-16 10:50:03 +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
Arnaud Pineux 7fdb7b41f6 [Merge] Audittrail
lp bug: https://launchpad.net/bugs/1055813 fixed

bzr revid: api@openerp.com-20121116093424-0k7d7we6vy9s6z9e
2012-11-16 10:34:24 +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
Arnaud Pineux e43583b6a5 [Merge] Audittrail
lp bug: https://launchpad.net/bugs/1055813 fixed

bzr revid: api@openerp.com-20121116093006-no5lxfzm6ifmquxm
2012-11-16 10:30:06 +01:00
Raphael Collet 898bdf9e98 [IMP] auth_oauth: refactor a bit method auth_oauth for reuse
bzr revid: rco@openerp.com-20121116092612-x1mef7uvvl0cn5gp
2012-11-16 10:26:12 +01:00
Arnaud Pineux dc3f98308d [FIX] audittrail
lp bug: https://launchpad.net/bugs/1055813 fixed

bzr revid: api@openerp.com-20121116085042-v8q78tof9jyuec07
2012-11-16 09:50:42 +01:00
Christophe Matthieu 7e5389cc95 [MERGE] web kanban: change css for remove hole in kanban view (float:left => display:inline-block)
bzr revid: chm@openerp.com-20121116081701-sz7cm35xxq94ftfn
2012-11-16 09:17:01 +01:00
Thibault Delavallée 2a61424ddb [FIX] mail, crm demo data: back to noupdate.
bzr revid: tde@openerp.com-20121116081657-kyua3pggy84awx4p
2012-11-16 09:16:57 +01:00
Thibault Delavallée 760da18368 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121116081533-k18e3rnl3u5mng06
2012-11-16 09:15:33 +01:00
Xavier Morel 82fc839c55 [ADD] program directive to doc
bzr revid: xmo@openerp.com-20121116080413-dv4q0bj161a2psv4
2012-11-16 09:04:13 +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
Nhomar Hernandez 58ce165627 [FIX] Doc compiled doesn't allow copy and paste, little fix to better use of docs
bzr revid: nhomar@gmail.com-20121116045112-8xygt4bib72dd51v
2012-11-16 00:21:12 -04:30
Launchpad Translations on behalf of openerp 3c8626efbb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121116043620-snye1y94q79vggx4
2012-11-16 04:36:20 +00:00
Fabien Pinckaers fa93a1d65e [IMP] demo data
bzr revid: fp@openerp.com-20121115222751-y25pkf50caeajwg1
2012-11-15 23:27:51 +01:00
Fabien Pinckaers 3a8353a302 [IMP] demo data
bzr revid: fp@openerp.com-20121115220945-fws0ue11f9d05ttj
2012-11-15 23:09:45 +01:00
Fabien Pinckaers ae5f46af63 [IMP] dmeo data mail
bzr revid: fp@openerp.com-20121115204322-w4ry0ky4cna5t96c
2012-11-15 21:43:22 +01:00
Fabien Pinckaers 86be41b250 imp
bzr revid: fp@openerp.com-20121115195103-1b3v4quw0dllyyh1
2012-11-15 20:51:03 +01:00