Commit Graph

2267 Commits

Author SHA1 Message Date
Olivier Dony fadd311945 [FIX] mail: remove ugly hack for context filtering that wreaks havoc in contexts
This hacks makes a mess and works with a whitelist that
completely breaks the generic context passing mechanism.
Replaced by specific guard through default_get overrides
for the models that are sensitive to default value
leaks via context.
E.g. mail.message is sensitive to leaked default_type
context keys that are meant for other models, such
as those passed by the Invoices menus.

bzr revid: odo@openerp.com-20121121101917-izeu4c493un86udf
2012-11-21 11:19:17 +01:00
Fabien Meghazi fb471068f2 [MERGE] mail followers form widget specific visibility rule
bzr revid: fme@openerp.com-20121121093416-c1gn658pwkca6ldp
2012-11-21 10:34:16 +01:00
Olivier Dony b770240247 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121120113600-4oyx9sziigbxn8w8
bzr revid: odo@openerp.com-20121120163429-l4cf6r75vwqfvxty
2012-11-20 17:34:29 +01:00
Christophe Matthieu 53d35debfd [FIX] mail followers: invisible attribute and mode create
bzr revid: chm@openerp.com-20121120162434-g5wfgwndozrcstld
2012-11-20 17:24:34 +01:00
Thibault Delavallée 99a3ef8860 [CLEAN] Demo data: fixed some typos, cleaned a bit before merging.
bzr revid: tde@openerp.com-20121120102325-5xts5n801p9islgy
2012-11-20 11:23:25 +01:00
Thibault Delavallée d6639ba1e6 [MOV] admin and demo avatar: moved from mail to server.
bzr revid: tde@openerp.com-20121120091854-ksun8xc0ya79olil
2012-11-20 10:18:54 +01:00
Thibault Delavallée 3001a4dd49 [REV] Chatter: reverted hack about reloading menus.
bzr revid: tde@openerp.com-20121120090602-un5239e4yl3xcob6
2012-11-20 10:06:02 +01:00
Thibault Delavallée b9c07b1019 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121120090512-82lyg9jotfvlim0n
2012-11-20 10:05:12 +01:00
Thibault Delavallée 3bc9d36b77 [FIX] message_route: when replying to a message, use its model and res_id, never lost.
bzr revid: tde@openerp.com-20121119141740-tjlp1uy4mq4lrg48
2012-11-19 15:17:40 +01:00
Thibault Delavallée 4d79649b55 [REV] Removed fix, to be inserted in a specific branch.
bzr revid: tde@openerp.com-20121119114125-51fhctk8n79ptx65
2012-11-19 12:41:25 +01:00
Christophe Matthieu 1ec9878370 [FIX] mail: do not display the body message false value
bzr revid: chm@openerp.com-20121119110158-iw2i7qt422fqatvm
2012-11-19 12:01:58 +01:00
Thibault Delavallée 5b32736597 [CLEAN] mail: cleaned a bit the demo data.
bzr revid: tde@openerp.com-20121119101953-np1gw8e7qhfhncgq
2012-11-19 11:19:53 +01:00
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
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 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
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
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
Vo Minh Thu 01b9f4c3ed [MERGE] removed a few warnings.
bzr revid: vmt@openerp.com-20121116141517-1dwjs27cwk2nq9t4
2012-11-16 15:15:17 +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
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
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
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
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
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
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
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
Fabien Pinckaers f6ee56a083 [IMP] better demo data
bzr revid: fp@openerp.com-20121115194817-7c8sbmqymczovcra
2012-11-15 20:48:17 +01:00
Thibault Delavallée 8539249bdb [IMP] mail, crm: demo data largely updated.
bzr revid: tde@openerp.com-20121115182641-99ndilbr5m4x1oft
2012-11-15 19:26:41 +01:00
Thibault Delavallée 99c1145d81 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121115131824-60tl5f9hvxpca827
bzr revid: tde@openerp.com-20121115181930-ypj3zbdhg9bvcdf5
2012-11-15 19:19:30 +01:00
Thibault Delavallée 54090e8d92 [FIX] incomign email on a partner: fixed auto-inclusion of destination partner in recipients.
bzr revid: tde@openerp.com-20121115171830-0el4jrt1gjmtrts1
2012-11-15 18:18:30 +01:00
Thibault Delavallée 0cde689fa9 [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
2012-11-15 17:00:08 +01:00
Olivier Dony e5921325bd [REM] mail.compose.wizard: remove unused body_text and content_subtype fields
These fields were used in pre-7.0 to manage the plaintext variant of the 
mail being composed, but as of 7.0 the composition wizard will always
use the HTML/Rich text mode, so they can be dropped.

bzr revid: odo@openerp.com-20121115135634-fcy6mexnctwg0nxb
2012-11-15 14:56:34 +01:00
Thibault Delavallée 3571ad2a70 [MERGE] Fixes some posting/email_template issues. Also cleans an old hack about res.users view redirected to its related res.partner.
Addons-side:
- res.users wraps the 2 posting methods, because mailboxes are still related to the user, not the partner, due to some technical issues
- mail.compose.message using email_template: _reopen is back, as the spec of a wizard should be that hitting a button close it. Therefore _reopen is necessaru to reopen the wizard with its previous value, to continue working on it.

bzr revid: tde@openerp.com-20121115125113-oxn2vwunsvkinxkd
2012-11-15 13:51:13 +01:00
Thibault Delavallée da9951baf9 [CLEAN] removed a commented statement, fixed a var name in js.é
bzr revid: tde@openerp.com-20121115124931-w20igi8qk66uvnj0
2012-11-15 13:49:31 +01:00
Vo Minh Thu d1f49ab27a [IMP] removing some warnings (those one are generated by tests).
bzr revid: vmt@openerp.com-20121115115916-6i2ljxn7s9qz4rlv
2012-11-15 12:59:16 +01:00
Fabien Pinckaers c6b5ca0a07 [FIX] typo in a message
bzr revid: fp@tinyerp.com-20121115103947-zre3ja8ghnojesd1
2012-11-15 11:39:47 +01:00
Thibault Delavallée dfa48f425d [MERGE] Sync with trunk, because of the last fixes to have a green runbot.
bzr revid: tde@openerp.com-20121115103816-8m7f0zxujczjwx2a
2012-11-15 11:38:16 +01:00
Christophe Matthieu cd5490aec2 [IMP] mail: merge the sent menu and the archives menu
bzr revid: chm@openerp.com-20121115103624-ilkh0ys3w6a0t8f2
2012-11-15 11:36:24 +01:00
Thibault Delavallée 15b23a76ae [REM] Chatter: removed unused template in xml.
bzr revid: tde@openerp.com-20121115103501-wt837acx8kj1ycht
2012-11-15 11:35:01 +01:00
Christophe Matthieu f3bba6c77b [FIX] mail: do not convert text on html when the user post a message with the widget to message_post_api
bzr revid: chm@openerp.com-20121115102522-sicesckcupbh1nnc
2012-11-15 11:25:22 +01:00
Fabien Pinckaers 8fe036423c [FIX] show of image groups
bzr revid: fp@tinyerp.com-20121115102522-jquurlypugesxu1e
2012-11-15 11:25:22 +01:00
Fabien Pinckaers d530905b93 [IMP] Add default filter on groups
bzr revid: fp@tinyerp.com-20121115102223-i2jgjkgqf9pxez08
2012-11-15 11:22:23 +01:00