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] base_exception: Migration to 18.0 #3075

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

Commits on Oct 15, 2024

  1. Configuration menu
    Copy the full SHA
    d5ac893 View commit details
    Browse the repository at this point in the history
  2. [FIX] base_exception: '_check_exception' is 'api.multi' since it's ca…

    …lled by constraint methods
    
    'detect_exception' can be called on an empty recordset.
    lmignon authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    09822d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    321175e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fed4de7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    72092e1 View commit details
    Browse the repository at this point in the history
  6. [IMP] Update base_exception views

    - Show menu only to Exception Rule Managers
    - Use sequence and active widgets on tree view
    - Updated form to use sheet
    ivantodorovich authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    a468eca View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9e79ad2 View commit details
    Browse the repository at this point in the history
  8. [FIX] base_exception: send the active_model in the conxtext when call…

    … the _popup_exceptions mehtod
    nicomacr authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    bebf695 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7970e85 View commit details
    Browse the repository at this point in the history
  10. [WIP] sale_exception_by_domain

    mourad-ehm authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    bd4c5cb View commit details
    Browse the repository at this point in the history
  11. FIX self[0] in _rule_group

    ivantodorovich authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3bb4cec View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1171e2d View commit details
    Browse the repository at this point in the history
  13. [IMP] Add convenience action to ignore exceptions on record

    [IMP] Computed exception descriptions field, to display better help messages
    
    [IMP] Exceptions shouldn't be copied
    Ivan Todorovich authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    ea7d29a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    86a11e9 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    53dc4d8 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1b051c9 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    cebaf15 View commit details
    Browse the repository at this point in the history
  18. [FIX] fix access right

    sebastienbeau authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    89a2c02 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    3c033da View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    6d370e4 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    04b873d View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    59828b7 View commit details
    Browse the repository at this point in the history
  23. [13.0][IMP] base_exception add blocking exceptions

    By default exceptions can be ignored by the click of a button.
    Users begin human they will just click that button what ever
    the internal rules.
    
    So this PR adds the option to set specific exceptions as blocking.
    
    When exceptions are detected if one of them is blocking, the user
    will not be able to ignore them.
    TDu authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    0b38102 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    174e443 View commit details
    Browse the repository at this point in the history
  25. [IMP] add method exception

    sebastienbeau authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c0262ce View commit details
    Browse the repository at this point in the history
  26. [REF] Refactor test

    use odoo-test-helper
    split test so one test do one thing
    sebastienbeau authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    67b51b9 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    7c5bfdb View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    34218f3 View commit details
    Browse the repository at this point in the history
  29. [FIX] base_exception: add _popup_exceptions deleted in migration

    This method is used by other modules that depend on 'base_exception'.
    MiquelRForgeFlow authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    8432c78 View commit details
    Browse the repository at this point in the history
  30. base_exception 15.0.1.0.1

    OCA-git-bot authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c120449 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    5a415c9 View commit details
    Browse the repository at this point in the history
  32. base_exception 15.0.1.0.2

    OCA-git-bot authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    da05c42 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    3238b20 View commit details
    Browse the repository at this point in the history
  34. base_exception 16.0.1.0.1

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

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-tools-16.0/server-tools-16.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/
    weblate authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    1eedcc8 View commit details
    Browse the repository at this point in the history
  36. Translated using Weblate (Italian)

    Currently translated at 16.6% (10 of 60 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/it/
    francesco-ooops authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    903d1b8 View commit details
    Browse the repository at this point in the history
  37. Translated using Weblate (Italian)

    Currently translated at 16.6% (10 of 60 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/it/
    francesco-ooops authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e38a2eb View commit details
    Browse the repository at this point in the history
  38. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (53 of 53 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/es_AR/
    ibuioli authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    f58a465 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    c3fa61e View commit details
    Browse the repository at this point in the history
  40. Translated using Weblate (Italian)

    Currently translated at 16.6% (10 of 60 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/it/
    mymage authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    1f638ef View commit details
    Browse the repository at this point in the history
  41. Translated using Weblate (Slovenian)

    Currently translated at 18.8% (10 of 53 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/sl/
    sysadminmatmoz authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3ef2ce4 View commit details
    Browse the repository at this point in the history
  42. Translated using Weblate (Italian)

    Currently translated at 16.6% (10 of 60 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/it/
    mymage authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3681677 View commit details
    Browse the repository at this point in the history
  43. Translated using Weblate (French)

    Currently translated at 86.7% (46 of 53 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/fr/
    glitchov authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    ea866b3 View commit details
    Browse the repository at this point in the history
  44. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-tools-16.0/server-tools-16.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/
    weblate authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3fff508 View commit details
    Browse the repository at this point in the history
  45. base_exception 16.0.1.0.2

    OCA-git-bot authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    2f71b3b View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    71fae07 View commit details
    Browse the repository at this point in the history
  47. [IMP] base_exception: Improves performances

    Before this change, the inverse relation from the exception to the records linked to the exception was read to determine if the rule should be added or removed from the rule detected for the current records. On large database with non blocking exceptions this lead to a performance issues since this issues a read of all the SO where the exception has been applied. With this change, we only read the information from the current records
    lmignon authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    4c1dfff View commit details
    Browse the repository at this point in the history
  48. [IMP] base_exception: Improves performances

    Keeps rule information into cache to avoid to always call the ORM for static informations. This is change allows a boost into the evaluation of exception rules by avoiding useless SQL queries to retrieve rules definitions
    lmignon authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    41ffb7d View commit details
    Browse the repository at this point in the history
  49. [IMP] base_exception: Improves performances

    Don't call the ORM to filter current recordset. Replace call to the orm by a call to the filtered_domain method.
    lmignon authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    f201f7e View commit details
    Browse the repository at this point in the history
  50. Translated using Weblate (Spanish)

    Currently translated at 100.0% (54 of 54 strings)
    
    Translation: server-tools-16.0/server-tools-16.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/es/
    Ivorra78 authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c896466 View commit details
    Browse the repository at this point in the history
  51. base_exception 16.0.2.0.0

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

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-tools-16.0/server-tools-16.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/
    weblate authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    d3a3d4c View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    fa2541b View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    d98347b View commit details
    Browse the repository at this point in the history
  55. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-tools-17.0/server-tools-17.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-base_exception/
    weblate authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    5c9f5b9 View commit details
    Browse the repository at this point in the history
  56. Update translation files

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

    Currently translated at 100.0% (51 of 51 strings)
    
    Translation: server-tools-17.0/server-tools-17.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-base_exception/it/
    mymage authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    1b3b75c View commit details
    Browse the repository at this point in the history
  58. Translated using Weblate (Spanish)

    Currently translated at 100.0% (51 of 51 strings)
    
    Translation: server-tools-17.0/server-tools-17.0-base_exception
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-base_exception/es/
    Ivorra78 authored and xaviedoanhduy committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    00f0d92 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    1801f21 View commit details
    Browse the repository at this point in the history