Skip to content
Snippets Groups Projects
  1. Nov 22, 2016
    • stefanorigano's avatar
      [REF] website: refactor parallax snippet · d6cf236b
      stefanorigano authored
      This commit is a refactoring of the 's_parallax' snippet. Note that it
      is compatible with previous parallax snippet (old snippets are just
      transformed into the brand new one on page load). Note that scroll
      speed are changed by this implementation though.
      
      This solves several issues:
      
      - Bg image went easily off of the frame if scroll speed was too fast
      
      - The 'scroll speed' effect was visually inconsistent across different
          devices.
      
      - If the Bg image was smaller than the frame (condition which occurs
          often in a responsive environment), then the image was totally
          offset.
      
      - Since the previous implementation use background-position property
          to perform the effect, It was not possible to define an image
          focus point.
      
      This implementation solves the previous issues introducing a safe-area
      that limit the effect range. It's calculated dynamically, according to
      the current screen size and the 'speed' option.
      
      The effect if now achieved thanks to the translation of a DOM element
      instead of background-position changes. This allows to solve the last
      mentionned problem and improve performance.
      
      The implementation rely on the new animation methods of the snippets
      Animation class.
      As this use the "requestAnimationFrame" function, the snippet knows
      the right time to repaint itself, instead of using the "scroll" event
      which is triggered too many times and thus occurs between painting
      frames. This change greatly improved performances (CPU/painting usage
      many times smaller).
      d6cf236b
    • qsm-odoo's avatar
      [IMP] website: allow better animations thanks to requestAnimationFrame · 0e08e653
      qsm-odoo authored
      This commit extends the behavior of the Animation class of the
      "web_editor.snippets.animation" module.
      
      Now, all animations can easily define an animation algo update without
      much caring about performances. All that must be done is:
      
      * If the "start"/"stop" method is/are defined, do not forget to call
      the _super parent method (which will now initializes the animation
      components).
      
      * Define particulary-named method in your Animation class extension.
      See in-code comment of the _prepareComponents method.
      
      This extension should be used to define all animations. For example the
      use of $(window).scroll(function () { /* do stuff */ }) is now the same
      as defining the function with on_scroll: function () { /* do stuff */ }
      except that the later one will be more efficient, smoother and allow
      you to not care about throttling / event binding/unbinding / ...
      0e08e653
    • Fabrice Henrion's avatar
      [FIX] grammar · 7594ed7c
      Fabrice Henrion authored
      Closes #14336
      Unverified
      7594ed7c
    • Fabrice Henrion's avatar
      [IMP] account_cancel: term consistency · 8c764ad0
      Fabrice Henrion authored
      Unverified
      8c764ad0
    • Fabien Pinckaers's avatar
      fbfabf60
    • Jigar Patel's avatar
    • kso's avatar
      [IMP] mail: Add 'Create and Edit' on channel followers invite wizard · 582dff36
      kso authored
      As there is no reason to remove it each 2 saas, there's also no reason to put it back alternatively.
      582dff36
  2. Nov 21, 2016
  3. Nov 18, 2016
  4. Nov 17, 2016
    • Christophe Simonis's avatar
      [FIX] project: correct tour (bis) · f05e8655
      Christophe Simonis authored
      Automatic tour should not open the kanban record directly in edit mode.
      This "edit" link wasn't working and has been fixed by 2e0a3000.
      f05e8655
    • Denis Ledoux's avatar
      [FIX] base: unique bank account number constraint too restrictive · 4769ed4e
      Denis Ledoux authored
      There is a multi-company record rule on `res.partner.bank`,
      meaning you cannot see the bank accounts of other companies.
      
      Making a constraint on `sanitized_acc_number` alone prevent
      to create a same bank account into different companies,
      while you cannot see this bank account from the other
      companies.
      
      In this case, the user tries to import its bank statement,
      and it contains a bank account which already exists
      in the database but for another company than the one
      he is currently importing the statement, and,
       - it cannot find it because of the multi-company rule,
       - it cannot create it because of the constraint
      
      The constraint must take into account the company
      
      opw-690969
      4769ed4e
    • Denis Ledoux's avatar
      [FIX] website_crm_partner_assign: onchange_assign_id new API conversion oversight · de956575
      Denis Ledoux authored
      You are not supposed to write anything in an onchange,
      the result of the onchange must be assigned in the given fields
      of `self`
      
      This is an oversight during the migration to the new api of the module
      in the below revision:
      053982f4
      
      opw-694053
      de956575
Loading