Commit Graph
61048 Commits
Author SHA1 Message Date
Thibault Delavallée fbb80f4ba6 [REVIEW] mail: some code cleanup before merging.
mail.message: fixed to_read condition
mail.message: cleaned message_read code
mail.thread: fixed mega security hole, giving superuser rights when creating objects in mail.thread

bzr revid: tde@openerp.com-20121019095919-xa95j10f22va6djm
2012-10-19 11:59:19 +02:00
Thibault Delavallée 4ab127557d [REV] mail_followers: this.view.dataset.ids[0] back to its old this.view.datarecord.id form.
bzr revid: tde@openerp.com-20121019095626-7j3xpjebay33nyij
2012-10-19 11:56:26 +02:00
Thibault Delavallée 347be7b72c [FIX] mail_message: fixed message_read adding too much expandables, due to bad code indentation.
bzr revid: tde@openerp.com-20121019091329-5jnht3of77zqukl0
2012-10-19 11:13:29 +02:00
Thibault Delavallée 0b4a35d62e [FIX] mail_followers widget: fixed bug trying to get current record id, now using datarecord.id.
bzr revid: tde@openerp.com-20121019083612-9oklso9sht5qj5tq
2012-10-19 10:36:12 +02:00
Thibault Delavallée e47d26a9e4 [IMP] [TMP] mail: tests: added some tests and debug when facing the now famous random runbot-dev bug, that is now not only trigerred on runbot-dev.
bzr revid: tde@openerp.com-20121019081736-rpsqvve1bjhl5ymg
2012-10-19 10:17:36 +02:00
Thibault Delavallée d3b2aff657 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20121019074855-q13yu3kz0jqmr2hi
2012-10-19 09:48:55 +02:00
Christophe Matthieu 57263d65d6 [FIX] mail: remove message_loaded on call message_post_api
bzr revid: chm@openerp.com-20121019073610-nfbgn83kixxm1x64
2012-10-19 09:36:10 +02:00
Christophe Matthieu df2d88a5ab [FIX] mail: message_post_api call and new_message_id value
bzr revid: chm@openerp.com-20121019073338-brb0g1qivvs9pyry
2012-10-19 09:33:38 +02:00
Launchpad Translations on behalf of openerp 5bfa3c5a7d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121019053933-51d6oob5aw0ujz40
2012-10-19 05:39:33 +00:00
Antony Lesuisse 4755454c2a [FIX] remove console.log
bzr revid: al@openerp.com-20121018203118-ufstntp8wshs3fjj
2012-10-18 22:31:18 +02:00
Thibault Delavallée a6a47fc949 [CLEAN] TopButton: removed unnecessary options in context.
bzr revid: tde@openerp.com-20121018164533-8np5jqw8d3gv1kf1
2012-10-18 18:45:33 +02:00
Antony Lesuisse 75735ea1c5 [DIE] callbackenabled
bzr revid: al@openerp.com-20121018155837-lr90ldzrnwd06ueu
2012-10-18 17:58:37 +02:00
Antony Lesuisse c4104503d6 [DIE] callbackenable
bzr revid: al@openerp.com-20121018155755-ldtrek7v33gz93po
2012-10-18 17:57:55 +02:00
Fabien Meghazi 6e04399945 [FIX] m2o#focus() does nothing when readonly
bzr revid: fme@openerp.com-20121018154755-a9hurjb0664l03x2
2012-10-18 17:47:55 +02:00
Thibault Delavallée b2e7caca7d [ADD] mail: added forgottent mail_favorite_view.xml file.
bzr revid: tde@openerp.com-20121018153334-g7fv8mv3a8utrx76
2012-10-18 17:33:34 +02:00
Thibault Delavallée 8716ea43b7 [FIX] Favorite menu: fixed domain, forgottent to update star into favorite.
bzr revid: tde@openerp.com-20121018153139-nw5jpnrju5taid3r
2012-10-18 17:31:39 +02:00
Thibault Delavallée 91f4e942db [IMP] mail: star is renamed as favorite (propagated changes through module); added views for this model in technical feature, under emails. Cleaned message_read and message_read_get_expandable because the code was quite obfuscated.
bzr revid: tde@openerp.com-20121018152322-cakaas3a77h1pi7m
2012-10-18 17:23:22 +02:00
Xavier Morel b5be361c55 [FIX] various listview issues
bzr revid: xmo@openerp.com-20121018150108-althdcxk3jc2bkun
2012-10-18 17:01:08 +02:00
Xavier Morel 4223b1e786 [IMP] add overridable dimension-setting method on form fields
bzr revid: xmo@openerp.com-20121018145712-am4y6bdnz2x14i2c
2012-10-18 16:57:12 +02:00
Fabien Meghazi adb172b7cb [IMP] Binary fields, use html5 api if available
bzr revid: fme@openerp.com-20121018143730-2qoalz6uye5ggbn5
2012-10-18 16:37:30 +02:00
Olivier Dony 5b166040b1 [MERGE] expression: negative operators (e.g. NOT IN) where not working on o2m fields - tests added
bzr revid: odo@openerp.com-20121018142136-sptithprvul2v7cc
2012-10-18 16:21:36 +02:00
niv-openerp 77415e7f77 [IMP] Finally allow to call set() with 2 arguments.
bzr revid: nicolas.vanhoren@openerp.com-20121018141607-jpow2bu1dlvdriyd
2012-10-18 16:16:07 +02:00
Xavier Morel 6782c33a32 [FIX] only reload m2m listview once after adding n records to it (via dialog)
The listview does not support concurrent reload requests, either wait
for the previous reload to finish before sending the new one, or just
send a single reload.

