odoo/odoo.git
11 years ago[IMP] mail demo data: removed a few warnings.
Thibault Delavallée [Mon, 19 Nov 2012 09:37:05 +0000 (10:37 +0100)]
[IMP] mail demo data: removed a few warnings.

bzr revid: tde@openerp.com-20121119093705-netx11bsa1gsmrei

11 years ago[CLEAN] mail: cleaned demo data about files and noupdate: fixed some typos.
Thibault Delavallée [Mon, 19 Nov 2012 09:24:57 +0000 (10:24 +0100)]
[CLEAN] mail: cleaned demo data about files and noupdate: fixed some typos.

bzr revid: tde@openerp.com-20121119092457-lgiijzl4c6c90nuk

11 years ago[MERGE] Sync with trunk.
Thibault Delavallée [Mon, 19 Nov 2012 09:16:43 +0000 (10:16 +0100)]
[MERGE] Sync with trunk.

bzr revid: tde@openerp.com-20121119091643-tv7354hnjv77byua

11 years ago[IMP] listview already checks non-empty ids array for deletion, so check not useful
Xavier Morel [Mon, 19 Nov 2012 08:45:33 +0000 (09:45 +0100)]
[IMP] listview already checks non-empty ids array for deletion, so check not useful

bzr revid: xmo@openerp.com-20121119084533-6qnktzmh19kfwtoo

11 years ago[FIX] editable listview: do not attempt to delete falsy ids (from the dataset)
Xavier Morel [Mon, 19 Nov 2012 08:42:03 +0000 (09:42 +0100)]
[FIX] editable listview: do not attempt to delete falsy ids (from the dataset)

During the creation of a new record (in an editable list), the
prospective new record has a ``false`` id. In a non-o2m, the row under
creation can be selected (checkbox) and deleted (More > Delete),
leading to the request to ``DELETE false`` being sent to the ORM…
which said ORM does not wish to entertain.

Before actually performing the delete request (more precisely
forwarding said request to the listview itself), remove all false-ish
ids from the array.

Also, don't send a request to delete nothing.

