Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] date_range #956

Open
wants to merge 71 commits into
base: 18.0
Choose a base branch
from

Commits on Oct 15, 2024

  1. 9.0 add date range Sorrento Delivery

    * [ADD] Basic structure for the new date range module
    
    * [IMP] Add a basic description into the README
    
    * [IMP] Basic implementation
    
    * [IMP] First working implementation
    
    * [IMP] Improve datamodel
    
    * [ADD] Add basic tests for date.range
    
    * [PEP8]
    
    * [PYLINT]
    
    * [DEL] Remove unused code
    
    * [IMP] Remove unsused dependencies into the JS
    
    * [IMP] Better operator label for date range
    
    * [DEL] Remove unused file
    
    * [IMP] Better user experience by showing the select input only once empty
    
    * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters
    
    * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters
    
    * [FIX]Try to fix tests that fails only on travis by using postgresql 9.4
    
    * [FIX]Try with postgresql 9.2 since the daterange method has appeared in 9.2
    
    * [IMP] Add a limitation into the module description to warm about the minimal version of postgresql to use
    
    * [IMP]Add multi-company rules
    
    * [IMP]Remove unused files
    
    * [FIX] Add missing brackets into JS
    
    * [FIX] Overlap detection when company_id is False
    
    * [IMP] Add default order for date.range
    
    * [IMP] Add date range generator
    
    * [FIX] OE compatibility
    
    * [FIX] Travis
    
    * [IMP] Code cleanup and improves test coverage
    
    * [FIX] Add missing dependency on 'web'
    
    * [PYLINT] remove unused import
    
    * [FIX] Add missing copyright
    
    * [FIX] Limits are included into the range
    
    * [IMP][date_range] Security
    
    * [IMP] Improve module description
    
    * [IMP] Spelling
    lmignon authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    596ed29 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    457fb2c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2b9f5e View commit details
    Browse the repository at this point in the history
  4. [IMP] date_range: Several things

    * Improve 'name' for generator wizard
    
      ir.rule should be active by default
    * Don't auto-add '-' after prefix when generating date ranges via wizard
    * code fine tuning suggested by Sylvain Garancher
    alexis-via authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    d1f33fa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e2d0696 View commit details
    Browse the repository at this point in the history
  6. [MIG] date_range

    etobella authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    f14b54c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    22ed99d View commit details
    Browse the repository at this point in the history
  8. Fix unlink date range type.

    Fekete Mihai authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    7bc07dd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9cf91fe View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    89e2b47 View commit details
    Browse the repository at this point in the history
  11. [IMP] date_range: Pass integration tests

    If any module adds a required field on company, module fails. Executing it on
    post_install, there's no problem.
    pedrobaeza authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    9163da5 View commit details
    Browse the repository at this point in the history
  12. [12.0][MIG] date_range

    astirpe authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    34a037a View commit details
    Browse the repository at this point in the history
  13. eslint

    astirpe authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    ccab353 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    222226a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    bb6a62d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    90de5cb View commit details
    Browse the repository at this point in the history
  17. [FIX] black, isort, eslint

    lmignon authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    b6e4e7c View commit details
    Browse the repository at this point in the history
  18. [FIX] date_range: Disable external dependency check

    Pylint-odoo is not able to detect properly whitelisted odoo's dependencies if an isort configuration file is present into the directory. Therefore the check fails by complaining that the dateutil dependecy is not declared into the manifest. A fix could have been to declare the dependency into the manifest . Unfortunately, in this case, a warning will be issued by runbot complaining that the python external dependency dateutil should be replaced by it's PyPI package name. Unfortunalely, if we put the Pypi package name into the external dependencies, pylint fails again since it's not able to play with PyPI distribution names.
    The workaround is to temporarily disable this check into pylint. I every case, all the pre-commit files will be reset once pylint will be fixed
    lmignon authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    a1866f7 View commit details
    Browse the repository at this point in the history
  19. pre-commit update

    sbidoul authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    5324813 View commit details
    Browse the repository at this point in the history
  20. [FIX] date_range: Failed compute in required field

    We can't assign an empty recordset in a computed writable for a required field for
    triggering DB fault, as previously this we get an akward error no in current
    ORM status:
    
    ERROR: operator does not exist: integer = boolean
    LINE 12:                     AND dt.type_id=false;
                                               ^
    HINT:  No operator matches the given name and argument types. You might need to add explicit type casts.
    
    so let's simply trigger in this case the check of the company consistency, which is
    legit and the final expected result.
    
    I have added an extra test for testing the company consistency the other way around.
    pedrobaeza authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    11c393d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    9406f64 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d4614fa View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    6b22a7f View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    04d39e5 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    3214462 View commit details
    Browse the repository at this point in the history
  26. [FIX] date_range: make the range selector work

    Because ev.target.value is a string and the range ids are integers,
    comparison was always false, so the first range values were always used.
    nans authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    a8d3b16 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    9e42351 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    621d874 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    98bf3b0 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    b721abf View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    8d227a0 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    ba1dad1 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    7936fba View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    17d0cd7 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    837789f View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    570540d View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    a41a0e2 View commit details
    Browse the repository at this point in the history
  38. date_range: AGPL -> LGPL

    alexis-via authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c084284 View commit details
    Browse the repository at this point in the history
  39. [FIX] date_range: Allow select date_ranges on custom filters

    This commit solves the problems reported on Issue OCA#597
    CarlosRoca13 authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    a500d16 View commit details
    Browse the repository at this point in the history
  40. [FIX] Avoid redefinition of this.OPERATORS as a new object

    This causes problems with the inheritance of this.OPERATORS
    from other addons, if new operators are added
    
    Fixes OCA#722
    hugosantosred authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    7b8a489 View commit details
    Browse the repository at this point in the history
  41. [FIX] date_range: Use FIELD_TYPES from this, as is already set

    Use the FIELD_TYPES from CustomFilterItem parent class
    hugosantosred authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    fba7b2a View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    f086a5d View commit details
    Browse the repository at this point in the history
  43. Fixed pre-commit

    espo-tony authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    7c18dbd View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    0eb835b View commit details
    Browse the repository at this point in the history
  45. date_range: fix string

    alexis-via authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    8ad0b3f View commit details
    Browse the repository at this point in the history
  46. date_range: add search views for date.range and date.range.type

    use boolean_toggle for active field on tree views
    alexis-via authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    0f4638a View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    29d6bab View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    5fcd92b View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    d3ce926 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    4b3278d View commit details
    Browse the repository at this point in the history
  51. [UPD] Update date_range.pot

    oca-ci authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e3936ae View commit details
    Browse the repository at this point in the history
  52. [BOT] post-merge updates

    OCA-git-bot authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    d82324b View commit details
    Browse the repository at this point in the history
  53. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-ux-17.0/server-ux-17.0-date_range
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/
    weblate authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3062c03 View commit details
    Browse the repository at this point in the history
  54. Translated using Weblate (Italian)

    Currently translated at 100.0% (72 of 72 strings)
    
    Translation: server-ux-17.0/server-ux-17.0-date_range
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/it/
    mymage authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    156aac5 View commit details
    Browse the repository at this point in the history
  55. Translated using Weblate (French)

    Currently translated at 100.0% (72 of 72 strings)
    
    Translation: server-ux-17.0/server-ux-17.0-date_range
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/fr/
    vincent-hatakeyama authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    0a9b1b5 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    0653e72 View commit details
    Browse the repository at this point in the history
  57. [UPD] Update date_range.pot

    oca-ci authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    8a15a46 View commit details
    Browse the repository at this point in the history
  58. [BOT] post-merge updates

    OCA-git-bot authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e26175d View commit details
    Browse the repository at this point in the history
  59. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-ux-17.0/server-ux-17.0-date_range
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/
    weblate authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    7e91cae View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    55a9d84 View commit details
    Browse the repository at this point in the history
  61. Translated using Weblate (Swedish)

    Currently translated at 100.0% (71 of 71 strings)
    
    Translation: server-ux-17.0/server-ux-17.0-date_range
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/sv/
    jakobkrabbe authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    5f69517 View commit details
    Browse the repository at this point in the history
  62. [BOT] post-merge updates

    OCA-git-bot authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    8c71818 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    81bb605 View commit details
    Browse the repository at this point in the history
  64. [BOT] post-merge updates

    OCA-git-bot authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    7f3a33f View commit details
    Browse the repository at this point in the history
  65. Translated using Weblate (Chinese (Simplified) (zh_CN))

    Currently translated at 100.0% (71 of 71 strings)
    
    Translation: server-ux-17.0/server-ux-17.0-date_range
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/zh_CN/
    xtanuiha authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    bbb57f2 View commit details
    Browse the repository at this point in the history
  66. Translated using Weblate (Italian)

    Currently translated at 100.0% (71 of 71 strings)
    
    Translation: server-ux-17.0/server-ux-17.0-date_range
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/it/
    mymage authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    05a3b85 View commit details
    Browse the repository at this point in the history
  67. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (71 of 71 strings)
    
    Translation: server-ux-17.0/server-ux-17.0-date_range
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range/es_AR/
    ibuioli authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    b9ee1c3 View commit details
    Browse the repository at this point in the history
  68. date_range: fix for cases when domain is not initialized

    For example during Odoo Studio editing the DomainSelector is not initialized
    before TreeEditor, which causes `env.domain` to be undefined
    henrybackman authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    ce0bbf1 View commit details
    Browse the repository at this point in the history
  69. [BOT] post-merge updates

    OCA-git-bot authored and BertVGroenendael committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c219089 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    a399fe7 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    e10a8d6 View commit details
    Browse the repository at this point in the history