Skip to content
Snippets Groups Projects
  1. May 16, 2018
    • Xavier Dollé's avatar
      [FIX] mail: correctly filter needaction on unread notifications in message_format · 19fb6508
      Xavier Dollé authored
      Previously to this commit needaction used by JS was not taking into account
      read notifications. It means notably Inbox counter could be higher than
      expected as taking into account read messages while Inbox displays only
      unread messages. This commit fixes that by checking notification state when
      giving needaction_partner_ids to message_format result.
      
      This fix has a small impact on performances as message_format is used in
      notification process for chat or push. A better implementation of message
      format and its postprocess could probably lessen this fix impact. As we
      target stable version we avoid rewriting other part of the code. Optimization
      will be done in development version.
      
      Related to task ID 1841243. This is a manual backport of commit 69714fbe
      done in saas-11.2.
      19fb6508
    • Nicolas Martinelli's avatar
      [FIX] stock_account: partial reception with avg cost · 491243d1
      Nicolas Martinelli authored
      - Create a product where the associated product category has Costing
        Method "Average Cost (AVCO)"
      - Create a PO. Order 1 unit at $1000.
      - Receive that unit. (System now has 1 unit at $1000).
      - Create another PO. Order 3 units at $500 each.
      - Receive only 1 unit and don’t create any back order.
      
      System has 2 units @ $625, instead of $750.
      
      The quantity computed should take into account the quantity actually
      done.
      
      opw-1843998
      491243d1
    • Olivier Dony's avatar
      [FIX] auth_signup: remove password from welcome message · cdabb9d7
      Olivier Dony authored
      Revision 054c6868 added by mistake the
      password of the new user in the welcome message that is sent to users
      who signed up with an invitation token.
      
      There is no need for this, the user has just chosen their password, and
      we should not send them a copy which could be compromised on the way to
      their inbox or later in their inbox.
      It may also give users the impression that their passwords is stored in
      cleartext in the database, even when that is not the case.
      
      This patch minimalizes changes to the template and its translations.
      For existing databases where the code is updated without re-syncing the
      template, the password will simply be missing in the message (until a
      resync of auth_signup module is done)
      Unverified
      cdabb9d7
    • Jeremy Kersten's avatar
      [FIX] event: don't block scheduler at first exception · b8f5f17a
      Jeremy Kersten authored
      Before this commit, when a scheduler fail for one event (eg: error in send_mail),
      the cron stop and don't continue to process all others event's scheduler.
      
      Now we try to warn (~ randomly once by hour) the responsible/organizer/write_uid
      that an error occurs with this scheduler, and we continue to process the others.
      
      opw-1840497
      closes #24741
      b8f5f17a
    • Nicolas Martinelli's avatar
      [FIX] account: tax computation at reconciliation · 6fce298d
      Nicolas Martinelli authored
      - Create a tax included of 7.7%
      - Set the company rounding to 'Round Globally'
      - Create a bank statement of 10.70, reconcile
      - Add a manual line with the 7.7% tax
      
      An extra line of 0.01 remains.
      
      The remaining amount after subtracting the tax is `0.00499...`, which
      is rounded to `0.005` by `Math.round(total*1000)/1000`, and finally
      displayed as `0.01`.
      
      The 'Round Globally' setting makes sense for objects containing multiple
      lines, such as SO, PO or invoice. In the case of a reconciliation, we
      can switch to the 'Round per line' config.
      
      opw-1837986
      6fce298d
    • len-odoo's avatar
      [FIX] web: sort relational fields by their names · 25548eb7
      len-odoo authored
      When sorting records according to a many2one field in a list view
      embedded in a form view, the js would sort according to their ids,
      in a seemingly arbitrary order.
      Thus sorting records according to a field with values in ("a", "b", "c")
      could be sorted as "a", "a", "c", "b" instead of "a", "a", "b", "c".
      We make the comparison on the name of the field instead.
      
      opw 1838860
      25548eb7
  2. May 15, 2018
  3. May 14, 2018
Loading