Skip to content
Snippets Groups Projects
  1. Jul 26, 2021
    • Xavier-Do's avatar
      [FIX] *: add explicit license to all manifest · 288595f5
      Xavier-Do authored
      
      The license is missing in most enterprise manifest so
      the decision was taken to make it explicit in all cases.
      When not defined, a warning will be triggered starting from
      14.0 when falling back on the default LGPL-3.
      
      closes odoo/odoo#74245
      
      Related: odoo/design-themes#48
      Related: odoo/enterprise#19862
      Signed-off-by: default avatarXavier Dollé (xdo) <xdo@odoo.com>
      288595f5
  2. Jul 12, 2021
  3. Jun 18, 2021
    • stefanorigano (SRI)'s avatar
      [IMP] web, *: wcag compliant contextual colors · e111cfd3
      stefanorigano (SRI) authored
      Overall colors review to achieve WACG standard compliance.
      https://www.w3.org/WAI/standards-guidelines/wcag/
      
      Current contextual colors work fine when used for backgrounds but fail
      WACG tests when are used for text.
      Unfortunately Bootstrap use the same palette in both scenarios without
      providing effective control over text colors.
      
      The 'text-emphasis-variant' mixin, indeed, allows to darken a color by a
      certain amount, but since the amount is not customizable per-color the
      final result is always either too dark or too light for colors that are
      not used as a reference.
      
      This commit will define a specif SCSS map called `$o-theme-text-colors`
      that mirrors the default '$theme-colors' structure and contain
      fine-tuned values to be used specifically for text.
      
      In order to keep the same classes names, we customize the default
      'text-emphasis-variant' mixin, instructing it to first look for our
      fine-tuned colors and eventually fallback to default.
      
      This commit will also adapt all the modules that use to hardcode text
      colors in SCSS rather than using default utility classes. We handle this
      using different approaches:
      
      - Use utility classes whenever is possible (eg. 'text-info')
      - If apply the class directly is not possible, '@extend' it in SCSS
      - If '@extend' is not ideal because of code complexity (eg. ':hover'
        interactions), use the new 'o-text-color([color name])' scss function.
      e111cfd3
  4. Mar 31, 2021
  5. Sep 01, 2020
  6. Jan 08, 2020
  7. Dec 05, 2019
    • Thibault Delavallée's avatar
      [REF] survey: on survey.user_input, rename some fields to ease understanding · 755ac5f3
      Thibault Delavallée authored
      PURPOSE
      
      As new features are about to land in survey, notably live interactions [1]
      and new survey building [2] performing a pre cleaning is necessary. In this
      PR we clean survey models by: removing unnecessary fields, cleaning some code
      and finally renaming models.
      
      SPECIFICATIONS: RENAME QUIZ_SCORE ON SURVEY.USER_INPUT
      
      On survey.user_input, quiz_score field to scoring_percentage
      
      ``quiz_score`` field name is related to the old "quiz" behavior of surveys
      that is replaced by certifications and scoring mechanisms. Let us propagate
      the renaming, beginning with a ``scoring_`` prefix.
      
      SPECIFICATIONS: RENAME QUIZZ_PASSED ON SURVEY.USER_INPUT
      
      on survey.user_input, rename quizz_passed field to scoring_success
      
      ``quizz_passed`` field name is related to the old "quiz" behavior of surveys
      that is replaced by certifications and scoring mechanisms. Let us propagate
      the renaming, beginning with a ``scoring_`` prefix.
      
      SPECIFICATIONS: RENAME TOKEN ON SURVEY.USER_INPUT
      
      on survey.user_input, rename token field to access_token
      
      Survey user input model holds two token field. One is used to distinguish
      a pool of attempts linked to a given invite: ``invite_token``. The other
      one is used to control access to a specific user input. It means that
      ``invite_token`` indicates a set of user inputs and each of them is accessed
      through its own ``token``. To be coherent with other naming in odoo this
      latter field is renamed to ``access_token``.
      
      LINKS
      
      [0] Related to Task ID 2061901 (survey models cleaning and preparation)
      [1] Task ID 1972640 (live interactions)
      [2] Task ID 2119587 (new frontend for building surveys)
      
      PR #40765
      755ac5f3
    • Thibault Delavallée's avatar
      [REF] survey: on survey.survey, rename some fields to ease understanding · 1e668940
      Thibault Delavallée authored
      PURPOSE
      
      As new features are about to land in survey, notably live interactions [1]
      and new survey building [2] performing a pre cleaning is necessary. In this
      PR we clean survey models by: removing unnecessary fields, cleaning some code
      and finally renaming models.
      
      SPECIFICATIONS: RENAME THANKS_YOU_MESSAGE ON SURVEY.SURVEY
      
      On survey.survey, rename thanks_you_message to description_done
      
      In this commit we rename thanks_you_message field. Indeed for certifications
      or recruitment form, "thank you" is not really the unique content you
      would get in a post-survey message. We therefore rename it to description_done
      to better indicate its use.
      
      SPECIFICATIONS: RENAME CERTIFICATE ON SURVEY.SURVEY
      
      On survey.survey, rename certificate field to certification
      
      All certification related fields on survey model begin with certification_ .
      Only the boolean one telling if a survey is a certification or not is called
      certificate. In order to ease grep and ordering it is renamed to certification.
      
      SPECIFICATIONS: RENAME PASSING_SCORE ON SURVEY.SURVEY
      
      on survey.survey, rename passing_score field to scoring_success_min
      
      ``passing_score`` field name is not really the best name we could find.
      Renaming the field using a ``scoring_`` prefix allow to know this field
      is linked to the scoring mechanism.
      
      LINKS
      
      [0] Related to Task ID 2061901 (survey models cleaning and preparation)
      [1] Task ID 1972640 (live interactions)
      [2] Task ID 2119587 (new frontend for building surveys)
      
      PR #40765
      1e668940
  8. Oct 07, 2019
  9. Oct 01, 2019
  10. Sep 29, 2019
  11. Sep 22, 2019
  12. Sep 15, 2019
  13. Sep 22, 2019
  14. Sep 15, 2019
  15. Sep 08, 2019
  16. Sep 01, 2019
  17. Aug 18, 2019
  18. Aug 13, 2019
  19. Sep 01, 2019
  20. Aug 28, 2019
  21. Aug 26, 2019
  22. Apr 23, 2019
  23. Apr 16, 2019
    • jbm-odoo's avatar
      [IMP] hr_skills*: Add certification and course in employee profile · 59e66117
      jbm-odoo authored
      
      When a employee succeed a course or a certification, a new line
      will be added in resumé of employee profile.
      
      + [FIX] hr_skills: remove sequence to sort resumé
      
      Actually, sorting a resumé doesn't work because we add new line for
      title in the array.
      
      With this commit, all sequence are removed. The resumé is sorted
      by date and skills are sorted by level.
      
      closes odoo/odoo#31764
      
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      59e66117
Loading