Commit Graph

64014 Commits

Author SHA1 Message Date
Thibault Delavallée b444043aea [IMP] mail demo data: removed a few warnings.
bzr revid: tde@openerp.com-20121119093705-netx11bsa1gsmrei
2012-11-19 10:37:05 +01:00
Thibault Delavallée 79c275c0ca [CLEAN] mail: cleaned demo data about files and noupdate: fixed some typos.
bzr revid: tde@openerp.com-20121119092457-lgiijzl4c6c90nuk
2012-11-19 10:24:57 +01:00
Thibault Delavallée ced4017e7f [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121119091643-tv7354hnjv77byua
2012-11-19 10:16:43 +01:00
Xavier Morel e0ec6783e5 [IMP] listview already checks non-empty ids array for deletion, so check not useful
bzr revid: xmo@openerp.com-20121119084533-6qnktzmh19kfwtoo
2012-11-19 09:45:33 +01:00
Xavier Morel 28cbfd22b7 [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
2012-11-19 09:42:03 +01:00
Launchpad Translations on behalf of openerp 66afff1b52 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
2012-11-19 04:37:43 +00:00
Launchpad Translations on behalf of openerp caa54bb76f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121119043724-mjkn4taco62obn62
2012-11-19 04:37:24 +00:00
Launchpad Translations on behalf of openerp 37209eb5e7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121118044730-4j5223ylkxl9o332
2012-11-18 04:47:30 +00:00
Thibault Delavallée 618829ccd9 [FIX] mail_demo: fixed attachment_ids.
bzr revid: tde@openerp.com-20121116171541-3rbe6kq04maa1z7e
2012-11-16 18:15:41 +01:00
Thibault Delavallée 5747c6fddc [HACK] Temp hack about reloading menus.
bzr revid: tde@openerp.com-20121116171100-h2to6ij4p5idcui9
2012-11-16 18:11:00 +01:00
Olivier Dony 62c64d5c4d [IMP] sale_portal: override default `Send by Email` templates to include portal signup link
bzr revid: odo@openerp.com-20121116170643-usandzkdhi0idn2d
2012-11-16 18:06:43 +01:00
Olivier Dony 01df612cd9 [FIX] mail.compose.wizard: attachments should be m2m, body_text and content_subtype obsolete and removed
bzr revid: odo@openerp.com-20121116170503-mvsaa0pv5py2b7ri
2012-11-16 18:05:03 +01:00
Olivier Dony 1829317730 [IMP] typo: uniform naming of Send By Email
bzr revid: odo@openerp.com-20121116170330-tzz613767wnayzsr
2012-11-16 18:03:30 +01:00
Olivier Dony e5374b93b4 [REF] email_template: cleanup/remove obsolete fields on mail composition wizard: use_template is the default
bzr revid: odo@openerp.com-20121116170259-08eot6wy40yehkh4
2012-11-16 18:02:59 +01:00
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 Simonis 4a454397f8 [IMP] auth_oauth: redirect directly to controller; do not make heuristic on arguments
bzr revid: chs@openerp.com-20121116162421-5yahj18n88yykq2k
2012-11-16 17:24:21 +01:00
Olivier Dony 07677b361e [IMP] type: uniform naming of Send By Email
bzr revid: odo@openerp.com-20121116161638-rjv0mqa9f2fonxx0
2012-11-16 17:16:38 +01:00
Olivier Dony ac7e2607ff [IMP] auth_signup: allow passing more options to signup URL
bzr revid: odo@openerp.com-20121116161554-9laa2orf0l9kl5ju
2012-11-16 17:15:54 +01:00
Thibault Delavallée 61835e0080 [IMP] mail, crm: improved demo data.
bzr revid: tde@openerp.com-20121116153141-n8nxkg6g8uypex1a
2012-11-16 16:31:41 +01:00
Thibault Delavallée 3d2bfc8981 [FIX] crm: still fixing filters about base action rule.
bzr revid: tde@openerp.com-20121116153130-p064sro5923dhh3h
2012-11-16 16:31:30 +01:00
Thibault Delavallée 979bf581a8 [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
2012-11-16 16:31:01 +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
Christophe Matthieu 8ccbab8254 [MERGE] from trunk-mail-uploader-chm
bzr revid: chm@openerp.com-20121116151115-1u69yio8kb1h8fjd
2012-11-16 16:11:15 +01:00
Christophe Matthieu ae25dc380f [IMP] mail: remove test for attachment with one2many
bzr revid: chm@openerp.com-20121116150850-zpaeci0wbx725pix
2012-11-16 16:08:50 +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
vta vta@openerp.com 20a50a1866 [FIX] Fixed portal_crm module structure and test. Improved code to invite sale order followers to follow the invoice object.
bzr revid: vta@openerp.com-20121116145407-6hbv0xboq3igvt0l
2012-11-16 15:54:07 +01:00
Vo Minh Thu 01b9f4c3ed [MERGE] removed a few warnings.
bzr revid: vmt@openerp.com-20121116141517-1dwjs27cwk2nq9t4
2012-11-16 15:15:17 +01:00
Vo Minh Thu eafc8fb4d3 [MERGE] removed a few warnings.
bzr revid: vmt@openerp.com-20121116141502-v1z8w86o0bczgsk3
2012-11-16 15:15:02 +01:00
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
vta vta@openerp.com 7541e11697 [ADD] Added file to manage sending invitations after sending email invoice.
bzr revid: vta@openerp.com-20121116122822-g5v95tt7ilsmrc9n
2012-11-16 13:28:22 +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