Skip to content
Snippets Groups Projects
  1. Oct 03, 2016
  2. Oct 02, 2016
  3. Sep 30, 2016
    • Manuel Vázquez Acosta's avatar
      [FIX] mail: Ignore case for mail aliases. · 5b692df1
      Manuel Vázquez Acosta authored
      When receiving new mail (not replies) to an alias we should not take
      case into account.
      
      This also homogenize the treatment of local parts.  For instance, lines
      967 and 980 convert the local part to lower case to avoid
      case-sensitivity issues.
      
      Also `mail_alias` normalizes alias names by lowering case and finding,
      if necessary to make it unique, a suffix to alias name provided.
      
      From RFC 5321, section 2.4:
      
        > Exploiting the case sensitivity of mailbox local-parts impedes
        > interoperability and is discouraged
      
      Closes #334
      Closes #13037
      5b692df1
    • Nicolas Martinelli's avatar
      [FIX] account: analytic account in write-off · 1a0d173b
      Nicolas Martinelli authored
      The analytic account of the write-off move is not copied on the line
      when doing a reconciliation.
      
      opw-688635
      1a0d173b
    • Christophe Simonis's avatar
    • Christophe Simonis's avatar
      eb4f0309
    • Nicolas Lempereur's avatar
      [IMP] stock_account: stock_history slow read_group · c8ca71fc
      Nicolas Lempereur authored
      On a given instance with 600 000 stock.history, the query changed by
      this commit takes:
      
      - before this change => 32 minutes
      - after this change => 20 seconds
      
      opw-685747
      c8ca71fc
    • Thibault Delavallée's avatar
      [FIX] sale: fix context update wrongly migrated / updated at... · 00aab045
      Thibault Delavallée authored
      [FIX] sale: fix context update wrongly migrated / updated at 94716a3f
      
      Purpose of the code is to automatically add the recipients of quotation emails
      as followers. It is done using the mail_post_autofollow context key. However
      current code add the context key in all cases and not just when composing
      a message on sale order.
      00aab045
    • Nicolas Martinelli's avatar
      [FIX] website_sale: recompute fiscal position · b2b85fbb
      Nicolas Martinelli authored
      Following commit 6006c0d7, the shipping address can be changed after
      the call to `checkout_form_save`. This is the case, for example, when
      the user has the same shipping and invoicing address. We need to make
      sure to recompute the fiscal position after the shipping address is
      finally set.
      
      opw-689281
      b2b85fbb
    • Nicolas Martinelli's avatar
      [FIX] sale: always set fiscal position · 204c7593
      Nicolas Martinelli authored
      An issue occurs in the following case:
      - create a SO
      - set a partner for which a fiscal position applies
      - change the partner to a partner for which no fiscal position applies
      
      The fiscal position set in a first place remains. This is a major issue
      when interacting with the eCommerce, since a fiscal position can be
      first set based on the GeoIP results, then might need to be removed when
      the user fills in his address details.
      
      opw-689281
      204c7593
  4. Sep 29, 2016
  5. Sep 28, 2016
    • Nicolas Martinelli's avatar
      [FIX] google_drive: user_is_admin · b83efd4c
      Nicolas Martinelli authored
      Oversight of commit e80f1152 which causes a crash since the variable is
      not defined anymore.
      
      opw-689353
      b83efd4c
    • David Monjoie's avatar
      [FIX] event: fix registration confirmation delay · f82aeb05
      David Monjoie authored
      The previous line was O(n^2). With n=1200 like we just have now,
      things didn't look good for this loop and confirming an attendee
      registration to such event took approx. 13 seconds.
      
      Since the list comprehension is in no mean linked to the value
      of "item" in the filter, I simply moved it out so it is only
      computed once.
      f82aeb05
    • Jairo Llopis's avatar
      [FIX] tools: cherry-pick of 0529a7f9 · 295f6274
      Jairo Llopis authored
      extract terms in correct folder
      
      If two addons path have a common part in the folder name (e.g. `/home/alice/dev`
      and `/home/alice/devodoo`), the `get_module_from_path` method may match the
      wrong folder.
      A file `/home/alice/devodoo/bob/models.py` would wrongly match `/home/alice/dev`
      path (due to the lack of separator) and the returned module would be `odoo`
      (`"odoo/bob/models.py".split('/')[0]`).
      
      In such scenario, the translations of files (code, static folder, report) would
      not be included in the exported translation file.
      
      Force the module path to ends with a folder separator to avoid wrong matching.
      
      Closes #13363
      Unverified
      295f6274
    • Alexandre Fayolle's avatar
      [FIX] auth_ldap: fix authentication with special chars · 94f58d64
      Alexandre Fayolle authored
      encode the filter in utf-8
      
      This prevents a UnicodeDecode error in python-ldap when the
      filter contains non ascii characters.
      
      opw-682783
      closes #10899
      closes #12710
      94f58d64
    • Denis Ledoux's avatar
      [FIX] calendar: fix attendees list in invitation email · 9ba56987
      Denis Ledoux authored
      Upon the creation of an event,
      the list of attendees displayed in the invitation emails
      were not complete because the emails were sent as the attendees
      were being added to the event, in the loop.
      
      e.g.:
       - Create an event with Joseph and Michel
       - Joseph received the invitation email with only him as attendee
       - Michel received the invitaiton email with Joseph and him.
      
      The invitation email of Joseph now contains all the attendees.
      
      opw-681242
      9ba56987
    • Nicolas Martinelli's avatar
      [FIX] account: exchange rate date · 8469fe2e
      Nicolas Martinelli authored
      The fields `amount_total_company_signed` and `amount_untaxed_signed` are
      always converted using the exchange rate of today.
      
      opw-688838
      8469fe2e
  6. Sep 27, 2016
    • Olivier Dony's avatar
      Revert "[FIX] mail: onchange_template_id" · 40bce50d
      Olivier Dony authored
      This reverts commit dc02f773.
      
      This commit caused a side-effect that is worse than the issue
      it tried to fix, which was purely cosmetic.
      Now in mass-mail mode the template is only rendered once
      and all recipients receive the same PDF, which completely
      defeats the goal of a dynamic report. We have static
      attachments for that.
      
      Original fix related to opw-657152
      Reverts PR #10568
      Unverified
      40bce50d
    • qsm-odoo's avatar
      [FIX] website_blog: keep consistent cover classes when changing cover image · 1df161db
      qsm-odoo authored
      ! Note forward port: this is a partial backport, ignore when conflict
      
      For some strange reason, the cover_full class was added when the cover
      image was changed, without checking if the cover_narrow class was
      already there. The cover was then a hybrid cover_narrow cover_full.
      
      The problem was reinforced by the graphene theme which does some
      animation on cover_full covers.
      1df161db
    • qsm-odoo's avatar
      [FIX] website_sale: fix shop list view publish buttons · c952e1fc
      qsm-odoo authored
      Publish buttons appeared in list view item in /shop with commit
      5a5dd1e1.
      
      They however never worked for some reasons:
      * The publish buttons were unclickable as the around style was badly
      implemented: the section title was over the publish button
      * Even if it was clickable, the publish button handler had no prevent
      default, thus it submitted the form it is in -> crash when no cart
      button or added to cart on click on publish button if there was a cart
      button...
      
      Note: the style should be reviewed in next versions, this commit, as
      a 9.0 fix, fixes the style with the minimum code and so that it does
      not break any theme.
      c952e1fc
    • Denis Vermylen (dve)'s avatar
      [IMP] hr_holiday: remove leave onchange date check · 6490bdc2
      Denis Vermylen (dve) authored
      When you create a leave, you first set the start date. The date widget triggers
      and automatically sets you at today, which triggers the onchange and puts the
      end date at today + 8 hours. You then set your start date in the future
      -> invalid dates because start date > end date.
      
      This commit removes the onchange verification of the dates, because almost
      everyone gets the above problem and because it is redundant with the sql
      constraint that triggers anyway when you try to save with invalid dates.
      6490bdc2
    • tdi-odoo's avatar
      ccd6fc62
    • Michael Brown's avatar
      [CLA] Michael Brown · 1bb162c9
      Michael Brown authored
      
      Signed-off-by: default avatarMichael Brown <mbrown@fensystems.co.uk>
      
      Closes #13070
      Unverified
      1bb162c9
    • Fabrice Henrion's avatar
      [IMP] policy clarification · 6fb7680e
      Fabrice Henrion authored
      6fb7680e
  7. Sep 26, 2016
Loading