For m2m, can wait and do a single reload so do that.

bzr revid: xmo@openerp.com-20121018134123-ox2ccq0wm3r5jwas
2012-10-18 15:41:23 +02:00
Thibault Delavallée 93b545357d [FIX] mail_message: fixed various bigs introduced when merging trunk.
bzr revid: tde@openerp.com-20121018131850-t4d4o38jyma8uaa1
2012-10-18 15:18:50 +02:00
vta vta@openerp.com d5e8e627cb [MERGE] trunk-trigger-on_write.
bzr revid: vta@openerp.com-20121018130845-igtqi323qd0g120f
2012-10-18 15:08:45 +02:00
vta vta@openerp.com baf6526de5 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121018130820-c95a4bsxsjq0vzxw
2012-10-18 15:08:20 +02:00
Thibault Delavallée 7c142d5a5c [MERGE] Merged with addons/trunk, re-done to get last fixes from trunk.
bzr revid: tde@openerp.com-20121018130049-d2cisvw7g503chvs
bzr revid: tde@openerp.com-20121018130601-nj99fd1a5ok7r952
2012-10-18 15:06:01 +02:00
vta vta@openerp.com 896c92f710 [MERGE] Merge trunk-trigger-on_search.
bzr revid: vta@openerp.com-20121018125946-tl881noca2ys20we
2012-10-18 14:59:46 +02:00
vta vta@openerp.com 94cc99925c [MERGE] Merge trunk-trigger-on_search.
bzr revid: vta@openerp.com-20121018125745-23he1va0dpj5jrfk
2012-10-18 14:57:45 +02:00
Olivier Dony 00dc401ef1 [FIX] l10n_us typo: agricultar->agriculture (also fixed in XML ids, should not break anything on existing DBs)
bzr revid: odo@openerp.com-20121018125738-wf3utqfhzgexs191
2012-10-18 14:57:38 +02:00
Olivier Dony 361c0acd2a [FIX] expression: negative operators (e.g. NOT IN) where not working on o2m fields - tests added
bzr revid: odo@openerp.com-20121018124750-bkea51a7zkvwwygi
2012-10-18 14:47:50 +02:00
vta vta@openerp.com 59aaa765a6 [FIX] Fixed event name.
bzr revid: vta@openerp.com-20121018124607-rifo06nfx7jo134e
2012-10-18 14:46:07 +02:00
vta vta@openerp.com 295e7eef25 [FIX] Fixed name in event.
bzr revid: vta@openerp.com-20121018124548-qfan5n9tl31cn3ng
2012-10-18 14:45:48 +02:00
vta vta@openerp.com bbeded93e9 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121015092449-mlnm756plrcqq0ar
bzr revid: vta@openerp.com-20121018124116-vh6a6dopf93lfjt5
2012-10-18 14:41:16 +02:00
Xavier Morel f910bc6780 [FIX] don't trigger search twice when a facet is removed from the query due to its values becoming empty
The facet removal from its last value being removed
(`this.remove(facet)` in the 'change' handler of the SearchQuery)
broadcasted its `remove` event, triggering the `do_search` (and
repaint) hook of the SearchView a second time right after the
`change`-triggered search.

Not only is this unnecessary and duplicated work (the `remove` is a
sync operation, so searchview-attached events haven't yet executed by
the time `remove` is called), the listview really doesn't like getting
a ``search`` signal while it's already executing a search.

So fix that.

