Skip to content
Snippets Groups Projects
  1. Dec 04, 2017
    • Cédric Snauwaert's avatar
      [FIX] account: fix reconciliation that create double entries in some case · 3549688b
      Cédric Snauwaert authored
      commit 2f3b469d fixes a problem
      where open balance had to be added in the lines to create,
      however in the case where no line is selected, a new one is created automatically
      (for usability purpose) and the balance was not update correctly,
      resulting in the creation of a double entry.
      3549688b
    • Géry Debongnie's avatar
      [FIX] web_editor: make sure html editor does not ignore changes · e6146db8
      Géry Debongnie authored
      For some reason, Summernote does not trigger a change event in some
      cases.  It looks like it happens in 'codeview' mode, and when the change
      in question is only a backspace key event.  Maybe it listen for keypress
      and backspace do not trigger keypress event.
      
      In any cases, the situation is that it is not easy to clear an html
      field: going in edit mode, then selecting the content and pressing
      backspace will not work before this commit.
      
      With this commit, we specifically compare the value in the editor with
      the current value to determine if the field is dirty.
      e6146db8
    • Adrien Dieudonne's avatar
      [FIX] web: datepicker: notify all datetime changes · ab42507d
      Adrien Dieudonne authored
      Before this fix, there was an issue when you changed the value of
      a datetime field by editing direclty the input (without using the
      datepicker popup).
      If this value was equal to the offset of your timezone,
      the new value wasn't saved. The problem was that no event was
      triggered by the 'bootstrap-datetimepicker' lib because it
      considered that the old datetime and the new datatime were the
      same...
      
      In odoo JS, we always manipulate UTC moment objects and we
      manually add the timezone offset at rendering (we mainly do that
      for testing purposes). When the offset is added, calling format()
      on the moment object doesn't convert the datetime to the browser
      timezone because it's flagged as being UTC.
      
      The datepicker lib creates moment objects in the browser timezone.
      So comparing the ones it creates with the one given by Odoo is
      like comparing apples and oranges, and it gives wrong results
      when the datetimes differ by the exact timezone offset. So in this
      case, no 'datetime change' is triggered by the lib.
      
      We could fix this by wrapping moment objects into some kind of
      OdooDate class and stop manually adding the timezone offset, but
      this would involve a refactoring that can only be done in master.
      
      Instead, we prefered to patch the lib to ignore the comparison
      between UTC and non-UTC objects, as this is the safest way we
      find to fix this issue in stable version.
      ab42507d
    • Yannick Tivisse's avatar
      c423f9c2
    • Yannick Tivisse's avatar
      [FIX] l1On_be_hr_payroll: Compute correctly the brut2net if >20 holidays · 878d44cf
      Yannick Tivisse authored
      Purpose
      =======
      
      Currently the wage reduced by a superior amount of 20 holidays is not taken into account in the brut2net computation.
      
      Specifiation
      ============
      
      Take also the wage deduction into account
      878d44cf
    • Yannick Tivisse's avatar
    • Yannick Tivisse's avatar
    • Yannick Tivisse's avatar
  2. Dec 01, 2017
  3. Nov 30, 2017
  4. Nov 29, 2017
  5. Nov 28, 2017
Loading