Skip to content
Snippets Groups Projects
  1. Jul 10, 2015
  2. Jul 09, 2015
    • David Beal's avatar
      [FIX] res.currency: allow duplication · d780f947
      David Beal authored
      Currencies must be unique per company.
      Therefore, without this revision, adding `(Copy)`
      to the currency name on duplication, this
      is simply not possible to duplicate a currency.
      
      Closes #2443
      d780f947
    • Sandy Carter's avatar
      [FIX] auth_oauth_signup: Factor out user signup values · 1d018722
      Sandy Carter authored
      There is no easy way to edit the values sent
      to newly generated users from oauth_signup.
      
      In some cases,
      the mapping from an oauth provider can be different.
      * ex: login is something other than email
      
      In other cases,
      there are additional fields in res_users added by a module
      * ex: firstname and last name in `partner_firstname`
      
      This factorization allows modules inheriting from `auth_oauth_signup`
      to alter values sent to the copy of Template User.
      This means smaller changes to the default behaviour
      and the ability to properly inherit
      (multiple times if needed)
      this module without losing needed behaviour.
      
      Closes #2355
      1d018722
    • Lorenzo Battistini's avatar
      [FIX] calendar: missing ondelete cascade · f27acff1
      Lorenzo Battistini authored
      calendar.attendee record should not exist without calendar.event
      f27acff1
    • Jose J. Duran's avatar
      [FIX] account_asset: missing named arguments in signature · 23cb6ef7
      Jose J. Duran authored
      Otherwise the context of original method is lost.
      23cb6ef7
    • Denis Ledoux's avatar
      [FIX] sale, website_sale: Send email on sale order confirmation · 4adb4b8d
      Denis Ledoux authored
      Not just when coming back from the payment provider to the
      payment validation route `/shop/payment/validate`.
      
      Otherwise, if you do not come back from the payment provider
      page, that you quit just after having paid but just before
      being redirected to Odoo, you do not receive the email.
      
      The change within the `sale` module, while this issue concerns
      `website_sale` only, has been accepted because this is a mechanism
      that could be used by other modules.
      
      opw-644348
      4adb4b8d
    • Goffin Simon's avatar
      [FIX] sale: confirmed sale order line · 85a06f8a
      Goffin Simon authored
      The filter "Confirmed" is applied on sale order line.
      Introduced by b927f8a8
      85a06f8a
    • Goffin Simon's avatar
      [FIX] purchase: Invoicing on incoming shipments · dacf2942
      Goffin Simon authored
      The filter "Incoming Shipments to Invoice" must not include shipments that are
      already invoiced.
      
      opw:644407
      dacf2942
    • Goffin Simon's avatar
      [FIX] acount: aged partner balance · 2835381c
      Goffin Simon authored
      In the aged balance report, the reconcile entries are excluded
      except if the reconciliation date is greater than the date for which the aged balance report is requested.
      But this exception should never include opening entries.
      
      opw:643172
      2835381c
    • Denis Ledoux's avatar
      [FIX] payment_ogone: amount rounding issue · 7c2521a7
      Denis Ledoux authored
      The amount to pay must be sent without comma to ogone.
      e.g., for 66.99 EUR, the amount sent must be 6699.
      
      To do that, we simply applied 66.99 * 100, which
      seems rather good.
      
      However, due to the fact how floats are handled in computers,
      `66.99 * 100` returns 6698.999999999999
      and
      `int(6698.999999999999)` returns 6698
      while we expected 6699
      
      Using `float_repr` with `0` as decimal precision
      instead of using `int` solves this issue.
      `float_repr(6698.999999999999, 0)` returns 6699, as expected.
      7c2521a7
    • Nicolas Martinelli's avatar
      [FIX] openerp: export None instead of False in raw_data mode · f3e4d0a2
      Nicolas Martinelli authored
      If we export False or an empty string, the Excel export will consider the field
      similarly to a boolean, and en empty value will be converted into "=False()" in
      Excel. To prevent this, we return "None" in the following cases:
      
      - String
      - Date
      - Datetime
      - Selection
      - Reference
      - Many2one
      - RelationalMulti
      
      Introduced by 6243d188
      
      opw-643966
      f3e4d0a2
    • Lionel Sausin's avatar
      [FIX] stock_account: use all inbound/outbound moves when valuating · 4be4678d
      Lionel Sausin authored
      The valuation wizard is based on stock moves and currently only takes into
      account the moves which have different companies in source vs destination
      locations.
      This is a problem because all user-created locations have a default company set
      to the user's company, even the "virtual" ones. For example in the demo dataset
      visible on runbot, some supplier locations have a company set and some don't.
      So we have to make sure to include every move coming from/going to
      outside locations based on the locations's type too.
      
      Closes #7530
      4be4678d
    • Xavier Morel's avatar
      [IMP] doc: handling of toc outside master_doc · f94a667e
      Xavier Morel authored
      * remove local toc sidebar in non-index documents with a toctree
      * change toctree rendering to only have links on leaf nodes (don't link
        to intermediate toctree'd documents)
      f94a667e
    • Nicolas Martinelli's avatar
      [FIX] mrp: merge lines where products to consume are identical · a4ef73fb
      Nicolas Martinelli authored
      Method action_produce does not support the case where the same product appears
      on multiple lines. We do this to avoid major changes in a stable version.
      
      opw-644093
      a4ef73fb
    • Denis Ledoux's avatar
      [FIX] survery: access rights for invitations · 812318dc
      Denis Ledoux authored
      When building a new suvery, and sending invitation
      trough private emails, it wasn't possible
      to fill the survey from the link sent
      if you were not logged as the user who sent
      the invitation, or as a survey manager
      
      opw-644210
      Fixes #7486
      812318dc
    • Lionel Sausin's avatar
      [FIX] stock_account: missing default filter for valuation menu · 5fcad550
      Lionel Sausin authored
      The menu entry in Warehouse > Current Inventory Valuation is a shortcut to the
      same results as the wizard in Reports > Warehouse > Valuation. However when
      using the "current valuation" menu entry, the list is given without grouping by
      product and location, so it's basically just a glorified list of stock moves
      that no Warehouse manager is going to understand.
      
      Let's just add the same default grouping to let the results make sense.
      
      Closes #7531
      5fcad550
    • Martin Trigaux's avatar
      Revert "[I18N] purchase: remove untranslatable term from .pot" · 45748bab
      Martin Trigaux authored
      This reverts commit 905dd88c.
      This fields contains the attachment name which do make sense to be translated
      ("PO" stands for "Purchase Order").
      45748bab
    • Goffin Simon's avatar
      [FIX] stock: _get_domain_locations function · c33f79ae
      Goffin Simon authored
      To adopt the same behavior than location with warehouse in function _get_domain_locations.
      
      opw:644219
      c33f79ae
  3. Jul 08, 2015
Loading