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
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
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
* visibility: hidden on the cell itself hides the whole cell including
background and borders, looks terrible
* color: transparent is supported by all supported browsers (even IE
>= 9), and it avoids breaking the cell sizes (which the usual hack —
text-indent -9999px does)
* can probably just apply visibility:hidden to eveything below the
cell itself
bzr revid: xmo@openerp.com-20121018063703-scz1yl87b7nhgx94