Skip to content
Snippets Groups Projects
  1. Jun 10, 2016
  2. Jun 09, 2016
    • Denis Ledoux's avatar
      [FIX] project: project duplicate message followers · d6e93d06
      Denis Ledoux authored
      This is related to revision
      c8aac116
      
      `message_follower_ids` is a one2many field
      on the thread. To copy them, you must
      create new `mail.followers` records, and not
      linking the followers of the project
      being duplicated to the duplicated project.
      d6e93d06
    • Denis Ledoux's avatar
      [FIX] report, account: invoice reset to draft attachments · 291561a1
      Denis Ledoux authored
      When cancelling and resetting to draft an invoice,
      delete only the invoice report attachment from the
      attachment, not all of them.
      
      The reason why the report is removed from the
      attachments on the invoice resetted to draft
      is explained in
      db0def38
      
      opw-680295
      291561a1
    • Denis Ledoux's avatar
      [FIX] project: duplicate project must copy followers · c8aac116
      Denis Ledoux authored
      Since duplicating a project copies the project
      tasks, with the followers, the project followers must
      remain as well.
      
      This is done in the already overriden method
      `copy` instead of simply adding `copy=True`
      on the according one2many field, since this field
      is defined on the inherited model
      `mail.thread`, and to add `copy=True`, in the old api,
      we would have to re-define the `message_follower_ids`
      field within the `project.project`
      model completely, making sure to copy all properties
      
      opw-680313
      c8aac116
    • Nicolas Martinelli's avatar
      [FIX] base_import: file type on Windows · 8049d1e8
      Nicolas Martinelli authored
      When a user imports a CSV file on Windows, the "CSV Format Options…"
      field does not appear. This is an issue since it might be necessary to
      tune these options depending on the file, e.g. change the encoding.
      
      For some unknown reason, on Windows, the file type is empty whatever the
      browser used. Therefore, we fall back on the extension of the file.
      
      opw-680347
      8049d1e8
    • Goffin Simon's avatar
      [FIX] delivery, stock: carrier_id field in incoming stock picking · a46f3616
      Goffin Simon authored
      The field "carrier_id" must be hidden for the incoming stock picking.
      
      In stock picking view form,
      for an incoming stock picking, the Destination Location Zone must be hidden
      for an outgoing stock picking, the Source Location Zone must be hidden
      Introduced by 2cb3a90c
      
      opw:676411
      a46f3616
    • Jeremy Kersten's avatar
      [FIX] mail: display date and datetime in tracking value with the right timzeone. · 6f223edf
      Jeremy Kersten authored
      When tracking value is converted to be rendered as a message_post, we convert
      the date/datetime with the current local from momentjs.
      
      Related to #12327
      
      Courtesy of @aab-odoo for help and review.
      6f223edf
    • Quentin De Paoli's avatar
    • Nicolas Martinelli's avatar
      [FIX] account: duplicate journal entry · af2c69f0
      Nicolas Martinelli authored
      When a journal entry includes taxes, it is impossible to duplicate it
      because of an unbalanced entry error.
      Indeed, by default the taxes are computed at the creation of the account
      move lines, leading to the creation of a new tax line, therefore
      unbalancing the account move.
      
      Fixes #11919
      opw-676788
      af2c69f0
  3. Jun 08, 2016
  4. Jun 07, 2016
  5. Jun 06, 2016
    • Denis Ledoux's avatar
      [FIX] purchase: exclude cancelled invoice for billed qty · 1d1debf6
      Denis Ledoux authored
      The billed quantity field on the purchase order line
      must exclude the cancelled invoice, as a cancelled invoice
      is not considered as invoiced.
      
      `draft` could be considered as well, but we do not
      take the chance now, as this field is used
      when creating a new invoice, to determine the
      quantity to invoice. Therefore, if there are
      draft invoices with some quantities invoiced,
      it can make sense to reduce the quantity
      in this new invoice. Nevertheless, it must not be the case
      for cancelled invoices.
      
      opw-679363
      1d1debf6
    • Denis Ledoux's avatar
      [FIX] account: Invoices & Refunds filters together · fc8d96d2
      Denis Ledoux authored
      When both selected, these filters are expected
      to display Invoices - OR - Refunds.
      
      It was not the case, because the web client
      expects to receive the domains normalized
      when concatenating domains together with a
      `|` statement.
      
      Selecting both filters resulted in the below domain:
      
      ```
      [
          '|',
          ('state','in',['open','paid']),
          ('type','in',('out_invoice','in_invoice'))`,
          ('state','in',['open','paid']),
          ('type','in',('out_refund','in_refund')),
      ]
      ```
      Instead of
      ```
      [
          '|',
          '&', ('state','in',['open','paid']), ('type','in',('out_invoice','in_invoice'))`,
          '&', ('state','in',['open','paid']), ('type','in',('out_refund','in_refund')),
      ]
      ```
      
      opw-679246
      fc8d96d2
Loading