Skip to content
Snippets Groups Projects
  1. Oct 12, 2016
    • Nicolas Lempereur's avatar
      [FIX] purchase_requisition: typo in groups name · 3cd80916
      Nicolas Lempereur authored
      The field in stock configuration group_stock_adv_location is toggling
      the group "stock.group_adv_location". There was a typo which was using
      on the form view of purchase.requisition the group
      "stock.group_stock_adv_location" instead.
      
      opw-690804
      3cd80916
  2. Oct 11, 2016
  3. Oct 10, 2016
    • Christophe Simonis's avatar
      67d285b9
    • Nicolas Martinelli's avatar
      [FIX] account: check exchange rate · a1d6c2d6
      Nicolas Martinelli authored
      An issue occurs in the following situation:
      - Define a currency exchange rate at day 1 and day 2
      - Create an invoice at day 1, and calculate the taxes. Do not set an
        invoice date!
      - Validate the invoice at day 2
      
      The exchange rate for taxes is the rate at day 1, while the exchange
      rate for other amounts is the rate at day 2.
      
      There is actually no way to know what was the rate applied for the
      taxes at invoice validation. There are two solutions:
      - recompute the taxes at validation
      - force the user to set an invoice date and recompute manually the
        taxes
      
      The first solution might have unexpected effects, therefore the second
      solution is applied.
      
      Fixes #13473
      opw-688517
      a1d6c2d6
  4. Oct 09, 2016
  5. Oct 06, 2016
    • Denis Ledoux's avatar
      [FIX] purchase_double_validation: from waiting approval to cancel · 964f42fb
      Denis Ledoux authored
      It wasn't possible to cancel a purchase order
      within the state "Waiting for Approval", despite
      the fact the button cancel is displayed.
      
      Clicking on the cancel button just did nothing.
      
      This is now properly working, thanks to the additional
      path added by this revision, between the workflow states
      `CheckForApproval` and `cancel`.
      
      opw-688685
      964f42fb
  6. Oct 03, 2016
  7. Oct 02, 2016
  8. 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
    • Christophe Simonis's avatar
      eb4f0309
  9. Sep 28, 2016
    • 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
      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
  10. Sep 26, 2016
  11. Sep 25, 2016
  12. Sep 22, 2016
  13. Sep 21, 2016
    • Jeremy Kersten's avatar
      [FIX] web_graph: force row title to be string · 8b41933a
      Jeremy Kersten authored
      If the title was 'true' or 'false', the export failed, because we are tying to
      concat bool and str. TypeError: cannot concatenate 'str' and 'bool' objects
      
      How to reproduce, install sale, be sure to have one order with delivered = True
      In Reporting / Sale analysis, add a group by 'shipped' filed to have 'true' as
      title.
      
      This commit closes issue odoo/odoo#13425
      8b41933a
  14. Sep 18, 2016
  15. Sep 15, 2016
  16. Sep 14, 2016
    • Nicolas Lempereur's avatar
      [FIX] web: keep m2m value in list view · 1da79b87
      Nicolas Lempereur authored
      Currently, when rendering a list view cell with a many2many we would
      empty the list of ids, and fill it again once a name_get is resolved.
      
      But in some instance, the code could use the data when it has been
      emptied out.
      
      For example, if we set the tax_id field (inside the order_line list view
      inside the sale.order form view) as requred, if we modify the order line
      and save directly (without clicking outside of the list view) we can get
      an incorrect error saying that the "Order Line" is not valid.
      
      It has been reproduced when saving with CTRL + SHIFT + S on google
      chrome and firefox, and there have been reports that for some
      configuration it also happen when clicking on the "Save" button.
      
      This commit change the behaviour so the value is kept whilst the name_get
      is ongoing, and just use a default "false" value for the name during this
      interval.
      
      closes #13478
      opw-668067
      1da79b87
    • Christophe Simonis's avatar
      a5dfe2f0
  17. Sep 12, 2016
    • Damien Bouvy's avatar
      [FIX] payment_paypal: accept GET requests for Paypal DPN · 3e4206b4
      Damien Bouvy authored
      Although we have been reluctant to perform this change, a specific
      use case can cause customers to be redirect to the Odoo DPN url
      with a GET request.
      
      This happens when a Paypal Merchant account has the feature Guest
      Checkout active; in that case, a customer can pay without having
      a Paypal account (using only his credit card) and will *not* be
      subjected to auto-return; as detailed here:
      https://www.sandbox.paypal.com/be/cgi-bin/webscr?cmd=p/pop/help-account-optional
      Request coming from that payment flow will always trigger a GET
      request, causing the customer to be welcomed by a
      405 - Method Not allowed
      error on the Odoo server. The payment is normally correctly processed
      through IPN, so this does not normally causes loss of data; however
      this is not a nice way to welcome back your customer right after
      they pay you.
      3e4206b4
  18. Sep 11, 2016
  19. Sep 09, 2016
Loading