Skip to content
Snippets Groups Projects
  1. Apr 29, 2020
  2. Apr 28, 2020
    • Nicolas Lempereur's avatar
      [FIX] web_editor: ol in ol no number skip · ec37d417
      Nicolas Lempereur authored
      
      In the case of an <ol> in an <ol> we would have something like:
      
      ```
      1.
         1.
         2.
      3.
      ```
      
      because the sublist itself in version of summernote.org we are using
      is a list item, so it takes one extraenous item.
      
      With this changeset we have something that makes more sense:
      
      ```
      1.
         1.
         2.
      2.
      ```
      
      Because there are tons of use case of different selection of list level
      and indent or outdent, this commit also simplify outdenting (eg. now we
      outdent all the element of the same level than the first indented).
      
      opw-2185406
      closes #48194
      
      closes odoo/odoo#50352
      
      X-original-commit: bbf4ad7d
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      ec37d417
  3. Apr 29, 2020
    • Ronald Portier's avatar
      [FIX] core: SSF should re-read from the record after saving · eae51e5f
      Ronald Portier authored
      
      Before this change, the SSF would read from the record after
      creation but wouldn't do so after a write.
      
      This doesn't conform to the behaviour of the web client (which does a
      read() after saving a form), and means the effect of field
      inverses (when the dependencies of a writable field are also in the
      form) or overrides to write wouldn't be visible afterwards.
      
      It's always possible to just re-create the form from scratch, but the
      intention has always been that the form would work correctly after a
      save.
      
      closes odoo/odoo#50363
      
      X-original-commit: 45398c09
      Signed-off-by: default avatarXavier Morel (xmo) <xmo@odoo.com>
      eae51e5f
    • Hardik Prajapati's avatar
      [FIX] web: pivot view nocontenthelp message · c2d5a4be
      Hardik Prajapati authored
      Since the commit https://github.com/odoo/odoo/commit/46cf65d68e9c13193dff4b563b9b0bbb2199dfc1
      
      
      when help is not defined in action then nocontenthelp is displayed as
      [object, object] due to the desciption passed from renderder of the
      pivot view.
      
      So in this commit while calling the NoContentHelper pass the
      descitption as string instead of jquery element.
      we can use the t-value in template but that string will create
      issue for transalation so pass the desctiption from the pivot render.
      
      closes odoo/odoo#50347
      
      Taskid: 2240167
      Closes: #49859
      X-original-commit: c7cc672aba669175280d619ad39b14daefd7733f
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      c2d5a4be
  4. Apr 28, 2020
  5. Apr 27, 2020
  6. Apr 28, 2020
  7. Apr 24, 2020
  8. Apr 28, 2020
  9. Apr 27, 2020
  10. Apr 22, 2020
    • Yannick Tivisse's avatar
      [IMP] various: Set a default random color on certain tags · 85b199b9
      Yannick Tivisse authored
      
      Purpose
      =======
      
      For a tag to be displayed on a kanban card, it needs to have a color set.
      We won't be changing that behaviour, since it would mean having
      two options > the color, and whether or not to show it in the kanban
      
      The purpose of this task is to set a color on new tags to make the user
      save a bit more time, set a color for him as he might not find the feature,
      and make sure the tag will be on the kanban cards.
      
      Specification
      =============
      
      For each of the following models, at creation, set a random integer between
      1 and 11 in field 'color'
      
      Models:
      res.partner.category
      crm.tag
      project.tags
      hr.applicant.category
      helpdesk.tag
      hr.employee.category
      event.track.tag
      mrp.eco.tag
      repair.tags
      
      closes odoo/odoo#49967
      
      Taskid: 2234527
      Related: odoo/enterprise#10112
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      85b199b9
  11. Apr 28, 2020
  12. Apr 27, 2020
Loading