Skip to content
Snippets Groups Projects
  1. May 24, 2016
  2. May 23, 2016
  3. May 22, 2016
  4. May 20, 2016
  5. May 19, 2016
  6. May 18, 2016
    • Quentin De Paoli's avatar
      [FIX] account: fixed error 'Nonetype has no attribute rounding' on some... · 8cdde840
      Quentin De Paoli authored
      [FIX] account: fixed error 'Nonetype has no attribute rounding' on some reconciliation involving secondary currencies but without being all the same
      8cdde840
    • vbh-odoo's avatar
      [FIX] website_gengo: fixed button click and translations · 8acfb0d7
      vbh-odoo authored
      - Fixed linking issue after click on 'Translate' button.
      - Controller added to post terms in gengo
      
      opw-648546
      8acfb0d7
    • Martin Trigaux's avatar
      [FIX] web_editor: serialise translations of html_translate fields · 216d328a
      Martin Trigaux authored
      The html_translate fields (e.g. website_descripton on product.product) were not
      serialised and the raw value from the web_editor was saved as a translation.
      
      This was an issue in case of special characters that may be present in the
      translation. A translation containing non-breaking space was sent in html
      (`foo bar`) while lxml converts such characters to unicode (`foo\xa0bar`).
      
      When writing a translation, the value is checked against incorrect format using
      ```
      value0 = field.translate(lambda term: None, record[fname])
      value1 = field.translate({trans.src: trans.value}.get, value0)
      value2 = field.translate({trans.value: trans.src}.get, value1)
      if value2 != value0:
          raise ValidationError(_("Translation is not valid:\n%s") % trans.value)
      ```
      
      As value1 is the unicode version of the translation and `trans.value` is the
      html version of the translation, the last substitution in the callback method
      was never made and the ValidationError was raised.
      
      This commit forces the serialisation through lxml to be sure the compared
      strings are using the same parser instead of comparing value from summernote and
      lxml that may be both valid but still different.
      
      opw-675767
      216d328a
    • Goffin Simon's avatar
      [FIX] mail: receiving a notification without notifying the parent message. · fac04424
      Goffin Simon authored
      Used case:
      
      If you add a user which has no acces on a model(ex:purchase.order)
      as follower on a record of this model. When someone responded by email on
      this record, and when a message is sent on this record, an exception is raised
      at the connection of the user added as a follower.
      
      Fix:
      
      To have the rights to read the message, a read notification for this follower must
      be added to all parents of this message.
      
      Closes #11902
      
      opw:676699
      fac04424
    • Richard Mathot's avatar
      [FIX] website_sale_delivery: reset carrier on cart update · 6c66365b
      Richard Mathot authored
      It makes no sense to recompute delivery costs at each update of the cart;
      furthermore, it prevents users that already selected a carrier to remove
      the last products of their carts
      
      This fix is additional to e4e1e571
      6c66365b
Loading