~cedric-lebrouster/ocb-web/ocb-7.0-bug-1163912-calendar-view

  • Committer: trp-bzr-bot
  • Author(s): Martin Trigaux
  • Date: 2014-03-11 09:43:20 UTC
  • mfrom: (3745.2.411 trunk)
  • Revision ID: mat@openerp.com-20140311094320-80420x3r1czt46z0
[FIX] web: on SearchPopup creation concat build context even if we have initial_ids

  On SearchPopupCreation, if we have initial_ids - 1st search_read() will be
  missing custom context defined on the field.

  1. defined view like this: <field name='my_many2one_field_id' context="{'test': 1}"/>
  2. in we expand the list of available item, name_search() has 'test' in context
  3. in we click on 'Search More', search_read() is missing 'test' in context
  4. if we change filter add/remove item, search_read() will have 'test' in context

  Step 3. is wrong, should also have 'test' in context
Filename Latest Rev Last Changed Committer Comment Size
..
addons 1 13 years ago Antony Lesuisse openobject is dead long live to openerpweb --HG-- Diff
.bzrignore 3626.1.13 11 years ago Niko [REVERT] remove ignore 124 bytes Diff Download File
LICENSE 3204 11 years ago niv-openerp Put back readme and license 33.7 KB Diff Download File
README 3204 11 years ago niv-openerp Put back readme and license 200 bytes Diff Download File