Skip to content
Snippets Groups Projects
  1. Jan 29, 2021
    • Christophe Monniez's avatar
      [FIX] packaging: update rpm packaging for fedora 32 · 2d4c3834
      Christophe Monniez authored
      
      As Fedora 32 was the current release when Odoo 14.0 was released, this
      should be the supported version.
      
      Also, a few  old libs were still in mentioned in the packaging files.
      They flew under the radar because they never broke the packaging.
      This is not the case anymore, those libs disappeared from the Fedora
      repos.
      
      It seems that pyparsing is not used anymore since 5a1c06a1 and thus can
      be safely removed from `requirements.txt` too.
      
      pychart is not used anymore since 3425752e.
      
      While at it, remove mix of tabs and spaces in package.dffedora, also add
      missing packages to avoid installation at test time.
      
      Now that I started down the slippery slope, also removed some `-dev`
      packages in package.dfsrc as wheel's are available.
      
      Finally, the rpm install script now detects the python ABI version in
      order to avoid update this file at each ABI change in Fedora.
      
      Fixes #63719
      
      closes odoo/odoo#65288
      
      X-original-commit: a8deb1dd
      Signed-off-by: default avatarChristophe Monniez (moc) <moc@odoo.com>
      2d4c3834
  2. Jan 26, 2021
  3. Feb 01, 2021
  4. Jan 30, 2021
  5. Jan 29, 2021
  6. Jan 28, 2021
  7. Jan 29, 2021
    • Martin Trigaux's avatar
      [FIX] web: translate remaining days · 51d173d4
      Martin Trigaux authored
      This is the javascript equivalent of `_("Foo %s" % bar)`
      https://www.odoo.com/documentation/master/reference/translations.html#variables
      
      
      
      Forward port of odoo/odoo#65004
      
      closes odoo/odoo#65245
      
      X-original-commit: a672b37240170b554bdd5993e4049cf5d5b040db
      Related: odoo/enterprise#16027
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      51d173d4
    • Mohammed Shekha's avatar
      [FIX] *: update tour sequence · 706929e1
      Mohammed Shekha authored
      
      with this commit we are updating sequence of onboarding tours
      
      task-2444153
      
      closes odoo/odoo#65244
      
      X-original-commit: a928beccb09f4db4234356e5e4f7bdf090ecc964
      Related: odoo/enterprise#16026
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      706929e1
    • Jérémy Hennecart's avatar
      [FIX] mass_mailing: adapt the year in the footer theme · 81377dab
      Jérémy Hennecart authored
      
      Replace the hardcoded year in the footer by the year dynamicaly
      fetch from the current date.
      
      task-2431308
      
      closes odoo/odoo#65243
      
      X-original-commit: f4663c69df03c9219cc613164b03e5860956b837
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      81377dab
    • Odoo's Mergebot's avatar
      [MERGE] crm: fix randomly failing tests about query counters and assign domain · 8e1bb0cd
      Odoo's Mergebot authored
      
      PURPOSE
      
      Fix recently added lead assignment tests, notably about query counters
      and random behavior of lead merge.
      
      SPECIFICATIONS
      
      Split performance tests from unit tests. Performance tests should be
      reproducible. Currently there are too much varying query counters.
      
      Fix lead merge process done during assign. As duplicate leads are merged
      final opportunity could not fit team domain anymore. This is a side effect
      of lead deduplication. In this case this is linked to priority field that is set
      to the value of the "final" opportunity, whatever the value of other leads
      merged into it. We think that priority is a field that should be managed
      more carefully. We choose to set it as the highest value found in leads
      merged.
      
      LINKS
      
      Task ID-2446759 (lead merge priority field management)
      Task ID-2446883 (query counters fix)
      PR odoo/odoo#65016
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      8e1bb0cd
    • Thibault Delavallée's avatar
      [IMP] crm: take highest priority when merging leads · 9d096592
      Thibault Delavallée authored
      When merging leads final priority is currently the one of the lead considered
      as the master lead. This is based on ``_sort_by_confidence_level`` who sorts
      on confidence but not on priority.
      
      We think final priority should be the highest one from merged leads. Indeed
      if a top priority lead is merged into a low priority one we should not loose
      the priority information. It is better to keep the final lead with an high
      priority and let salesmen move it downwards.
      
      LINKS
      
      Task ID-2446759 (lead merge priority field management)
      Task ID-2446883 (query counters fix)
      PR odoo/odoo#65016
      9d096592
    • Thibault Delavallée's avatar
      [REF] crm: improve code of value computation in _merge_opportunity · 3fff6f6a
      Thibault Delavallée authored
      Purpose of this commit is to make clearer how final opportunity value are
      computed or chosen when merging leads. Functionally nothing should change
      with this commit.
      
      LINKS
      
      Task ID-2446759 (lead merge priority field management)
      Task ID-2446883 (query counters fix)
      PR odoo/odoo#65016
      3fff6f6a
    • Thibault Delavallée's avatar
      [IMP] crm: add some test about _merge_opportunity internals · ec382636
      Thibault Delavallée authored
      Purpose is to test internals of lead merge method, notably about values
      of final opportunity. That way we ensure future changes will be reflected
      in tests and regressions will be avoided.
      
      LINKS
      
      Task ID-2446759 (lead merge priority field management)
      Task ID-2446883 (query counters fix)
      PR odoo/odoo#65016
      ec382636
    • Thibault Delavallée's avatar
      [IMP] crm: split results-oriented from perf-oriented assign tests · 79e3636b
      Thibault Delavallée authored
      Purpose is to split assign tests related to results (leads being assigned,
      with deduplication, compared to team and member domains) from tests related
      to performance (query counters).
      
      Assign process is a random process: randomizing teams leads to searching,
      assigning and de-duplicating leads in various order. As a lot of search
      are implied during assign process query counters may vary from run to run.
      "Heavy" performance test included here ranged from 6K to 6.3K queries. Either
      we set high counters maximum which makes those tests less useful. Either we
      avoid random if possible which is what we decided to do by setting the seed
      of random in tests.
      
      SPECIFICATIONS
      
      For results oriented tests remove query counters. Those tests should simply
      ensure results of assign process, notably that even with random choice between
      team and users we always have leads assigned with right domain and counts.
      
      For performance oriented tests using query counters set random seed to have
      a reproducible scenario and have less random in query counters.
      
      LINKS
      
      Task ID-2446759 (lead merge priority field management)
      Task ID-2446883 (query counters fix)
      PR odoo/odoo#65016
      79e3636b
  8. Jan 25, 2021
    • Xavier BOL (xbo)'s avatar
      [FIX] sale_timesheet: review views inherited from project.task model · b2d2cfba
      Xavier BOL (xbo) authored
      
      Before this commit, when the user with no access right to Timesheet App
      wants to see the tasks in a project and sale_timesheet module is
      installed, the user has a traceback saying remaining_hours field is not
      find in the parent view of
      `sale_timesheet.view_task_form2_inherit_sale_timesheet`.
      
      This traceback is raised because the
      `hr_timesheet.view_task_form2_inherited` is not used if the user has no
      access right to Timesheet App and then remaining_hours field is not
      defined for this user because this field is appeared in the view in
      hr_timesheet module.
      
      This commit revises the views inherited from the project.task model to
      give the user without access rights in Timesheet the possibility to see
      the tasks in any project he can see.
      
      opw-2429662
      
      closes odoo/odoo#65000
      
      X-original-commit: d6361403
      Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
      b2d2cfba
  9. Jan 28, 2021
Loading