Skip to content
Snippets Groups Projects
  1. Jul 25, 2018
  2. Jul 24, 2018
    • Shubham Johar's avatar
      [IMP] mail: Dialog confirmation on channel administrator unsubscribe · 64dc1de7
      Shubham Johar authored
      Before this commit, the administrator of a channel may easily unsubscribe
      by accident from the channel.
      
      With this commit, there is a confirmation dialog for the administrator of
      the channel when he leaves it. This should prevent most accidental leaves
      from the administrator.
      
      Task-ID 1835641
      64dc1de7
    • Sébastien Theys's avatar
      [FIX] l10n_in_sale: remove deleted file from manifest · 424d9b01
      Sébastien Theys authored
      The file report_invoice_view.xml was deleted in the commit 762adede, but I forgot to remove it from the manifest.
      
      This commit fixes it.
      
      Task: 53996
      PR #25209
      424d9b01
    • Cédric Snauwaert's avatar
      [ADD] l10n_de: din5008 type B report · 3ff5fea9
      Cédric Snauwaert authored
      Specific report template used in Germany. Add a new report layout as well as
      a new paperformat.
      
      Was part of task: 35289
      Was part of PR #25472
      3ff5fea9
    • Cédric Snauwaert's avatar
      [REF] report, *: defines address area in external layout templates · c71da7db
      Cédric Snauwaert authored
          This is needed because some reports we want to add later on, need to have
          the address field on the left or following a given format.
      
          Hence we moved the address div from each existing report on to the main report
          template itself, Since some reports uses up until 3 addresses, we have defined
          an area for the main address that each report can set (address used on the
          envelope's window for sending). The any other extra address, or additional
          information should be defined in the 'information_block' div
      
      Was part of task: 35289
      Was part of PR #25472
      c71da7db
    • Raphael Collet's avatar
      [FIX] models: make read_group() call name_get() on demand only · 0ab6845e
      Raphael Collet authored
      This improves the performance of code using read_group() without actually using
      the display names of the result.  It also optimizes name_search().
      0ab6845e
    • Raphael Collet's avatar
      [FIX] models: inverse fields in dependency order · fdeeedc2
      Raphael Collet authored
      The result of inversing several fields on a record is non-deterministic if one
      of those fields depend on another one.
      fdeeedc2
    • Raphael Collet's avatar
    • Raphael Collet's avatar
      [FIX] base: test on copy · 7d667eb5
      Raphael Collet authored
      7d667eb5
    • Raphael Collet's avatar
      e9fc0e2b
    • Raphael Collet's avatar
      [REF] models: import records in batch · d5b687a4
      Raphael Collet authored
      Create new methods on `BaseModel` to create records with given xml ids in
      batch.  Those methods replace the methods `_update` and `_update_dummy` of
      model 'ir.model.data', which are now deprecated.
      
      Adapt XML and CSV import code to create records in batch.
      d5b687a4
    • Raphael Collet's avatar
      [REF] *: adapt `create` to work in batch · 896e36ed
      Raphael Collet authored
      896e36ed
    • Raphael Collet's avatar
      [REF] models: make `create` work in batch · b1e83fd7
      Raphael Collet authored
      Add a decorator `model_create_multi` to indicate whether a `create` method is
      implemented to work in batch.
      b1e83fd7
    • Thibault Delavallée's avatar
      [MERGE][REF] mail, various: make templates great and bioutifoul again · 79a2da0b
      Thibault Delavallée authored
      In this commit we improve templates used in nearly all odoo addons. Purpose
      of this commit is to have templates that embed or use standard Odoo email
      layouts to make them look modern and have a common style across all emails.
      
      Main guidelines
      
       * better use of div / p / br to try to lessen layout issues, especially
         when updating templates using the editor;
       * correctly sequence the templates fields definition;
       * correctly set templates values notably auto_delete and user_signature
         fields to avoid confusion;
       * correctly layout the email content using light notification email. It
         can either propagate the layout choice through various send mail methods
         or directly embed the styling in the templates for more technical or
         complex templates;
       * use email_formatted computed field when possible to avoid having hand-made
         from / to addresses;
       * fix various typos and improve subjects when necessary;
      
      Content of emails is not necessarily updated as the purpose of this task is
      about styling, not content itself.
      
      This merge also contains some additional code allowing to layout email sent
      through the send_mail of mail.template and the send_mail of survey.compose.
      message. It allows to strip the layouting part of the email and keep only the
      content in the template body. Some technical templates keep the full layout
      to keep the possibility of easily send them through various pieces of code.
      
      This merge is linked to main task 1868112 and closes main PR #25889. It is the
      summary and review of several tasks and several PRs:
      
        * task ID 1843361 and closes PR #25287
        * task ID 1843171 and closes PR #25293
        * task ID 1843395 and closes PR #25294
        * task ID 1843122 and closes PR #25295
        * task ID 1843360 and closes PR #25299
        * task ID 1843224 and closes PR #25313
        * task ID 1843151 and closes PR #25346
        * task ID 1843376 and closes PR #25349
        * task ID 1841503 and closes PR #25388
        * task ID 1843136 and closes PR #25412
      
      Thanks to all contributors and testers for this task !
      79a2da0b
    • Mitali Patel's avatar
      [IMP] website_slides: make templates more modern and updated with Odoo guidelines · 6970cd0e
      Mitali Patel authored
      In this commit we improve templates used in website_slides. Purpose of this commit
      is to have templates that embed or use standard Odoo email layouts to make
      them look modern and have a common style across all emails.
      
      Main guidelines
      
       * better use of div / p / br to try to lessen layout issues, especially
         when updating templates using the editor;
       * correctly sequence the templates fields definition;
       * correctly set templates values notably auto_delete and user_signature
         fields to avoid confusion;
       * correctly layout the email content using light notification email. It
         can either propagate the layout choice through various send mail methods
         or directly embed the styling in the templates for more technical or
         complex templates;
       * use email_formatted computed field when possible to avoid having hand-made
         from / to addresses;
       * fix various typos and improve subjects when necessary;
      
      Content of emails is not necessarily updated as the purpose of this task is
      about styling, not content itself.
      
      This commit is linked to task ID 1843376 (and 1868112) and closes PR #25349
      (and #25889).
      6970cd0e
    • Nimesh Jethva's avatar
      [IMP] website_sale: make templates more modern and updated with Odoo guidelines · 478f7e22
      Nimesh Jethva authored
      In this commit we improve templates used in website_sale. Purpose of this commit
      is to have templates that embed or use standard Odoo email layouts to make
      them look modern and have a common style across all emails.
      
      Main guidelines
      
       * better use of div / p / br to try to lessen layout issues, especially
         when updating templates using the editor;
       * correctly sequence the templates fields definition;
       * correctly set templates values notably auto_delete and user_signature
         fields to avoid confusion;
       * correctly layout the email content using light notification email. It
         can either propagate the layout choice through various send mail methods
         or directly embed the styling in the templates for more technical or
         complex templates;
       * use email_formatted computed field when possible to avoid having hand-made
         from / to addresses;
       * fix various typos and improve subjects when necessary;
      
      Content of emails is not necessarily updated as the purpose of this task is
      about styling, not content itself.
      
      This commit is linked to task ID 1843171 (and 1868112) and to PR #25293
      (and #25889).
      478f7e22
    • Nimesh Jethva's avatar
      [REM] website_quote: remove unnecessary and unused template and settings · 03142cbb
      Nimesh Jethva authored
      Website quote gave the possibility to define an email template to use
      when sending a quotation / sale order by email. This was done at a time
      where doing correct templates in sale was difficult to do / implement.
      Now send by email template is completely inside sale module and should
      cover all use cases.
      
      Having a settings to customize it is not considered as necessary as it
      can be customized easily.
      
      This commit is linked to task ID 1843171 (and 1868112) and to PR #25293
      (and #25889).
      03142cbb
    • Mitali Patel's avatar
      [IMP] website_mail_channel: make templates more modern and updated with Odoo guidelines · 8508c7c3
      Mitali Patel authored
      In this commit we improve templates used in website_mail_channel. Purpose of
      this commit is to have templates that embed or use standard Odoo email layouts
      to make them look modern and have a common style across all emails.
      
      Main guidelines
      
       * better use of div / p / br to try to lessen layout issues, especially
         when updating templates using the editor;
       * correctly sequence the templates fields definition;
       * correctly set templates values notably auto_delete and user_signature
         fields to avoid confusion;
       * correctly layout the email content using light notification email. It
         can either propagate the layout choice through various send mail methods
         or directly embed the styling in the templates for more technical or
         complex templates;
       * use email_formatted computed field when possible to avoid having hand-made
         from / to addresses;
       * fix various typos and improve subjects when necessary;
      
      Content of emails is not necessarily updated as the purpose of this task is
      about styling, not content itself.
      
      This commit is linked to task ID 1843361 (and 1868112) and to PR #25287
      (and #25889).
      8508c7c3
    • Haresh Kansara's avatar
      [IMP] website_forum: make templates more modern and updated with Odoo guidelines · 9c31f3d8
      Haresh Kansara authored
      In this commit we improve templates used in website_forum. Purpose of this
      commit is to have templates that embed or use standard Odoo email layouts to
      make them look modern and have a common style across all emails.
      
      Main guidelines
      
       * better use of div / p / br to try to lessen layout issues, especially
         when updating templates using the editor;
       * correctly sequence the templates fields definition;
       * correctly set templates values notably auto_delete and user_signature
         fields to avoid confusion;
       * correctly layout the email content using light notification email. It
         can either propagate the layout choice through various send mail methods
         or directly embed the styling in the templates for more technical or
         complex templates;
       * use email_formatted computed field when possible to avoid having hand-made
         from / to addresses;
       * fix various typos and improve subjects when necessary;
      
      Content of emails is not necessarily updated as the purpose of this task is
      about styling, not content itself.
      
      This commit is linked to task ID 1843224 (and 1868112) and to PR #25313
      (and #25889).
      9c31f3d8
    • Kirti Choudhary's avatar
      [IMP] website_crm_partner_assign: make templates more modern and updated with Odoo guidelines · 711a8a82
      Kirti Choudhary authored
      In this commit we improve templates used in website_crm_partner_assign.
      Purpose of this commit is to have templates that embed or use standard Odoo
      email layouts to make them look modern and have a common style across all
      emails.
      
      Main guidelines
      
       * better use of div / p / br to try to lessen layout issues, especially
         when updating templates using the editor;
       * correctly sequence the templates fields definition;
       * correctly set templates values notably auto_delete and user_signature
         fields to avoid confusion;
       * correctly layout the email content using light notification email. It
         can either propagate the layout choice through various send mail methods
         or directly embed the styling in the templates for more technical or
         complex templates;
       * use email_formatted computed field when possible to avoid having hand-made
         from / to addresses;
       * fix various typos and improve subjects when necessary;
      
      Content of emails is not necessarily updated as the purpose of this task is
      about styling, not content itself.
      
      This commit is linked to task ID 1841503 (and 1868112) and to PR #25388
      (and #25889).
      711a8a82
    • Haresh Kansara's avatar
      [IMP] survey: make templates more modern and updated with Odoo guidelines · cebf0c74
      Haresh Kansara authored
      In this commit we improve templates used in survey. Purpose of this commit
      is to have templates that embed or use standard Odoo email layouts to make
      them look modern and have a common style across all emails.
      
      Main guidelines
      
       * better use of div / p / br to try to lessen layout issues, especially
         when updating templates using the editor;
       * correctly sequence the templates fields definition;
       * correctly set templates values notably auto_delete and user_signature
         fields to avoid confusion;
       * correctly layout the email content using light notification email. It
         can either propagate the layout choice through various send mail methods
         or directly embed the styling in the templates for more technical or
         complex templates;
       * use email_formatted computed field when possible to avoid having hand-made
         from / to addresses;
       * fix various typos and improve subjects when necessary;
      
      Content of emails is not necessarily updated as the purpose of this task is
      about styling, not content itself.
      
      This commit is linked to task ID 1843224 (and 1868112) and to PR #25313
      (and #25889).
      cebf0c74
    • Haresh Kansara's avatar
      [IMP] survey: add optional encapsulation layout when sending survey emails · 158fa968
      Haresh Kansara authored
      This commit adds possibility to add a notification layout when sending
      an email in survey using their specific composer. Purpose of this task is to
      allow to send some technical template-based emails using the default
      notification layouts defined in mail. It allows to avoid redefining the whole
      layout in the template itself. This way email body content is simpler.
      
      This commit is linked to task ID 1843224 (and 1868112) and to PR #25313
      (and #25889).
      158fa968
    • Pratima Gupta's avatar
      [IMP] repair: make templates more modern and updated with Odoo guidelines · c1f250d5
      Pratima Gupta authored
      In this commit we improve templates used in repair. Purpose of this commit
      is to have templates that embed or use standard Odoo email layouts to make
      them look modern and have a common style across all emails.
      
      Main guidelines
      
       * better use of div / p / br to try to lessen layout issues, especially
         when updating templates using the editor;
       * correctly sequence the templates fields definition;
       * correctly set templates values notably auto_delete and user_signature
         fields to avoid confusion;
       * correctly layout the email content using light notification email. It
         can either propagate the layout choice through various send mail methods
         or directly embed the styling in the templates for more technical or
         complex templates;
       * use email_formatted computed field when possible to avoid having hand-made
         from / to addresses;
       * fix various typos and improve subjects when necessary;
      
      Content of emails is not necessarily updated as the purpose of this task is
      about styling, not content itself.
      
      This commit is linked to task ID 1843395 (and 1868112) and to PR #25294
      (and #25889).
      c1f250d5
Loading