Skip to content
Snippets Groups Projects
  1. May 07, 2021
  2. May 06, 2021
  3. May 04, 2021
  4. Apr 26, 2021
  5. Apr 12, 2021
  6. Apr 11, 2021
  7. Apr 07, 2021
  8. Apr 08, 2021
  9. Mar 19, 2021
  10. Apr 02, 2021
  11. Mar 30, 2021
  12. Mar 19, 2021
  13. Mar 30, 2021
  14. Mar 23, 2021
  15. Mar 24, 2021
  16. Mar 23, 2021
  17. Mar 22, 2021
  18. Mar 17, 2021
  19. Mar 18, 2021
    • Veronika Kotovich's avatar
      [FIX] mail: prepare mail header References to avoid line breaks · 402009b6
      Veronika Kotovich authored
      When Odoo routes incoming emails it is looking for existing messages in
      database using Message Ids which are coming from e-mail header
      References.
      
      In Odoo the message id looks pretty long like
      
          743570479975566.1584086032.522504091262817-openerp-message-notify@ip-172-31-45-160
      
      As it declared in [RFC2822] long header bodies can be "folded" using
      CRLF+WSP. And some mail clients do that very thing. They split
      References header body which contains Message Ids by "\n ".  The example
      of mail client where it can be reproduced is apps.rackspace.com We
      created Sales Order in Odoo, sent this quotation to the client email. He
      replied with e-mail, and this email can't be matched with any existing
      message id and as result it's not attached to the Sales Order.
      
      RFC2882: https://tools.ietf.org/html/rfc2822#section-2.2.3
      
      
      
      closes odoo/odoo#68069
      
      X-original-commit: 559f6cf6
      Signed-off-by: default avatarJulien Castiaux <Julien00859@users.noreply.github.com>
      402009b6
  20. Mar 08, 2021
    • Aaron Bohy's avatar
      [FIX] web: FieldMany2Many: link/unlink options · 6aaa1c07
      Aaron Bohy authored
      Commit [1] altered the way the FieldMany2Many behaves with respect
      to 'create' and 'delete' options. Indeed, for many2many fields,
      adding or removing records doesn't mean "creating" or "deleting"
      records, as it is only about adding/removing records to/from a
      relation. This is completely fine and correct.
      
      Unfortunately, a feature has been lost in the process: it is no
      longer possible to state that a many2many field should be editable
      but should not allow to add (or remove) record to the relation.
      
      This commit fixes the issue by adding two new options: 'link' and
      'unlink' for that purpose.
      
      [1] https://github.com/odoo/odoo/commit/c98579d25af01c14df4baf57fb4652f3e7469096
      
      
      
      opw~2466213
      
      closes odoo/odoo#67358
      
      Signed-off-by: default avatarLucas Perais (lpe) <lpe@odoo.com>
      6aaa1c07
  21. Mar 05, 2021
    • Aaron Bohy's avatar
      [FIX] web: correctly edit Many2ManyCheckboxes with 100+ values · 2cf5e8fb
      Aaron Bohy authored
      
      The Many2ManyCheckboxes widget displays all values that could be
      in the many2many relation, with a checkbox indicating whether each
      value is in the relation or not. It is designed to be set on fields
      where the comodel contains a few records (typically, we don't want
      to see dozens of checkboxes in the form view). This widget shouldn't
      be used on many2manys with a large comodel, as we have better tools
      to handle them (like a tree view).
      
      We deal with extreme cases (when the widget is, by mistake,  set on
      a field where the comodel is huge) by using the name_search limit
      of 100: at most 100 checkboxes are displayed.
      
      Before this commit, this extreme situation wasn't correctly handled.
      If there were in the relation records that weren't displayed
      (because they weren't inside the 100 limit), then, editing the value
      by (un)selecting a checkbox would automatically remove all non
      displayed values from the relation.
      
      This commit ensures that we keep in the relation all values that
      aren't displayed.
      
      Issue spotted when working on opw~2439041
      
      closes odoo/odoo#67373
      
      X-original-commit: fa324ef0
      Signed-off-by: default avatarGéry Debongnie (ged) <ged@openerp.com>
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      2cf5e8fb
    • Martin Trigaux's avatar
      2daf3e6b
  22. Mar 04, 2021
  23. Feb 19, 2021
  24. Feb 26, 2021
  25. Feb 25, 2021
  26. Feb 15, 2021
  27. Feb 09, 2021
  28. Feb 05, 2021
  29. Jan 29, 2021
  30. Jan 24, 2021
  31. Jan 20, 2021
  32. Jan 18, 2021
  33. Jan 12, 2021
Loading