Skip to content
Snippets Groups Projects
  1. May 25, 2023
  2. Jun 22, 2022
  3. Apr 19, 2022
    • Thibault Delavallée's avatar
      [FW][IMP] test_mail: test gateway with multiple references · 0a340d98
      Thibault Delavallée authored
      Purpose is to test behavior when having multiple references in mail headers.
      We have to check that parent_id is correctly taken (as it impacts internal
      flag), and that flattening is performance when posting the message (always
      attaching to the thread first message being the default behavior).
      
      Note that tests highlighted that flattening is currently a bit broken as it
      does not go up until the first ancestor, which is the expected behavior for
      business documents having ``_mail_flat_thread``. Next commit will fix that.
      
      Task-2822652 (Mail: fix parent message fetch / flattening)
      Task-2643114 (Mail: Message-Id in references to ease thread formation)
      
      X-original-commit: odoo/odoo@9300fcc5ed95d4e4640b004a19baeabf220a0c7a
      Part-of: odoo/odoo#89058
      0a340d98
  4. Sep 13, 2021
  5. Apr 22, 2020
    • Thibault Delavallée's avatar
      [REF] test_mail: rename test models to ease understanding · ba068ee7
      Thibault Delavallée authored
      PURPOSE
      
      Have a cleaner test_mail addons
      
      SPECIFICATIONS
      
      Keep only mail-related tests, move odoobot in test mail full, send "update
      notification" tests in mail (specific to mail). Merge some test files to
      lessen number of files, perform light file renaming.
      
      Split test mail models file to prepare some cleaning in those models and tests.
      
      LINKS
      
      Prepares Task ID 2238597 (clean notification models)
      Prepares Task ID 2083854 (improve mass mailing technical flows)
      PR #49891
      ba068ee7
  6. Mar 20, 2020
    • Victor Feyens's avatar
      [IMP] *: declare ir.rule in noupdate · a3ded904
      Victor Feyens authored
      ir.rule are default values but can be customized based on the
      company's policy and needs.
      This is typically a record that is in noupdate as should be
      customization-friendly.
      a3ded904
  7. Feb 05, 2020
  8. Nov 19, 2019
  9. May 29, 2019
  10. Mar 28, 2019
    • XavierDo's avatar
      [IMP] mail, test_mail, *: add new email.cc.mixin on main models · fbafbf22
      XavierDo authored
      *: crm, project, maintenance, hr_recruitment
      
      When a record is created from an email, cc can be lost. This commit
      proposes a new mixin to keep cc on the record and allows to create
      partner for each of them when sending a message from the chatter.
      
      The mixin is added on the mail recors that can be created from mail.alias:
      
      document
      helpdesk.ticket
      mrp.eco
      quality.alert
      hr.applicant
      crm.lead
      project.task
      mail.channel
      maintenance.equipment
      
      Task: 1925001
      fbafbf22
  11. Apr 26, 2019
    • Thibault Delavallée's avatar
      [IMP] test_mail: add tests for mail gateway and perform light cleaning · e8718922
      Thibault Delavallée authored
      This commit add some tests related to the mail gateway: more bounce management
      tests and some additional thread formation tests. Some test asserts about
      bounce / blacklist management are commented as they are not completely working
      currently. This will be improved in master soon.
      
      Some cleaning in also done in all mail gateway tests. Notably some call to
      tool methods are cleaned / simplified, duplicate tests are removed. Some
      low-level checks are removed.
      
      A new test model is added for mail gateway: mail.test.gateway. It is a
      chatter model with blacklist enabled on it. It allows to tests the
      various blacklist-related overrides and features as well as all basic
      mail gateway features.
      
      Sub-part of task 1853147 (pre-cleaning before implementing mail gateway
      improvements)
      Linked to PR #32974
      e8718922
  12. Nov 29, 2017
    • Thibault Delavallée's avatar
      [MOV] (test_)mail: move tests into their dedicated module · d040bfde
      Thibault Delavallée authored
      Purpose: avoid having useless tables for test models in a
      production environment.
      d040bfde
    • Thibault Delavallée's avatar
      [SPLIT] test_performance: split between base and mail performance tests · 1cc1ef50
      Thibault Delavallée authored
      Test performance will now hold the base class for performance tests as
      well as tests related to the ORM, depending only on base. A new module
      test_mail is introduced at this commit that contains performance tests
      related to mail module. This commit contains only code move and should
      not impact anything.
      
      Future commits will move mail tests into test_mail so that all mail
      related tests are located in the same optional module. This allows
      notably to avoid creating a lot of unnecessary tables when installing
      mail module on production databases.
      1cc1ef50
Loading