bzr revid: xmo@openerp.com-20121119084203-0vz4v9myfizxz88u

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 19 Nov 2012 04:37:43 +0000 (04:37 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20121117043708-z0u57016sd0wlp40
bzr revid: launchpad_translations_on_behalf_of_openerp-20121118043740-7rflvcr80m8nk6lf
bzr revid: launchpad_translations_on_behalf_of_openerp-20121119043743-wa4nnbhzv39ixzag

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 19 Nov 2012 04:37:24 +0000 (04:37 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20121119043724-mjkn4taco62obn62

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 18 Nov 2012 04:47:30 +0000 (04:47 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20121118044730-4j5223ylkxl9o332

11 years ago[FIX] mail_demo: fixed attachment_ids.
Thibault Delavallée [Fri, 16 Nov 2012 17:15:41 +0000 (18:15 +0100)]
[FIX] mail_demo: fixed attachment_ids.

bzr revid: tde@openerp.com-20121116171541-3rbe6kq04maa1z7e

11 years ago[HACK] Temp hack about reloading menus.
Thibault Delavallée [Fri, 16 Nov 2012 17:11:00 +0000 (18:11 +0100)]
[HACK] Temp hack about reloading menus.

bzr revid: tde@openerp.com-20121116171100-h2to6ij4p5idcui9

11 years ago[IMP] sale_portal: override default `Send by Email` templates to include portal signu...
Olivier Dony [Fri, 16 Nov 2012 17:06:43 +0000 (18:06 +0100)]
[IMP] sale_portal: override default `Send by Email` templates to include portal signup link

bzr revid: odo@openerp.com-20121116170643-usandzkdhi0idn2d

11 years ago[FIX] mail.compose.wizard: attachments should be m2m, body_text and content_subtype...
Olivier Dony [Fri, 16 Nov 2012 17:05:03 +0000 (18:05 +0100)]
[FIX] mail.compose.wizard: attachments should be m2m, body_text and content_subtype obsolete and removed

bzr revid: odo@openerp.com-20121116170503-mvsaa0pv5py2b7ri

11 years ago[IMP] typo: uniform naming of Send By Email
Olivier Dony [Fri, 16 Nov 2012 17:03:30 +0000 (18:03 +0100)]
[IMP] typo: uniform naming of Send By Email

bzr revid: odo@openerp.com-20121116170330-tzz613767wnayzsr

11 years ago[REF] email_template: cleanup/remove obsolete fields on mail composition wizard:...
Olivier Dony [Fri, 16 Nov 2012 17:02:59 +0000 (18:02 +0100)]
[REF] email_template: cleanup/remove obsolete fields on mail composition wizard: use_template is the default

bzr revid: odo@openerp.com-20121116170259-08eot6wy40yehkh4

11 years ago[FIX] correctly handle case of deleting-an-o2m-line-being-edited
Xavier Morel [Fri, 16 Nov 2012 16:44:16 +0000 (17:44 +0100)]
[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

11 years ago[IMP] auth_oauth: redirect directly to controller; do not make heuristic on arguments
Christophe Simonis [Fri, 16 Nov 2012 16:24:21 +0000 (17:24 +0100)]
[IMP] auth_oauth: redirect directly to controller; do not make heuristic on arguments

bzr revid: chs@openerp.com-20121116162421-5yahj18n88yykq2k

11 years ago[IMP] type: uniform naming of Send By Email
Olivier Dony [Fri, 16 Nov 2012 16:16:38 +0000 (17:16 +0100)]
[IMP] type: uniform naming of Send By Email

bzr revid: odo@openerp.com-20121116161638-rjv0mqa9f2fonxx0

11 years ago[IMP] auth_signup: allow passing more options to signup URL
Olivier Dony [Fri, 16 Nov 2012 16:15:54 +0000 (17:15 +0100)]
[IMP] auth_signup: allow passing more options to signup URL

bzr revid: odo@openerp.com-20121116161554-9laa2orf0l9kl5ju

11 years ago[IMP] mail, crm: improved demo data.
Thibault Delavallée [Fri, 16 Nov 2012 15:31:41 +0000 (16:31 +0100)]
[IMP] mail, crm: improved demo data.

bzr revid: tde@openerp.com-20121116153141-n8nxkg6g8uypex1a

11 years ago[FIX] crm: still fixing filters about base action rule.
Thibault Delavallée [Fri, 16 Nov 2012 15:31:30 +0000 (16:31 +0100)]
[FIX] crm: still fixing filters about base action rule.

bzr revid: tde@openerp.com-20121116153130-p064sro5923dhh3h

11 years ago[FIX] action_rule: fixed some filters to be with user_id False, ot be available to...
Thibault Delavallée [Fri, 16 Nov 2012 15:31:01 +0000 (16:31 +0100)]
[FIX] action_rule: fixed some filters to be with user_id False, ot be available to every employee.

bzr revid: tde@openerp.com-20121116153101-ta18d6mzeg70avcd

11 years ago[MERGE] from trunk-mail-uploader-chm
Christophe Matthieu [Fri, 16 Nov 2012 15:15:06 +0000 (16:15 +0100)]
[MERGE] from trunk-mail-uploader-chm

bzr revid: chm@openerp.com-20121116151506-z0qg8cgf069kdato

11 years ago[FIX] problem in editable list o2m when hitting the enter button rapidly
niv-openerp [Fri, 16 Nov 2012 15:12:48 +0000 (16:12 +0100)]
[FIX] problem in editable list o2m when hitting the enter button rapidly

bzr revid: nicolas.vanhoren@openerp.com-20121116151248-il59eiekk758suco

11 years ago[MERGE] from trunk-mail-uploader-chm
Christophe Matthieu [Fri, 16 Nov 2012 15:11:15 +0000 (16:11 +0100)]
[MERGE] from trunk-mail-uploader-chm

bzr revid: chm@openerp.com-20121116151115-1u69yio8kb1h8fjd

11 years ago[IMP] mail: remove test for attachment with one2many
Christophe Matthieu [Fri, 16 Nov 2012 15:08:50 +0000 (16:08 +0100)]
[IMP] mail: remove test for attachment with one2many

bzr revid: chm@openerp.com-20121116150850-zpaeci0wbx725pix

11 years ago[IMP] web.http: factor out session path generation
Raphael Collet [Fri, 16 Nov 2012 15:01:31 +0000 (16:01 +0100)]
[IMP] web.http: factor out session path generation

bzr revid: rco@openerp.com-20121116150131-a2ioomezc62kqgrb

11 years ago[MERGE] removed a few warnings.
Vo Minh Thu [Fri, 16 Nov 2012 14:15:17 +0000 (15:15 +0100)]
[MERGE] removed a few warnings.

bzr revid: vmt@openerp.com-20121116141517-1dwjs27cwk2nq9t4

11 years ago[MERGE] removed a few warnings.
Vo Minh Thu [Fri, 16 Nov 2012 14:15:02 +0000 (15:15 +0100)]
[MERGE] removed a few warnings.

bzr revid: vmt@openerp.com-20121116141502-v1z8w86o0bczgsk3

11 years ago[IMP] minify cache
Antony Lesuisse [Fri, 16 Nov 2012 13:58:22 +0000 (14:58 +0100)]
[IMP] minify cache

bzr revid: al@openerp.com-20121116135822-xduk3jnvuhvtorll

11 years ago[IMP] base_status: removed unneeded `date_open` field from call to crm.claim.create().
Vo Minh Thu [Fri, 16 Nov 2012 13:51:44 +0000 (14:51 +0100)]
[IMP] base_status: removed unneeded `date_open` field from call to crm.claim.create().

bzr revid: vmt@openerp.com-20121116135144-talk5y0owm848mj7

11 years ago[FIX] base_gengo: remove sandbox flag, improve inconsistent labels on gengo wizard...
Olivier Dony [Fri, 16 Nov 2012 13:50:21 +0000 (14:50 +0100)]
[FIX] base_gengo: remove sandbox flag, improve inconsistent labels on gengo wizard, cleanup, better error reporting

bzr revid: odo@openerp.com-20121116135021-jxz6u76wqyersykl

11 years ago[IMP] test_limits/test_uninstall: added access rules.
Vo Minh Thu [Fri, 16 Nov 2012 13:14:39 +0000 (14:14 +0100)]
[IMP] test_limits/test_uninstall: added access rules.

bzr revid: vmt@openerp.com-20121116131439-y14dekyogidxymof

11 years ago[IMP] mail: commented test for res_model on attachment because one2many became many2many
Christophe Matthieu [Fri, 16 Nov 2012 13:08:34 +0000 (14:08 +0100)]
[IMP] mail: commented test for res_model on attachment because one2many became many2many

bzr revid: chm@openerp.com-20121116130834-hsu7wunja092ayt9

11 years ago[IMP] getting started doc: reformat package installation command, courtesy of Nhomar...
Olivier Dony [Fri, 16 Nov 2012 12:20:27 +0000 (13:20 +0100)]
[IMP] getting started doc: reformat package installation command, courtesy of Nhomar Hernandez (Vauxoo)

bzr revid: odo@openerp.com-20121116122027-j2xiebnixhurfvic

11 years ago[FIX] test cases
Xavier Morel [Fri, 16 Nov 2012 11:55:44 +0000 (12:55 +0100)]
[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

11 years ago[IMP] mail.compose.message: not filter the context for attachment but overwrite the...
Christophe Matthieu [Fri, 16 Nov 2012 11:43:48 +0000 (12:43 +0100)]
[IMP] mail.compose.message: not filter the context for attachment but overwrite the value with type=binary

bzr revid: chm@openerp.com-20121116114348-2g80ll85rz3ha0o2

11 years ago[FIX] missing comma
Xavier Morel [Fri, 16 Nov 2012 11:39:36 +0000 (12:39 +0100)]
[FIX] missing comma

bzr revid: xmo@openerp.com-20121116113936-opg1gxan0jat2a4d

11 years ago[IMP] email_template: dont give mail.mail.create() an unneeded email_recipients field.
Vo Minh Thu [Fri, 16 Nov 2012 11:35:51 +0000 (12:35 +0100)]
[IMP] email_template: dont give mail.mail.create() an unneeded email_recipients field.

bzr revid: vmt@openerp.com-20121116113551-le30lwfmignrxl0e

11 years ago[FIX] mail_thread: when posting a messure using mail_thread as model (typically,...
Thibault Delavallée [Fri, 16 Nov 2012 11:28:00 +0000 (12:28 +0100)]
[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

11 years ago[CLEAN] mail.js: removed some console.log
Thibault Delavallée [Fri, 16 Nov 2012 11:27:12 +0000 (12:27 +0100)]
[CLEAN] mail.js: removed some console.log

bzr revid: tde@openerp.com-20121116112712-wu63i6qq2x8g4huk

11 years ago[FIX] comment all missing image includes in doc, so that it can build at all
Xavier Morel [Fri, 16 Nov 2012 11:26:59 +0000 (12:26 +0100)]
[FIX] comment all missing image includes in doc, so that it can build at all

bzr revid: xmo@openerp.com-20121116112659-fy9amck0k5g5xvjz

11 years ago[IMP] web form: one2many_binary became many2many_binary
Christophe Matthieu [Fri, 16 Nov 2012 11:25:17 +0000 (12:25 +0100)]
[IMP] web form: one2many_binary became many2many_binary

bzr revid: chm@openerp.com-20121116112517-yqc9w37iz5yg2xf0

11 years ago[FIX] unfuck getting started rst
Xavier Morel [Fri, 16 Nov 2012 11:23:57 +0000 (12:23 +0100)]
[FIX] unfuck getting started rst

bzr revid: xmo@openerp.com-20121116112357-98gpqfyjlma3gf0b

11 years ago[IMP] web form: one2many_binary became many2many_binary
Christophe Matthieu [Fri, 16 Nov 2012 11:21:25 +0000 (12:21 +0100)]
[IMP] web form: one2many_binary became many2many_binary

bzr revid: chm@openerp.com-20121116112125-ze91rz2zveqzlz2g

11 years ago[MERGE] JS test framework + python runner
Xavier Morel [Fri, 16 Nov 2012 11:15:13 +0000 (12:15 +0100)]
[MERGE] JS test framework + python runner

bzr revid: xmo@openerp.com-20121116111513-kddq4tohsgaj3hub

11 years ago[FIX] mail.compose.message: files can be attach to a document and send by mail
Christophe Matthieu [Fri, 16 Nov 2012 11:12:26 +0000 (12:12 +0100)]
[FIX] mail.compose.message: files can be attach to a document and send by mail

bzr revid: chm@openerp.com-20121116111226-0xvb262et94k7omh

11 years ago[FIX] doc errors
Xavier Morel [Fri, 16 Nov 2012 11:10:43 +0000 (12:10 +0100)]
[FIX] doc errors

bzr revid: xmo@openerp.com-20121116111043-s0xuy1lya3am6tia

11 years ago[FIX] auth_oauth: use the right credentials when logging on the client database
Raphael Collet [Fri, 16 Nov 2012 10:58:20 +0000 (11:58 +0100)]
[FIX] auth_oauth: use the right credentials when logging on the client database

bzr revid: rco@openerp.com-20121116105820-420abdggm9lzx0pe

11 years ago[REM] test runner feature which probably caused more trouble than it caught
Xavier Morel [Fri, 16 Nov 2012 10:55:54 +0000 (11:55 +0100)]
[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

11 years ago[REVERT] base_crypt: incorrect/unreviewed fix in rev 8058
Arnaud Pineux [Fri, 16 Nov 2012 10:52:31 +0000 (11:52 +0100)]
[REVERT] base_crypt: incorrect/unreviewed fix in rev 8058

bzr revid: odo@openerp.com-20121116105231-tujpbbhcd2g8xkfu

11 years ago[REVERT] unreviewed audittrail fix in previous rev
Arnaud Pineux [Fri, 16 Nov 2012 10:49:36 +0000 (11:49 +0100)]
[REVERT] unreviewed audittrail fix in previous rev

bzr revid: odo@openerp.com-20121116104936-t3k4051pe51gqds1

11 years ago[MERGE] audittrail: tentative (unreviewed) fix for bug 1055813
Arnaud Pineux [Fri, 16 Nov 2012 10:47:40 +0000 (11:47 +0100)]
[MERGE] audittrail: tentative (unreviewed) fix for bug 1055813

bzr revid: odo@openerp.com-20121116104740-bvumwe23oijir540

11 years ago[FIX] mail: fixed a bug when replying to a private message, leading to a non-existent...
Thibault Delavallée [Fri, 16 Nov 2012 10:21:43 +0000 (11:21 +0100)]
[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

11 years ago[FIX] deferred.pipe -> deferred.then
Xavier Morel [Fri, 16 Nov 2012 10:14:17 +0000 (11:14 +0100)]
[FIX] deferred.pipe -> deferred.then

bzr revid: xmo@openerp.com-20121116101417-mkcjrdtocl6w7408

11 years ago[MERGE] from trunk, fix/adapt some tests
Xavier Morel [Fri, 16 Nov 2012 10:08:40 +0000 (11:08 +0100)]
[MERGE] from trunk, fix/adapt some tests

bzr revid: xmo@openerp.com-20121116100840-yyr9b4oru3zdftld

11 years ago[IMP] test_exceptions/test_impex: added access rules.
Vo Minh Thu [Fri, 16 Nov 2012 10:05:05 +0000 (11:05 +0100)]
[IMP] test_exceptions/test_impex: added access rules.

bzr revid: vmt@openerp.com-20121116100505-9uakbl4klbkaz95k

11 years ago[IMP] crm: re-added message subtypes.
Thibault Delavallée [Fri, 16 Nov 2012 09:50:41 +0000 (10:50 +0100)]
[IMP] crm: re-added message subtypes.

bzr revid: tde@openerp.com-20121116095041-3tu0mqhzrgsfjaei

11 years ago[FIX] mail_thread: fixed calculation of message_unread: read field may be False or...
Thibault Delavallée [Fri, 16 Nov 2012 09:50:03 +0000 (10:50 +0100)]
[FIX] mail_thread: fixed calculation of message_unread: read field may be False or NULL.

bzr revid: tde@openerp.com-20121116095003-8bbfyyvlhzqehf6h

11 years ago[FIX] list button test: no call_button result now triggers an act_window_close
Xavier Morel [Fri, 16 Nov 2012 09:43:55 +0000 (10:43 +0100)]
[FIX] list button test: no call_button result now triggers an act_window_close

bzr revid: xmo@openerp.com-20121116094355-bsbxb0ufpjqx5j50

11 years ago[IMP] Added feature in the rpc() method to be able to perform a call without triggeri...
niv-openerp [Fri, 16 Nov 2012 09:42:00 +0000 (10:42 +0100)]
[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

11 years ago[Merge] Audittrail
Arnaud Pineux [Fri, 16 Nov 2012 09:34:24 +0000 (10:34 +0100)]
[Merge] Audittrail

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

bzr revid: api@openerp.com-20121116093424-0k7d7we6vy9s6z9e

11 years ago[DOC] how to run tests 'offline' in phantomjs
Xavier Morel [Fri, 16 Nov 2012 09:33:42 +0000 (10:33 +0100)]
[DOC] how to run tests 'offline' in phantomjs

bzr revid: xmo@openerp.com-20121116093342-udc775t8cr5lgpst

11 years ago[Merge] Audittrail
Arnaud Pineux [Fri, 16 Nov 2012 09:30:06 +0000 (10:30 +0100)]
[Merge] Audittrail

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

bzr revid: api@openerp.com-20121116093006-no5lxfzm6ifmquxm

11 years ago[IMP] auth_oauth: refactor a bit method auth_oauth for reuse
Raphael Collet [Fri, 16 Nov 2012 09:26:12 +0000 (10:26 +0100)]
[IMP] auth_oauth: refactor a bit method auth_oauth for reuse

bzr revid: rco@openerp.com-20121116092612-x1mef7uvvl0cn5gp

11 years ago[FIX] audittrail
Arnaud Pineux [Fri, 16 Nov 2012 08:50:42 +0000 (09:50 +0100)]
[FIX] audittrail

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

bzr revid: api@openerp.com-20121116085042-v8q78tof9jyuec07

11 years ago[MERGE] web kanban: change css for remove hole in kanban view (float:left => display...
Christophe Matthieu [Fri, 16 Nov 2012 08:17:01 +0000 (09:17 +0100)]
[MERGE] web kanban: change css for remove hole in kanban view (float:left => display:inline-block)

bzr revid: chm@openerp.com-20121116081701-sz7cm35xxq94ftfn

11 years ago[FIX] mail, crm demo data: back to noupdate.
Thibault Delavallée [Fri, 16 Nov 2012 08:16:57 +0000 (09:16 +0100)]
[FIX] mail, crm demo data: back to noupdate.

bzr revid: tde@openerp.com-20121116081657-kyua3pggy84awx4p

11 years ago[MERGE] Sync with trunk.
Thibault Delavallée [Fri, 16 Nov 2012 08:15:33 +0000 (09:15 +0100)]
[MERGE] Sync with trunk.

bzr revid: tde@openerp.com-20121116081533-k18e3rnl3u5mng06

11 years ago[ADD] program directive to doc
Xavier Morel [Fri, 16 Nov 2012 08:04:13 +0000 (09:04 +0100)]
[ADD] program directive to doc

bzr revid: xmo@openerp.com-20121116080413-dv4q0bj161a2psv4

11 years ago[REM] failing test code
Xavier Morel [Fri, 16 Nov 2012 07:37:38 +0000 (08:37 +0100)]
[REM] failing test code

committed by mistake

bzr revid: xmo@openerp.com-20121116073738-9f43bm0q6eojns3v

11 years ago[IMP] web test runner: pass execute's arguments to the function to avoid duplication
Xavier Morel [Fri, 16 Nov 2012 07:29:06 +0000 (08:29 +0100)]
[IMP] web test runner: pass execute's arguments to the function to avoid duplication

bzr revid: xmo@openerp.com-20121116072906-0di2j83p602a2l9i

11 years ago[IMP] setup & teardown of test runner
Xavier Morel [Fri, 16 Nov 2012 07:17:12 +0000 (08:17 +0100)]
[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

11 years ago[FIX] Doc compiled doesn't allow copy and paste, little fix to better use of docs
Nhomar Hernandez [Fri, 16 Nov 2012 04:51:12 +0000 (00:21 -0430)]
[FIX] Doc compiled doesn't allow copy and paste, little fix to better use of docs

bzr revid: nhomar@gmail.com-20121116045112-8xygt4bib72dd51v

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 16 Nov 2012 04:36:20 +0000 (04:36 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20121116043620-snye1y94q79vggx4

11 years ago[IMP] demo data
Fabien Pinckaers [Thu, 15 Nov 2012 22:27:51 +0000 (23:27 +0100)]
[IMP] demo data

bzr revid: fp@openerp.com-20121115222751-y25pkf50caeajwg1

11 years ago[IMP] demo data
Fabien Pinckaers [Thu, 15 Nov 2012 22:09:45 +0000 (23:09 +0100)]
[IMP] demo data

bzr revid: fp@openerp.com-20121115220945-fws0ue11f9d05ttj

11 years ago[IMP] dmeo data mail
Fabien Pinckaers [Thu, 15 Nov 2012 20:43:22 +0000 (21:43 +0100)]
[IMP] dmeo data mail

bzr revid: fp@openerp.com-20121115204322-w4ry0ky4cna5t96c

11 years agoimp
Fabien Pinckaers [Thu, 15 Nov 2012 19:51:03 +0000 (20:51 +0100)]
imp

bzr revid: fp@openerp.com-20121115195103-1b3v4quw0dllyyh1

11 years ago[IMP] better demo data
Fabien Pinckaers [Thu, 15 Nov 2012 19:48:17 +0000 (20:48 +0100)]
[IMP] better demo data

bzr revid: fp@openerp.com-20121115194817-7c8sbmqymczovcra

11 years ago[IMP] mail, crm: demo data largely updated.
Thibault Delavallée [Thu, 15 Nov 2012 18:26:41 +0000 (19:26 +0100)]
[IMP] mail, crm: demo data largely updated.

bzr revid: tde@openerp.com-20121115182641-99ndilbr5m4x1oft

11 years ago[FIX?] Probably fix something... ? See previous revision.
Fabien Meghazi [Thu, 15 Nov 2012 18:23:31 +0000 (19:23 +0100)]
[FIX?] Probably fix something... ? See previous revision.

bzr revid: fme@openerp.com-20121115182331-0vz3beb6x2od9xhs

11 years ago[MERGE] Sync with trunk.
Thibault Delavallée [Thu, 15 Nov 2012 18:19:30 +0000 (19:19 +0100)]
[MERGE] Sync with trunk.

bzr revid: tde@openerp.com-20121115131824-60tl5f9hvxpca827
bzr revid: tde@openerp.com-20121115181930-ypj3zbdhg9bvcdf5

11 years ago[FIX] Broken kanban images
Fabien Meghazi [Thu, 15 Nov 2012 18:17:30 +0000 (19:17 +0100)]
[FIX] Broken kanban images

bzr revid: fme@openerp.com-20121115181730-plfvy8ok9uykvu97

11 years ago[FIX] fetchmail: incoming emails on res.users does not lead to a crash anymore, due...
Thibault Delavallée [Thu, 15 Nov 2012 17:54:04 +0000 (18:54 +0100)]
[FIX] fetchmail: incoming emails on res.users does not lead to a crash anymore, due to missing mail.thread methods in res.users. The partner is also correctly added in recipients.

bzr revid: tde@openerp.com-20121115175404-pflf7lf5s5spalbu

11 years ago[IMP] openerp logo img border 0 for IE
Fabien Meghazi [Thu, 15 Nov 2012 17:51:46 +0000 (18:51 +0100)]
[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

11 years ago[IMP] Clean base.sass folding sections
Fabien Meghazi [Thu, 15 Nov 2012 17:36:14 +0000 (18:36 +0100)]
[IMP] Clean base.sass folding sections

bzr revid: fme@openerp.com-20121115173614-o5pchmm889yxz5cy

11 years ago[FIX] incomign email on a partner: fixed auto-inclusion of destination partner in...
Thibault Delavallée [Thu, 15 Nov 2012 17:18:30 +0000 (18:18 +0100)]
[FIX] incomign email on a partner: fixed auto-inclusion of destination partner in recipients.

bzr revid: tde@openerp.com-20121115171830-0el4jrt1gjmtrts1

11 years ago[MERGE]trunk-bug-1077138-dle fix web shortcut
Denis Ledoux dle@openerp.com [Thu, 15 Nov 2012 17:14:13 +0000 (18:14 +0100)]
[MERGE]trunk-bug-1077138-dle fix web shortcut

bzr revid: dle@openerp.com-20121115171413-18n22483nungxqda

11 years ago[FIX] make root menu links works
Christophe Simonis [Thu, 15 Nov 2012 17:12:01 +0000 (18:12 +0100)]
[FIX] make root menu links works

bzr revid: chs@openerp.com-20121115171201-76y7ul1jhjyi2e78

11 years ago[IMP] Centralized 'openerp' class on top level elements. Also add openerp_ie class...
Fabien Meghazi [Thu, 15 Nov 2012 16:41:32 +0000 (17:41 +0100)]
[IMP] Centralized 'openerp' class on top level elements. Also add openerp_ie class for MSIE

bzr revid: fme@openerp.com-20121115164132-i6a0u8zk3knm1zkv

11 years ago[FIX] base_import: added security csv file in __openerp__.py.
Vo Minh Thu [Thu, 15 Nov 2012 16:37:56 +0000 (17:37 +0100)]
[FIX] base_import: added security csv file in __openerp__.py.

bzr revid: vmt@openerp.com-20121115163756-vfocdshvwo524dya

11 years ago[IMP] fleet/porta/account_budget: removed some initialization warnings.
Vo Minh Thu [Thu, 15 Nov 2012 16:06:43 +0000 (17:06 +0100)]
[IMP] fleet/porta/account_budget: removed some initialization warnings.

bzr revid: vmt@openerp.com-20121115160643-lc0b07n6xiaq1rl3

11 years ago[IMP] loading: the warning about access rights give an example that can be copied.
Vo Minh Thu [Thu, 15 Nov 2012 16:06:11 +0000 (17:06 +0100)]
[IMP] loading: the warning about access rights give an example that can be copied.

bzr revid: vmt@openerp.com-20121115160611-9dkyx82d94pve2rx

11 years ago[FIX]Reload whole favorites (by rpc call) instead of adding the new one, otherwise...
Denis Ledoux dle@openerp.com [Thu, 15 Nov 2012 16:05:50 +0000 (17:05 +0100)]
[FIX]Reload whole favorites (by rpc call) instead of adding the new one, otherwise the name of the new starred item is not structured like the other ones

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

bzr revid: dle@openerp.com-20121115160550-p5kc3j8swxu3lfv0

11 years ago[FIX] fetchmail: fixed sending email on res.users aliases. This is done by using...
Thibault Delavallée [Thu, 15 Nov 2012 16:00:08 +0000 (17:00 +0100)]
[FIX] fetchmail: fixed sending email on res.users aliases. This is done by using the message_update method of the related partner.

bzr revid: tde@openerp.com-20121115160008-gpz50ryhdw7h3f8b

11 years ago[FIX]wrong out id when adding shortcut to system tray list
Denis Ledoux dle@openerp.com [Thu, 15 Nov 2012 15:57:08 +0000 (16:57 +0100)]
[FIX]wrong out id when adding shortcut to system tray list

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

bzr revid: dle@openerp.com-20121115155708-vbz1djvtp15dit78

11 years ago[FIX] crypt and openid
Arnaud Pineux [Thu, 15 Nov 2012 15:30:56 +0000 (16:30 +0100)]
[FIX] crypt and openid

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

bzr revid: api@openerp.com-20121115153056-ayj1do22pllon9ud

11 years ago[IMP] lunch: removed a few initialization warnings.
Vo Minh Thu [Thu, 15 Nov 2012 15:25:57 +0000 (16:25 +0100)]
[IMP] lunch: removed a few initialization warnings.

bzr revid: vmt@openerp.com-20121115152557-3lroffi0dtar3rs4

11 years ago[FIX] openID and Crypt
Arnaud Pineux [Thu, 15 Nov 2012 15:14:10 +0000 (16:14 +0100)]
[FIX] openID and Crypt

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

bzr revid: api@openerp.com-20121115151410-b2mey3wystp5zha0

11 years ago[FIX] manifest_glob return path with / for web part
Christophe Simonis [Thu, 15 Nov 2012 15:12:28 +0000 (16:12 +0100)]
[FIX] manifest_glob return path with / for web part

bzr revid: chs@openerp.com-20121115151228-xzrlpjxwkspf5fgz