Skip to content
Snippets Groups Projects
  1. Oct 05, 2011
  2. Oct 04, 2011
    • Olivier Dony's avatar
      [REM] edi: moved edi to a separate addon · de6b69f6
      Olivier Dony authored
      bzr revid: odo@openerp.com-20111004205254-82krwzabg0wuf2ka
      de6b69f6
    • Olivier Dony's avatar
      [FIX] orm.export_data: 'module' column is required when creating external IDs · bfdbbb51
      Olivier Dony authored
      The 'module' field of ir.model.data is required, so we
      we need to set it when auto-generating ir.mode.data
      entries. This acts as the namespace of the record.
      Because we don't want exported records to look like they
      belong to an existing module (and risk being garbage
      collected at the next module update), we put these
      auto-generated names in a reserved '__export__' module
      namespace.
      
      bzr revid: odo@openerp.com-20111004205140-duaww77ng4qmktj2
      bfdbbb51
    • Olivier Dony's avatar
      [REM] orm: annoying INFO log lines · edf68f51
      Olivier Dony authored
      bzr revid: odo@openerp.com-20111004204800-f4470vy0ou3ugxnm
      edf68f51
    • Olivier Dony's avatar
      [IMP] orm: remember Model._original_module when constructing inheritance · 51b1201d
      Olivier Dony authored
      ORM Models already have a _module attribute that contains the
      name of the module that declared this class, however
      sometimes we also need the name of the module that
      declared this model the first time.
      This will be stored in _original_module and is the
      name of the module to which the first parent with 
      the same _name belongs to.
      
      bzr revid: odo@openerp.com-20111004204705-8z9o70n1ynpvng3i
      51b1201d
    • Nicolas Vanhoren's avatar
      [fix] just return a promise where necessary · 15a6b81d
      Nicolas Vanhoren authored
      bzr revid: nicolas.vanhoren@openerp.com-20111004161116-6pylm16ty6v69szu
      15a6b81d
    • Xavier Morel's avatar
      [IMP] use .children(selector) rather than .find('> ' + selector) · 318ec999
      Xavier Morel authored
      bzr revid: xmo@openerp.com-20111004155918-c2vy0rwkesvdkmli
      318ec999
    • Xavier Morel's avatar
      [FIX] stupidity: if insert a line in a list with more than 5 records (no... · 49de0f46
      Xavier Morel authored
      [FIX] stupidity: if insert a line in a list with more than 5 records (no padding), since the new line does not have a @data-id yet it's going to remove it immediately.
      
      select line to remove before inserting new one
      
      bzr revid: xmo@openerp.com-20111004155746-q13ieg0q6lsy1uf7
      49de0f46
    • Xavier Morel's avatar
      [FIX] correctly handle insertion in empty editable list · 74db7dd0
      Xavier Morel authored
      bzr revid: xmo@openerp.com-20111004154650-hx56g1lmefhzgf21
      74db7dd0
    • Xavier Morel's avatar
      [FIX] insertion position of new lines (in editable lists) in case of lists... · 72b852c2
      Xavier Morel authored
      [FIX] insertion position of new lines (in editable lists) in case of lists padded to 5 (empty) lines
      
      bzr revid: xmo@openerp.com-20111004154246-7o1cw016cf9ygem3
      72b852c2
    • Xavier Morel's avatar
      [FIX] correctly call form field's update_dom in all cases in editable listview · f164496d
      Xavier Morel authored
      Form fields are extended/replaced in editable list view in order to
      handle @invisible and @tree_invisible correctly in editable-list-form
      context (base semantics of @invisible are different between listview
      and formview, formview's @invisible is listview's @tree_invisible, and
      instead of removing element from visible DOM listview's @invisible
      only hides the element but it keeps the space it's taking).
      
      As a result, listview editable needs to override Widget.update_dom for
      pretty much all form widgets, in order to manage this difference in
      behavior.
      
      In case of @tree_invisible, it did so correctly setting and unsetting
      its stuff and calling this.super() to execute the widget's actual
      update_dom triggers **but it did not do so when the element was really
      visible**.
      
      As a result, in editable listview elements would never appear required
      (blue background), invalid (red background) or disabled (gray),
      although they were correctly set up, because the display layer was
      never updated.
      
      bzr revid: xmo@openerp.com-20111004151031-65o0q8e86op7kdks
      f164496d
Loading