bzr revid: xmo@openerp.com-20121018124005-6vfi7tqasz32ai8v
2012-10-18 14:40:05 +02:00
niv-openerp 1199780ed4 [FIX] problem in mail_followers.js
bzr revid: nicolas.vanhoren@openerp.com-20121018123827-lu6ku0zb9pfddsjc
2012-10-18 14:38:27 +02:00
Xavier Morel 8b2a07eb55 [REM] dead code
bzr revid: xmo@openerp.com-20121018123403-k97t9x0hiie56f2n
2012-10-18 14:34:03 +02:00
vta vta@openerp.com 98431bccd9 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121018122324-hf4y784k49s0vsye
2012-10-18 14:23:24 +02:00
vta vta@openerp.com 1ccd8db987 [FIX] Fixed on_loaded in ViewEditor.
bzr revid: vta@openerp.com-20121018121947-xx2334wkt2tr6qcq
2012-10-18 14:19:47 +02:00
vta vta@openerp.com 70f41ea726 [MERGE] trunk-trigger-on_loaded.
bzr revid: vta@openerp.com-20121018121022-h7y6qccvky7qg45d
2012-10-18 14:10:22 +02:00
vta vta@openerp.com fb52618556 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121018120920-dvr8wp8tyhngy601
2012-10-18 14:09:20 +02:00
vta vta@openerp.com ae8efbed06 [FIX] Fixed on_loaded in editable list.
bzr revid: vta@openerp.com-20121018115451-vx4i66o75kld3io9
2012-10-18 13:54:51 +02:00
vta vta@openerp.com 1e70837161 [FIX] Fixed on_loaded in all different views.
bzr revid: vta@openerp.com-20121018114950-svqy0gje04vw2ysc
2012-10-18 13:49:50 +02:00
Thibault Delavallée b53d63d69e [MERGE] Merged OpenChatter part 5.1: Mailbox Gangnam Style, A Reborn Bourriquet
Fixes and improvements :
- posting on the Wall now post on res.users with correct uid
- posting on res.users redirect on the related partner, when using message_post_api
- default subtype is False, not comment, otherwise you will be spammed with all logs produced by internal notifications
- removed the 'is_private' field; a private message is a message without model and res_id
- (un)read on mail.message is now to_read, based on the notification; when setting as (un)read messages for which you do not have a notification (i.e. parents added for threading), notifications are automatically created and set as (un)read; web client does not have to care about having notifications, juste set (un)read
- email_template: templates added in menu actions now correctly use the template by adding the default_use_template key in context
- mail_followers widget: fixed the behavior; fixed subtypes displayed only when following the document; improved the generic display when not being able to read on res.partner; overall code cleaning in subtypes
- various small fixes
Access rules/rights :
- message_read and its child methods now use read instead of browse, because of access issues due to the prefetching and ids cache
- various fixes related to access rights
Tests :
- updated and cleaned the needaction tests
- access rights tests are uncommented; it seems weird to comment tests that crash instead of trying to resolve the crash, but, well, they are back
Cleaning :
- mail.compose.message: removed Chatter form view
- various cleaning in mail

bzr revid: tde@openerp.com-20121018102601-bwtcd897wmr3fwg0
2012-10-18 12:26:01 +02:00
Fabien Meghazi 37f95838f2 [FIX] Race condition bug inserted in Revision: 3245 revid:fme@openerp.com-20121016122951-hwm80wzmhnm8tlj5
bzr revid: fme@openerp.com-20121018100850-50fmnenx64f82151
2012-10-18 12:08:50 +02:00
niv-openerp a077619c90 [FIX] memory leak in event dispatcher
bzr revid: nicolas.vanhoren@openerp.com-20121018095132-3ew3rbkjfwzgp5r1
2012-10-18 11:51:32 +02:00
Thibault Delavallée 63c85c4b64 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20121018094809-jy11zk745jcya5uv
2012-10-18 11:48:09 +02:00
Thibault Delavallée 7ad3a42491 [FIX] mail: test: fixed a warning due to a bad-named field.
bzr revid: tde@openerp.com-20121018094734-tqfrmg0jb2t2a1k2
2012-10-18 11:47:34 +02:00
Fabien Meghazi 508c11d4a4 [FIX] Fixed css class in kanban ungrouped mode
bzr revid: fme@openerp.com-20121018094501-nnee3rpppyodf9ky
2012-10-18 11:45:01 +02:00
Thibault Delavallée 1737a3161b [REVIEW] Cleaning before merging.
bzr revid: tde@openerp.com-20121018093453-trijh79z0j7oha6f
2012-10-18 11:34:53 +02:00