Skip to content
Snippets Groups Projects
  1. Mar 18, 2022
  2. Mar 17, 2022
  3. Mar 16, 2022
    • Benoit Socias's avatar
      [FIX] web_editor: remove custom gradient button from colors inventory · 3cf94161
      Benoit Socias authored
      Since [1] when resetting the background color of the header, the footer
      or the copyright, the 'menu-custom' property is saved as the 'false'
      string.
      There is no visual effect of this problem, but in case that property is
      used in an SCSS `color-yiq` function call, it will trigger an error.
      
      This commit solves this by removing the root cause of this 'false'
      string: during the initialisation of color palettes a list of named
      colors is built by browsing the color buttons and associating their
      data-color attribute to their background-color, except for buttons
      containing a gradient color.
      Unfortunately this inventory also looked at the "Custom" gradient
      button: this button has no background color (and was thus not detected
      as being a gradient and therefore not excluded from the inventory) and
      it has data-color="false". It therefore introduced a mapping between ""
      and "false" - thus making the reset operation's empty string mapped to
      the "false" string. This commit removes that button from the named
      colors inventory.
      
      Steps to reproduce:
      - select the header
      - open the "Colors" palette
      - click on the None button (the trashcan icon)
      => the customization properties attachment contained a line
      ```
      'menu-custom': 'false',
      ```
      
      [1]: https://github.com/odoo/odoo/commit/a48a30f954afcb6ff3a59c4f32b05fd0c2cfcd2b
      
      
      
      task-2633169
      
      closes odoo/odoo#86548
      
      X-original-commit: 2f28c37f
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      3cf94161
    • Thibault Delavallée's avatar
      [REV] account: remove mail performance tests · 76b8d8f5
      Thibault Delavallée authored
      
      Query counter tests related to account composer are actually dependent on
      l10n due to extra queries, related to account.move fields and/or COA
      specific code. Moreover some COA might skip or delay the sending, leading to
      emails not being sent.
      
      Purpose would be to run those tests only with generic_coa. Those tests will
      be moved and improved soon, removing it currently to avoid frictions with
      L10N builds.
      
      This reverts odoo/odoo@d0e0db3b8eee381def04442ddaecfb82ff9859cc
      
      closes odoo/odoo#86540
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      76b8d8f5
    • Brieuc-brd's avatar
      [REF] mail: `Chatter`, review and simplify scss · 49f8c8c8
      Brieuc-brd authored
      
      Part of the overall v16 SCSS optimization/restyle, task-2704984
      
      task-2781992
      
      closes odoo/odoo#86279
      
      Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
      49f8c8c8
    • Brieuc-brd's avatar
      [REF] mail: `ChatWindowManager`, review and simplify scss · fc23c3f6
      Brieuc-brd authored
      
      Part of the overall v16 SCSS optimization/restyle, task-2704984
      
      task-2781992
      
      closes odoo/odoo#86265
      
      Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
      fc23c3f6
    • Brieuc-brd's avatar
      [REF] mail: `ChannelMemberList`, review and simplify scss · 4665ef1d
      Brieuc-brd authored
      
      Part of the overall v16 SCSS optimization/restyle, task-2704984
      
      task-2781992
      
      closes odoo/odoo#86173
      
      Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
      4665ef1d
Loading